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 ;
3738 wxWindow
*result
= 0 ;
3741 PyObject
*swig_obj
[1] ;
3743 if (!args
) SWIG_fail
;
3745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3746 if (!SWIG_IsOK(res1
)) {
3747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3749 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (wxWindow
*)(arg1
)->SetDefault();
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= wxPyMake_wxObject(result
, 0);
3765 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3766 PyObject
*resultobj
= 0;
3769 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= wxButton::GetDefaultSize();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3783 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
= 0;
3785 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3786 SwigValueWrapper
<wxVisualAttributes
> result
;
3789 PyObject
* obj0
= 0 ;
3790 char * kwnames
[] = {
3791 (char *) "variant", NULL
3794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3797 if (!SWIG_IsOK(ecode1
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3800 arg1
= static_cast< wxWindowVariant
>(val1
);
3803 if (!wxPyCheckForApp()) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= wxButton::GetClassDefaultAttributes(arg1
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3816 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3819 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3820 return SWIG_Py_Void();
3823 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3824 return SWIG_Python_InitShadowInstance(args
);
3827 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
= 0;
3829 wxWindow
*arg1
= (wxWindow
*) 0 ;
3830 int arg2
= (int) -1 ;
3831 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3832 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3833 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3834 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3835 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3836 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3837 long arg6
= (long) wxBU_AUTODRAW
;
3838 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3839 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3840 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3841 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3842 wxBitmapButton
*result
= 0 ;
3855 bool temp8
= false ;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3858 PyObject
* obj2
= 0 ;
3859 PyObject
* obj3
= 0 ;
3860 PyObject
* obj4
= 0 ;
3861 PyObject
* obj5
= 0 ;
3862 PyObject
* obj6
= 0 ;
3863 PyObject
* obj7
= 0 ;
3864 char * kwnames
[] = {
3865 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3876 if (!SWIG_IsOK(ecode2
)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3879 arg2
= static_cast< int >(val2
);
3882 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3883 if (!SWIG_IsOK(res3
)) {
3884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3889 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3904 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3905 if (!SWIG_IsOK(ecode6
)) {
3906 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3908 arg6
= static_cast< long >(val6
);
3911 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3912 if (!SWIG_IsOK(res7
)) {
3913 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3918 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3922 arg8
= wxString_in_helper(obj7
);
3923 if (arg8
== NULL
) SWIG_fail
;
3928 if (!wxPyCheckForApp()) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3949 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3950 PyObject
*resultobj
= 0;
3951 wxBitmapButton
*result
= 0 ;
3953 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3955 if (!wxPyCheckForApp()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (wxBitmapButton
*)new wxBitmapButton();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3968 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
= 0;
3970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3971 wxWindow
*arg2
= (wxWindow
*) 0 ;
3972 int arg3
= (int) -1 ;
3973 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3974 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3977 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3978 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3979 long arg7
= (long) wxBU_AUTODRAW
;
3980 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3981 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3982 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3983 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3999 bool temp9
= false ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4002 PyObject
* obj2
= 0 ;
4003 PyObject
* obj3
= 0 ;
4004 PyObject
* obj4
= 0 ;
4005 PyObject
* obj5
= 0 ;
4006 PyObject
* obj6
= 0 ;
4007 PyObject
* obj7
= 0 ;
4008 PyObject
* obj8
= 0 ;
4009 char * kwnames
[] = {
4010 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4015 if (!SWIG_IsOK(res1
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4018 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4020 if (!SWIG_IsOK(res2
)) {
4021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4026 if (!SWIG_IsOK(ecode3
)) {
4027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4029 arg3
= static_cast< int >(val3
);
4032 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4033 if (!SWIG_IsOK(res4
)) {
4034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4039 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4044 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4050 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4054 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4055 if (!SWIG_IsOK(ecode7
)) {
4056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4058 arg7
= static_cast< long >(val7
);
4061 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4062 if (!SWIG_IsOK(res8
)) {
4063 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4068 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4072 arg9
= wxString_in_helper(obj8
);
4073 if (arg9
== NULL
) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4100 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 PyObject
*resultobj
= 0;
4102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (arg1
)->GetBitmapLabel();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4128 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4134 PyObject
*swig_obj
[1] ;
4136 if (!args
) SWIG_fail
;
4138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4139 if (!SWIG_IsOK(res1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (arg1
)->GetBitmapDisabled();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (arg1
)->GetBitmapFocus();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4184 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4185 PyObject
*resultobj
= 0;
4186 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4190 PyObject
*swig_obj
[1] ;
4192 if (!args
) SWIG_fail
;
4194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4195 if (!SWIG_IsOK(res1
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4198 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (arg1
)->GetBitmapSelected();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4212 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4213 PyObject
*resultobj
= 0;
4214 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4218 PyObject
*swig_obj
[1] ;
4220 if (!args
) SWIG_fail
;
4222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4223 if (!SWIG_IsOK(res1
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4226 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (arg1
)->GetBitmapHover();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4240 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
= 0;
4242 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4243 wxBitmap
*arg2
= 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "bitmap", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4259 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4261 if (!SWIG_IsOK(res2
)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4267 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_Py_Void();
4281 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= 0;
4283 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4284 wxBitmap
*arg2
= 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "bitmap", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4300 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4302 if (!SWIG_IsOK(res2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4308 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4324 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4325 wxBitmap
*arg2
= 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "self",(char *) "bitmap", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4338 if (!SWIG_IsOK(res1
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4341 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4343 if (!SWIG_IsOK(res2
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_Py_Void();
4363 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
= 0;
4365 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4366 wxBitmap
*arg2
= 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 char * kwnames
[] = {
4374 (char *) "self",(char *) "bitmap", NULL
4377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4382 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4384 if (!SWIG_IsOK(res2
)) {
4385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4390 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_Py_Void();
4404 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= 0;
4406 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4407 wxBitmap
*arg2
= 0 ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 char * kwnames
[] = {
4415 (char *) "self",(char *) "hover", NULL
4418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4420 if (!SWIG_IsOK(res1
)) {
4421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4423 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4425 if (!SWIG_IsOK(res2
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4431 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= SWIG_Py_Void();
4445 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
= 0;
4447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4457 PyObject
* obj1
= 0 ;
4458 PyObject
* obj2
= 0 ;
4459 char * kwnames
[] = {
4460 (char *) "self",(char *) "x",(char *) "y", NULL
4463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4465 if (!SWIG_IsOK(res1
)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4468 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4470 if (!SWIG_IsOK(ecode2
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4473 arg2
= static_cast< int >(val2
);
4474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4475 if (!SWIG_IsOK(ecode3
)) {
4476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4478 arg3
= static_cast< int >(val3
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 (arg1
)->SetMargins(arg2
,arg3
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_Py_Void();
4492 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 PyObject
*resultobj
= 0;
4494 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4498 PyObject
*swig_obj
[1] ;
4500 if (!args
) SWIG_fail
;
4502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4503 if (!SWIG_IsOK(res1
)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4506 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= SWIG_From_int(static_cast< int >(result
));
4520 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4521 PyObject
*resultobj
= 0;
4522 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4526 PyObject
*swig_obj
[1] ;
4528 if (!args
) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4534 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_From_int(static_cast< int >(result
));
4548 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4551 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4552 return SWIG_Py_Void();
4555 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 return SWIG_Python_InitShadowInstance(args
);
4559 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4560 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4565 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4566 PyObject
*pyobj
= 0;
4570 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4572 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4579 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
= 0;
4581 wxWindow
*arg1
= (wxWindow
*) 0 ;
4582 int arg2
= (int) -1 ;
4583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4589 long arg6
= (long) 0 ;
4590 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4591 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4592 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4594 wxCheckBox
*result
= 0 ;
4599 bool temp3
= false ;
4606 bool temp8
= false ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 PyObject
* obj2
= 0 ;
4610 PyObject
* obj3
= 0 ;
4611 PyObject
* obj4
= 0 ;
4612 PyObject
* obj5
= 0 ;
4613 PyObject
* obj6
= 0 ;
4614 PyObject
* obj7
= 0 ;
4615 char * kwnames
[] = {
4616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4621 if (!SWIG_IsOK(res1
)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4627 if (!SWIG_IsOK(ecode2
)) {
4628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4630 arg2
= static_cast< int >(val2
);
4634 arg3
= wxString_in_helper(obj2
);
4635 if (arg3
== NULL
) SWIG_fail
;
4642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4652 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4653 if (!SWIG_IsOK(ecode6
)) {
4654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4656 arg6
= static_cast< long >(val6
);
4659 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4660 if (!SWIG_IsOK(res7
)) {
4661 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4666 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4670 arg8
= wxString_in_helper(obj7
);
4671 if (arg8
== NULL
) SWIG_fail
;
4676 if (!wxPyCheckForApp()) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4705 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxCheckBox
*result
= 0 ;
4709 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4711 if (!wxPyCheckForApp()) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (wxCheckBox
*)new wxCheckBox();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4724 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
= 0;
4726 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4727 wxWindow
*arg2
= (wxWindow
*) 0 ;
4728 int arg3
= (int) -1 ;
4729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4735 long arg7
= (long) 0 ;
4736 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4737 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4738 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4747 bool temp4
= false ;
4754 bool temp9
= false ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4758 PyObject
* obj3
= 0 ;
4759 PyObject
* obj4
= 0 ;
4760 PyObject
* obj5
= 0 ;
4761 PyObject
* obj6
= 0 ;
4762 PyObject
* obj7
= 0 ;
4763 PyObject
* obj8
= 0 ;
4764 char * kwnames
[] = {
4765 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4773 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4775 if (!SWIG_IsOK(res2
)) {
4776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4778 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4781 if (!SWIG_IsOK(ecode3
)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4784 arg3
= static_cast< int >(val3
);
4788 arg4
= wxString_in_helper(obj3
);
4789 if (arg4
== NULL
) SWIG_fail
;
4796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4806 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4807 if (!SWIG_IsOK(ecode7
)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4810 arg7
= static_cast< long >(val7
);
4813 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4814 if (!SWIG_IsOK(res8
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4820 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4824 arg9
= wxString_in_helper(obj8
);
4825 if (arg9
== NULL
) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4861 PyObject
*resultobj
= 0;
4862 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4866 PyObject
*swig_obj
[1] ;
4868 if (!args
) SWIG_fail
;
4870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4871 if (!SWIG_IsOK(res1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4874 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (bool)(arg1
)->GetValue();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4890 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4891 PyObject
*resultobj
= 0;
4892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4896 PyObject
*swig_obj
[1] ;
4898 if (!args
) SWIG_fail
;
4900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4901 if (!SWIG_IsOK(res1
)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4904 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (bool)(arg1
)->IsChecked();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4920 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= 0;
4922 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4929 PyObject
* obj1
= 0 ;
4930 char * kwnames
[] = {
4931 (char *) "self",(char *) "state", NULL
4934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4939 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4940 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4944 arg2
= static_cast< bool >(val2
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->SetValue(arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_Py_Void();
4958 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 PyObject
*resultobj
= 0;
4960 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4961 wxCheckBoxState result
;
4964 PyObject
*swig_obj
[1] ;
4966 if (!args
) SWIG_fail
;
4968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4969 if (!SWIG_IsOK(res1
)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4972 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_From_int(static_cast< int >(result
));
4986 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
= 0;
4988 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4989 wxCheckBoxState arg2
;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 char * kwnames
[] = {
4997 (char *) "self",(char *) "state", NULL
5000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5005 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5007 if (!SWIG_IsOK(ecode2
)) {
5008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5010 arg2
= static_cast< wxCheckBoxState
>(val2
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->Set3StateValue(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_Py_Void();
5024 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5025 PyObject
*resultobj
= 0;
5026 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5030 PyObject
*swig_obj
[1] ;
5032 if (!args
) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5038 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5054 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 PyObject
*resultobj
= 0;
5056 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5060 PyObject
*swig_obj
[1] ;
5062 if (!args
) SWIG_fail
;
5064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5065 if (!SWIG_IsOK(res1
)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5068 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5084 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
= 0;
5086 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5087 SwigValueWrapper
<wxVisualAttributes
> result
;
5090 PyObject
* obj0
= 0 ;
5091 char * kwnames
[] = {
5092 (char *) "variant", NULL
5095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5098 if (!SWIG_IsOK(ecode1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5101 arg1
= static_cast< wxWindowVariant
>(val1
);
5104 if (!wxPyCheckForApp()) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5117 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5120 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5121 return SWIG_Py_Void();
5124 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 return SWIG_Python_InitShadowInstance(args
);
5128 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5129 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5134 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5135 PyObject
*pyobj
= 0;
5139 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5141 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5148 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= 0;
5150 wxWindow
*arg1
= (wxWindow
*) 0 ;
5151 int arg2
= (int) -1 ;
5152 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5153 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5154 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5155 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5156 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5157 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5158 long arg6
= (long) 0 ;
5159 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5160 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5161 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5162 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5163 wxChoice
*result
= 0 ;
5170 bool temp5
= false ;
5175 bool temp8
= false ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 PyObject
* obj2
= 0 ;
5179 PyObject
* obj3
= 0 ;
5180 PyObject
* obj4
= 0 ;
5181 PyObject
* obj5
= 0 ;
5182 PyObject
* obj6
= 0 ;
5183 PyObject
* obj7
= 0 ;
5184 char * kwnames
[] = {
5185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5196 if (!SWIG_IsOK(ecode2
)) {
5197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5199 arg2
= static_cast< int >(val2
);
5204 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5210 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5215 if (! PySequence_Check(obj4
)) {
5216 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5219 arg5
= new wxArrayString
;
5221 int i
, len
=PySequence_Length(obj4
);
5222 for (i
=0; i
<len
; i
++) {
5223 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5224 wxString
* s
= wxString_in_helper(item
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5234 if (!SWIG_IsOK(ecode6
)) {
5235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5237 arg6
= static_cast< long >(val6
);
5240 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5241 if (!SWIG_IsOK(res7
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5247 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5251 arg8
= wxString_in_helper(obj7
);
5252 if (arg8
== NULL
) SWIG_fail
;
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5265 if (temp5
) delete arg5
;
5274 if (temp5
) delete arg5
;
5284 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 PyObject
*resultobj
= 0;
5286 wxChoice
*result
= 0 ;
5288 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5290 if (!wxPyCheckForApp()) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (wxChoice
*)new wxChoice();
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5303 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxChoice
*arg1
= (wxChoice
*) 0 ;
5306 wxWindow
*arg2
= (wxWindow
*) 0 ;
5307 int arg3
= (int) -1 ;
5308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5312 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5313 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5314 long arg7
= (long) 0 ;
5315 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5316 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5317 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5318 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5328 bool temp6
= false ;
5333 bool temp9
= false ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 PyObject
* obj2
= 0 ;
5337 PyObject
* obj3
= 0 ;
5338 PyObject
* obj4
= 0 ;
5339 PyObject
* obj5
= 0 ;
5340 PyObject
* obj6
= 0 ;
5341 PyObject
* obj7
= 0 ;
5342 PyObject
* obj8
= 0 ;
5343 char * kwnames
[] = {
5344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5349 if (!SWIG_IsOK(res1
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5352 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5354 if (!SWIG_IsOK(res2
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5360 if (!SWIG_IsOK(ecode3
)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5363 arg3
= static_cast< int >(val3
);
5368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5379 if (! PySequence_Check(obj5
)) {
5380 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5383 arg6
= new wxArrayString
;
5385 int i
, len
=PySequence_Length(obj5
);
5386 for (i
=0; i
<len
; i
++) {
5387 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5388 wxString
* s
= wxString_in_helper(item
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5397 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5398 if (!SWIG_IsOK(ecode7
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5401 arg7
= static_cast< long >(val7
);
5404 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5405 if (!SWIG_IsOK(res8
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5411 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5415 arg9
= wxString_in_helper(obj8
);
5416 if (arg9
== NULL
) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5430 if (temp6
) delete arg6
;
5439 if (temp6
) delete arg6
;
5449 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5450 PyObject
*resultobj
= 0;
5451 wxChoice
*arg1
= (wxChoice
*) 0 ;
5455 PyObject
*swig_obj
[1] ;
5457 if (!args
) SWIG_fail
;
5459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5460 if (!SWIG_IsOK(res1
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5463 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int(static_cast< int >(result
));
5477 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= 0;
5479 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5480 SwigValueWrapper
<wxVisualAttributes
> result
;
5483 PyObject
* obj0
= 0 ;
5484 char * kwnames
[] = {
5485 (char *) "variant", NULL
5488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5491 if (!SWIG_IsOK(ecode1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5494 arg1
= static_cast< wxWindowVariant
>(val1
);
5497 if (!wxPyCheckForApp()) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5510 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5513 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5514 return SWIG_Py_Void();
5517 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5518 return SWIG_Python_InitShadowInstance(args
);
5521 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5522 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5527 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5528 PyObject
*pyobj
= 0;
5532 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5534 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5541 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
= 0;
5543 wxWindow
*arg1
= (wxWindow
*) 0 ;
5544 int arg2
= (int) -1 ;
5545 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5546 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5551 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5552 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5553 long arg7
= (long) 0 ;
5554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5556 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5558 wxComboBox
*result
= 0 ;
5563 bool temp3
= false ;
5566 bool temp6
= false ;
5571 bool temp9
= false ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 PyObject
* obj2
= 0 ;
5575 PyObject
* obj3
= 0 ;
5576 PyObject
* obj4
= 0 ;
5577 PyObject
* obj5
= 0 ;
5578 PyObject
* obj6
= 0 ;
5579 PyObject
* obj7
= 0 ;
5580 PyObject
* obj8
= 0 ;
5581 char * kwnames
[] = {
5582 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5587 if (!SWIG_IsOK(res1
)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5593 if (!SWIG_IsOK(ecode2
)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5596 arg2
= static_cast< int >(val2
);
5600 arg3
= wxString_in_helper(obj2
);
5601 if (arg3
== NULL
) SWIG_fail
;
5608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5619 if (! PySequence_Check(obj5
)) {
5620 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5623 arg6
= new wxArrayString
;
5625 int i
, len
=PySequence_Length(obj5
);
5626 for (i
=0; i
<len
; i
++) {
5627 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5628 wxString
* s
= wxString_in_helper(item
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5637 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5638 if (!SWIG_IsOK(ecode7
)) {
5639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5641 arg7
= static_cast< long >(val7
);
5644 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5645 if (!SWIG_IsOK(res8
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5651 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5655 arg9
= wxString_in_helper(obj8
);
5656 if (arg9
== NULL
) SWIG_fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 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
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5673 if (temp6
) delete arg6
;
5686 if (temp6
) delete arg6
;
5696 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5697 PyObject
*resultobj
= 0;
5698 wxComboBox
*result
= 0 ;
5700 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5702 if (!wxPyCheckForApp()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (wxComboBox
*)new wxComboBox();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5715 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
= 0;
5717 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5718 wxWindow
*arg2
= (wxWindow
*) 0 ;
5719 int arg3
= (int) -1 ;
5720 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5722 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5723 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5724 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5725 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5726 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5727 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5728 long arg8
= (long) 0 ;
5729 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5730 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5731 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5732 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5740 bool temp4
= false ;
5743 bool temp7
= false ;
5748 bool temp10
= false ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5752 PyObject
* obj3
= 0 ;
5753 PyObject
* obj4
= 0 ;
5754 PyObject
* obj5
= 0 ;
5755 PyObject
* obj6
= 0 ;
5756 PyObject
* obj7
= 0 ;
5757 PyObject
* obj8
= 0 ;
5758 PyObject
* obj9
= 0 ;
5759 char * kwnames
[] = {
5760 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5768 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5770 if (!SWIG_IsOK(res2
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5776 if (!SWIG_IsOK(ecode3
)) {
5777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5779 arg3
= static_cast< int >(val3
);
5783 arg4
= wxString_in_helper(obj3
);
5784 if (arg4
== NULL
) SWIG_fail
;
5791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5802 if (! PySequence_Check(obj6
)) {
5803 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5806 arg7
= new wxArrayString
;
5808 int i
, len
=PySequence_Length(obj6
);
5809 for (i
=0; i
<len
; i
++) {
5810 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5811 wxString
* s
= wxString_in_helper(item
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5820 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5821 if (!SWIG_IsOK(ecode8
)) {
5822 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5824 arg8
= static_cast< long >(val8
);
5827 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5828 if (!SWIG_IsOK(res9
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5834 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5838 arg10
= wxString_in_helper(obj9
);
5839 if (arg10
== NULL
) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 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
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5857 if (temp7
) delete arg7
;
5870 if (temp7
) delete arg7
;
5880 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5881 PyObject
*resultobj
= 0;
5882 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5886 PyObject
*swig_obj
[1] ;
5888 if (!args
) SWIG_fail
;
5890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5891 if (!SWIG_IsOK(res1
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5894 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= ((wxComboBox
const *)arg1
)->GetValue();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5914 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
= 0;
5916 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5917 wxString
*arg2
= 0 ;
5920 bool temp2
= false ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 char * kwnames
[] = {
5924 (char *) "self",(char *) "value", NULL
5927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5929 if (!SWIG_IsOK(res1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5932 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5934 arg2
= wxString_in_helper(obj1
);
5935 if (arg2
== NULL
) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 (arg1
)->SetValue((wxString
const &)*arg2
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_Py_Void();
5959 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5960 PyObject
*resultobj
= 0;
5961 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5964 PyObject
*swig_obj
[1] ;
5966 if (!args
) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5972 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_Py_Void();
5986 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5987 PyObject
*resultobj
= 0;
5988 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5991 PyObject
*swig_obj
[1] ;
5993 if (!args
) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= SWIG_Py_Void();
6013 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6014 PyObject
*resultobj
= 0;
6015 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6018 PyObject
*swig_obj
[1] ;
6020 if (!args
) SWIG_fail
;
6022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6023 if (!SWIG_IsOK(res1
)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6026 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_Py_Void();
6040 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
= 0;
6042 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6049 PyObject
* obj1
= 0 ;
6050 char * kwnames
[] = {
6051 (char *) "self",(char *) "pos", NULL
6054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6056 if (!SWIG_IsOK(res1
)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6059 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6061 if (!SWIG_IsOK(ecode2
)) {
6062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6064 arg2
= static_cast< long >(val2
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->SetInsertionPoint(arg2
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_Py_Void();
6078 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6079 PyObject
*resultobj
= 0;
6080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6084 PyObject
*swig_obj
[1] ;
6086 if (!args
) SWIG_fail
;
6088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6089 if (!SWIG_IsOK(res1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6092 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_From_long(static_cast< long >(result
));
6106 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6107 PyObject
*resultobj
= 0;
6108 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6112 PyObject
*swig_obj
[1] ;
6114 if (!args
) SWIG_fail
;
6116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6117 if (!SWIG_IsOK(res1
)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6120 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_From_long(static_cast< long >(result
));
6134 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6139 wxString
*arg4
= 0 ;
6146 bool temp4
= false ;
6147 PyObject
* obj0
= 0 ;
6148 PyObject
* obj1
= 0 ;
6149 PyObject
* obj2
= 0 ;
6150 PyObject
* obj3
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6161 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6165 arg2
= static_cast< long >(val2
);
6166 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6167 if (!SWIG_IsOK(ecode3
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6170 arg3
= static_cast< long >(val3
);
6172 arg4
= wxString_in_helper(obj3
);
6173 if (arg4
== NULL
) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
= 0;
6199 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6210 PyObject
* obj2
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "self",(char *) "from",(char *) "to", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6220 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6222 if (!SWIG_IsOK(ecode2
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6225 arg2
= static_cast< long >(val2
);
6226 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6227 if (!SWIG_IsOK(ecode3
)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6230 arg3
= static_cast< long >(val3
);
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 (arg1
)->SetSelection(arg2
,arg3
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_Py_Void();
6244 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6245 PyObject
*resultobj
= 0;
6246 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6250 PyObject
*swig_obj
[1] ;
6252 if (!args
) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6258 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_From_int(static_cast< int >(result
));
6272 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
= 0;
6274 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6275 wxString
*arg2
= 0 ;
6279 bool temp2
= false ;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6282 char * kwnames
[] = {
6283 (char *) "self",(char *) "string", NULL
6286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6288 if (!SWIG_IsOK(res1
)) {
6289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6291 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6293 arg2
= wxString_in_helper(obj1
);
6294 if (arg2
== NULL
) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6320 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6330 char * kwnames
[] = {
6331 (char *) "self",(char *) "editable", NULL
6334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6336 if (!SWIG_IsOK(res1
)) {
6337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6339 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6341 if (!SWIG_IsOK(ecode2
)) {
6342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6344 arg2
= static_cast< bool >(val2
);
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->SetEditable(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6359 PyObject
*resultobj
= 0;
6360 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6363 PyObject
*swig_obj
[1] ;
6365 if (!args
) SWIG_fail
;
6367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6368 if (!SWIG_IsOK(res1
)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6371 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetInsertionPointEnd();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_Py_Void();
6385 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
= 0;
6387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6398 PyObject
* obj2
= 0 ;
6399 char * kwnames
[] = {
6400 (char *) "self",(char *) "from",(char *) "to", NULL
6403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6405 if (!SWIG_IsOK(res1
)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6408 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6409 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6410 if (!SWIG_IsOK(ecode2
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6413 arg2
= static_cast< long >(val2
);
6414 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6415 if (!SWIG_IsOK(ecode3
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6418 arg3
= static_cast< long >(val3
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 (arg1
)->Remove(arg2
,arg3
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_Py_Void();
6432 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6462 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6463 PyObject
*resultobj
= 0;
6464 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6467 PyObject
*swig_obj
[1] ;
6469 if (!args
) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6475 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_Py_Void();
6489 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6502 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_Py_Void();
6516 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6517 PyObject
*resultobj
= 0;
6518 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6521 PyObject
*swig_obj
[1] ;
6523 if (!args
) SWIG_fail
;
6525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6526 if (!SWIG_IsOK(res1
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6529 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->SelectAll();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= SWIG_Py_Void();
6543 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6544 PyObject
*resultobj
= 0;
6545 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6549 PyObject
*swig_obj
[1] ;
6551 if (!args
) SWIG_fail
;
6553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6554 if (!SWIG_IsOK(res1
)) {
6555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6557 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 PyObject
*resultobj
= 0;
6575 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6579 PyObject
*swig_obj
[1] ;
6581 if (!args
) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6587 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6603 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6604 PyObject
*resultobj
= 0;
6605 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6609 PyObject
*swig_obj
[1] ;
6611 if (!args
) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6617 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6634 PyObject
*resultobj
= 0;
6635 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6639 PyObject
*swig_obj
[1] ;
6641 if (!args
) SWIG_fail
;
6643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6644 if (!SWIG_IsOK(res1
)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6647 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6663 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6664 PyObject
*resultobj
= 0;
6665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6669 PyObject
*swig_obj
[1] ;
6671 if (!args
) SWIG_fail
;
6673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6674 if (!SWIG_IsOK(res1
)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6677 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
= 0;
6695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6696 SwigValueWrapper
<wxVisualAttributes
> result
;
6699 PyObject
* obj0
= 0 ;
6700 char * kwnames
[] = {
6701 (char *) "variant", NULL
6704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6707 if (!SWIG_IsOK(ecode1
)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6710 arg1
= static_cast< wxWindowVariant
>(val1
);
6713 if (!wxPyCheckForApp()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6726 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6729 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6730 return SWIG_Py_Void();
6733 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6734 return SWIG_Python_InitShadowInstance(args
);
6737 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6738 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6743 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6744 PyObject
*pyobj
= 0;
6748 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6750 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6757 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
= 0;
6759 wxWindow
*arg1
= (wxWindow
*) 0 ;
6760 int arg2
= (int) -1 ;
6761 int arg3
= (int) 100 ;
6762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6766 long arg6
= (long) wxGA_HORIZONTAL
;
6767 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6768 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6769 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6771 wxGauge
*result
= 0 ;
6784 bool temp8
= false ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6787 PyObject
* obj2
= 0 ;
6788 PyObject
* obj3
= 0 ;
6789 PyObject
* obj4
= 0 ;
6790 PyObject
* obj5
= 0 ;
6791 PyObject
* obj6
= 0 ;
6792 PyObject
* obj7
= 0 ;
6793 char * kwnames
[] = {
6794 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6805 if (!SWIG_IsOK(ecode2
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6808 arg2
= static_cast< int >(val2
);
6811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6812 if (!SWIG_IsOK(ecode3
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6815 arg3
= static_cast< int >(val3
);
6820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6830 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6831 if (!SWIG_IsOK(ecode6
)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6834 arg6
= static_cast< long >(val6
);
6837 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6838 if (!SWIG_IsOK(res7
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6844 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6848 arg8
= wxString_in_helper(obj7
);
6849 if (arg8
== NULL
) SWIG_fail
;
6854 if (!wxPyCheckForApp()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6875 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6876 PyObject
*resultobj
= 0;
6877 wxGauge
*result
= 0 ;
6879 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6881 if (!wxPyCheckForApp()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= (wxGauge
*)new wxGauge();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6894 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6896 wxGauge
*arg1
= (wxGauge
*) 0 ;
6897 wxWindow
*arg2
= (wxWindow
*) 0 ;
6898 int arg3
= (int) -1 ;
6899 int arg4
= (int) 100 ;
6900 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6901 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6902 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6903 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6904 long arg7
= (long) wxGA_HORIZONTAL
;
6905 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6906 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6907 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6908 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6924 bool temp9
= false ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6928 PyObject
* obj3
= 0 ;
6929 PyObject
* obj4
= 0 ;
6930 PyObject
* obj5
= 0 ;
6931 PyObject
* obj6
= 0 ;
6932 PyObject
* obj7
= 0 ;
6933 PyObject
* obj8
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6943 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6945 if (!SWIG_IsOK(res2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6951 if (!SWIG_IsOK(ecode3
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6954 arg3
= static_cast< int >(val3
);
6957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6958 if (!SWIG_IsOK(ecode4
)) {
6959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6961 arg4
= static_cast< int >(val4
);
6966 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6972 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6976 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6977 if (!SWIG_IsOK(ecode7
)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6980 arg7
= static_cast< long >(val7
);
6983 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6984 if (!SWIG_IsOK(res8
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6990 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6994 arg9
= wxString_in_helper(obj8
);
6995 if (arg9
== NULL
) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7022 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
= 0;
7024 wxGauge
*arg1
= (wxGauge
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7032 char * kwnames
[] = {
7033 (char *) "self",(char *) "range", NULL
7036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7038 if (!SWIG_IsOK(res1
)) {
7039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7041 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7043 if (!SWIG_IsOK(ecode2
)) {
7044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7046 arg2
= static_cast< int >(val2
);
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->SetRange(arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_Py_Void();
7060 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7066 PyObject
*swig_obj
[1] ;
7068 if (!args
) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7074 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_From_int(static_cast< int >(result
));
7088 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
= 0;
7090 wxGauge
*arg1
= (wxGauge
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "self",(char *) "pos", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7104 if (!SWIG_IsOK(res1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7107 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7109 if (!SWIG_IsOK(ecode2
)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7112 arg2
= static_cast< int >(val2
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->SetValue(arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_Py_Void();
7126 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7132 PyObject
*swig_obj
[1] ;
7134 if (!args
) SWIG_fail
;
7136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7137 if (!SWIG_IsOK(res1
)) {
7138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7140 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_From_int(static_cast< int >(result
));
7154 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7155 PyObject
*resultobj
= 0;
7156 wxGauge
*arg1
= (wxGauge
*) 0 ;
7159 PyObject
*swig_obj
[1] ;
7161 if (!args
) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7167 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7182 PyObject
*resultobj
= 0;
7183 wxGauge
*arg1
= (wxGauge
*) 0 ;
7187 PyObject
*swig_obj
[1] ;
7189 if (!args
) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7195 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7211 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7213 wxGauge
*arg1
= (wxGauge
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 char * kwnames
[] = {
7222 (char *) "self",(char *) "w", NULL
7225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7230 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7232 if (!SWIG_IsOK(ecode2
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7235 arg2
= static_cast< int >(val2
);
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 (arg1
)->SetShadowWidth(arg2
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_Py_Void();
7249 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 PyObject
*resultobj
= 0;
7251 wxGauge
*arg1
= (wxGauge
*) 0 ;
7255 PyObject
*swig_obj
[1] ;
7257 if (!args
) SWIG_fail
;
7259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7260 if (!SWIG_IsOK(res1
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7263 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_From_int(static_cast< int >(result
));
7277 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= 0;
7279 wxGauge
*arg1
= (wxGauge
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7287 char * kwnames
[] = {
7288 (char *) "self",(char *) "w", NULL
7291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7296 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7298 if (!SWIG_IsOK(ecode2
)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7301 arg2
= static_cast< int >(val2
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetBezelFace(arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_Py_Void();
7315 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxGauge
*arg1
= (wxGauge
*) 0 ;
7321 PyObject
*swig_obj
[1] ;
7323 if (!args
) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7329 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_From_int(static_cast< int >(result
));
7343 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
= 0;
7345 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7346 SwigValueWrapper
<wxVisualAttributes
> result
;
7349 PyObject
* obj0
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "variant", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7356 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7357 if (!SWIG_IsOK(ecode1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7360 arg1
= static_cast< wxWindowVariant
>(val1
);
7363 if (!wxPyCheckForApp()) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7376 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7379 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7380 return SWIG_Py_Void();
7383 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7384 return SWIG_Python_InitShadowInstance(args
);
7387 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7388 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7393 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7394 PyObject
*pyobj
= 0;
7398 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7400 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7407 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7408 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7413 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7414 PyObject
*pyobj
= 0;
7418 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7420 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7427 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7428 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7433 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7434 PyObject
*pyobj
= 0;
7438 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7440 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7447 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7448 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7453 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7454 PyObject
*pyobj
= 0;
7458 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7460 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7467 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
= 0;
7469 wxWindow
*arg1
= (wxWindow
*) 0 ;
7470 int arg2
= (int) -1 ;
7471 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7477 long arg6
= (long) 0 ;
7478 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7480 wxStaticBox
*result
= 0 ;
7485 bool temp3
= false ;
7490 bool temp7
= false ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7494 PyObject
* obj3
= 0 ;
7495 PyObject
* obj4
= 0 ;
7496 PyObject
* obj5
= 0 ;
7497 PyObject
* obj6
= 0 ;
7498 char * kwnames
[] = {
7499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7510 if (!SWIG_IsOK(ecode2
)) {
7511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7513 arg2
= static_cast< int >(val2
);
7517 arg3
= wxString_in_helper(obj2
);
7518 if (arg3
== NULL
) SWIG_fail
;
7525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7535 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7536 if (!SWIG_IsOK(ecode6
)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7539 arg6
= static_cast< long >(val6
);
7543 arg7
= wxString_in_helper(obj6
);
7544 if (arg7
== NULL
) SWIG_fail
;
7549 if (!wxPyCheckForApp()) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7578 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7579 PyObject
*resultobj
= 0;
7580 wxStaticBox
*result
= 0 ;
7582 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7584 if (!wxPyCheckForApp()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxStaticBox
*)new wxStaticBox();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7597 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
= 0;
7599 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7600 wxWindow
*arg2
= (wxWindow
*) 0 ;
7601 int arg3
= (int) -1 ;
7602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7608 long arg7
= (long) 0 ;
7609 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7610 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7618 bool temp4
= false ;
7623 bool temp8
= false ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7626 PyObject
* obj2
= 0 ;
7627 PyObject
* obj3
= 0 ;
7628 PyObject
* obj4
= 0 ;
7629 PyObject
* obj5
= 0 ;
7630 PyObject
* obj6
= 0 ;
7631 PyObject
* obj7
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7641 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7643 if (!SWIG_IsOK(res2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7649 if (!SWIG_IsOK(ecode3
)) {
7650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7652 arg3
= static_cast< int >(val3
);
7656 arg4
= wxString_in_helper(obj3
);
7657 if (arg4
== NULL
) SWIG_fail
;
7664 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7670 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7674 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7675 if (!SWIG_IsOK(ecode7
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7678 arg7
= static_cast< long >(val7
);
7682 arg8
= wxString_in_helper(obj7
);
7683 if (arg8
== NULL
) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7721 SwigValueWrapper
<wxVisualAttributes
> result
;
7724 PyObject
* obj0
= 0 ;
7725 char * kwnames
[] = {
7726 (char *) "variant", NULL
7729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7732 if (!SWIG_IsOK(ecode1
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7735 arg1
= static_cast< wxWindowVariant
>(val1
);
7738 if (!wxPyCheckForApp()) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7751 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7754 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7755 return SWIG_Py_Void();
7758 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 return SWIG_Python_InitShadowInstance(args
);
7762 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= 0;
7764 wxWindow
*arg1
= (wxWindow
*) 0 ;
7765 int arg2
= (int) -1 ;
7766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7770 long arg5
= (long) wxLI_HORIZONTAL
;
7771 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7772 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7773 wxStaticLine
*result
= 0 ;
7782 bool temp6
= false ;
7783 PyObject
* obj0
= 0 ;
7784 PyObject
* obj1
= 0 ;
7785 PyObject
* obj2
= 0 ;
7786 PyObject
* obj3
= 0 ;
7787 PyObject
* obj4
= 0 ;
7788 PyObject
* obj5
= 0 ;
7789 char * kwnames
[] = {
7790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7795 if (!SWIG_IsOK(res1
)) {
7796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7801 if (!SWIG_IsOK(ecode2
)) {
7802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7804 arg2
= static_cast< int >(val2
);
7809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7819 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7820 if (!SWIG_IsOK(ecode5
)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7823 arg5
= static_cast< long >(val5
);
7827 arg6
= wxString_in_helper(obj5
);
7828 if (arg6
== NULL
) SWIG_fail
;
7833 if (!wxPyCheckForApp()) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7854 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7855 PyObject
*resultobj
= 0;
7856 wxStaticLine
*result
= 0 ;
7858 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7860 if (!wxPyCheckForApp()) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (wxStaticLine
*)new wxStaticLine();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7873 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
= 0;
7875 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7876 wxWindow
*arg2
= (wxWindow
*) 0 ;
7877 int arg3
= (int) -1 ;
7878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7882 long arg6
= (long) wxLI_HORIZONTAL
;
7883 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7896 bool temp7
= false ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7899 PyObject
* obj2
= 0 ;
7900 PyObject
* obj3
= 0 ;
7901 PyObject
* obj4
= 0 ;
7902 PyObject
* obj5
= 0 ;
7903 PyObject
* obj6
= 0 ;
7904 char * kwnames
[] = {
7905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7913 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7915 if (!SWIG_IsOK(res2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7921 if (!SWIG_IsOK(ecode3
)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7924 arg3
= static_cast< int >(val3
);
7929 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7935 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7939 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7940 if (!SWIG_IsOK(ecode6
)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7943 arg6
= static_cast< long >(val6
);
7947 arg7
= wxString_in_helper(obj6
);
7948 if (arg7
== NULL
) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7975 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7976 PyObject
*resultobj
= 0;
7977 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7981 PyObject
*swig_obj
[1] ;
7983 if (!args
) SWIG_fail
;
7985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7986 if (!SWIG_IsOK(res1
)) {
7987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7989 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8005 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 PyObject
*resultobj
= 0;
8009 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (int)wxStaticLine::GetDefaultSize();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_From_int(static_cast< int >(result
));
8023 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
= 0;
8025 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8026 SwigValueWrapper
<wxVisualAttributes
> result
;
8029 PyObject
* obj0
= 0 ;
8030 char * kwnames
[] = {
8031 (char *) "variant", NULL
8034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8037 if (!SWIG_IsOK(ecode1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8040 arg1
= static_cast< wxWindowVariant
>(val1
);
8043 if (!wxPyCheckForApp()) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8056 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8059 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8060 return SWIG_Py_Void();
8063 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 return SWIG_Python_InitShadowInstance(args
);
8067 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
= 0;
8069 wxWindow
*arg1
= (wxWindow
*) 0 ;
8070 int arg2
= (int) -1 ;
8071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8077 long arg6
= (long) 0 ;
8078 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8080 wxStaticText
*result
= 0 ;
8085 bool temp3
= false ;
8090 bool temp7
= false ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8094 PyObject
* obj3
= 0 ;
8095 PyObject
* obj4
= 0 ;
8096 PyObject
* obj5
= 0 ;
8097 PyObject
* obj6
= 0 ;
8098 char * kwnames
[] = {
8099 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8110 if (!SWIG_IsOK(ecode2
)) {
8111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8113 arg2
= static_cast< int >(val2
);
8117 arg3
= wxString_in_helper(obj2
);
8118 if (arg3
== NULL
) SWIG_fail
;
8125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8135 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8136 if (!SWIG_IsOK(ecode6
)) {
8137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8139 arg6
= static_cast< long >(val6
);
8143 arg7
= wxString_in_helper(obj6
);
8144 if (arg7
== NULL
) SWIG_fail
;
8149 if (!wxPyCheckForApp()) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8178 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8179 PyObject
*resultobj
= 0;
8180 wxStaticText
*result
= 0 ;
8182 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8184 if (!wxPyCheckForApp()) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= (wxStaticText
*)new wxStaticText();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8197 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
= 0;
8199 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8200 wxWindow
*arg2
= (wxWindow
*) 0 ;
8201 int arg3
= (int) -1 ;
8202 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8203 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8204 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8205 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8206 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8207 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8208 long arg7
= (long) 0 ;
8209 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8210 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8218 bool temp4
= false ;
8223 bool temp8
= false ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 PyObject
* obj2
= 0 ;
8227 PyObject
* obj3
= 0 ;
8228 PyObject
* obj4
= 0 ;
8229 PyObject
* obj5
= 0 ;
8230 PyObject
* obj6
= 0 ;
8231 PyObject
* obj7
= 0 ;
8232 char * kwnames
[] = {
8233 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8238 if (!SWIG_IsOK(res1
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8241 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8243 if (!SWIG_IsOK(res2
)) {
8244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8246 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8249 if (!SWIG_IsOK(ecode3
)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8252 arg3
= static_cast< int >(val3
);
8256 arg4
= wxString_in_helper(obj3
);
8257 if (arg4
== NULL
) SWIG_fail
;
8264 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8270 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8274 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8275 if (!SWIG_IsOK(ecode7
)) {
8276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8278 arg7
= static_cast< long >(val7
);
8282 arg8
= wxString_in_helper(obj7
);
8283 if (arg8
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8318 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
= 0;
8320 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 char * kwnames
[] = {
8329 (char *) "self",(char *) "width", NULL
8332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8334 if (!SWIG_IsOK(res1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8337 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8339 if (!SWIG_IsOK(ecode2
)) {
8340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8342 arg2
= static_cast< int >(val2
);
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= SWIG_Py_Void();
8356 SWIGINTERN PyObject
*_wrap_StaticText_IsEllipsized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8357 PyObject
*resultobj
= 0;
8358 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8362 PyObject
*swig_obj
[1] ;
8364 if (!args
) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8370 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (bool)((wxStaticText
const *)arg1
)->IsEllipsized();
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8386 SWIGINTERN PyObject
*_wrap_StaticText_RemoveMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
= 0;
8388 wxString
*arg1
= 0 ;
8390 bool temp1
= false ;
8391 PyObject
* obj0
= 0 ;
8392 char * kwnames
[] = {
8393 (char *) "str", NULL
8396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_RemoveMarkup",kwnames
,&obj0
)) SWIG_fail
;
8398 arg1
= wxString_in_helper(obj0
);
8399 if (arg1
== NULL
) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= wxStaticText::RemoveMarkup((wxString
const &)*arg1
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8429 SWIGINTERN PyObject
*_wrap_StaticText_EscapeMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
= 0;
8431 wxString
*arg1
= 0 ;
8433 bool temp1
= false ;
8434 PyObject
* obj0
= 0 ;
8435 char * kwnames
[] = {
8436 (char *) "str", NULL
8439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_EscapeMarkup",kwnames
,&obj0
)) SWIG_fail
;
8441 arg1
= wxString_in_helper(obj0
);
8442 if (arg1
== NULL
) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= wxStaticText::EscapeMarkup((wxString
const &)*arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8472 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
= 0;
8474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8475 SwigValueWrapper
<wxVisualAttributes
> result
;
8478 PyObject
* obj0
= 0 ;
8479 char * kwnames
[] = {
8480 (char *) "variant", NULL
8483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8486 if (!SWIG_IsOK(ecode1
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8489 arg1
= static_cast< wxWindowVariant
>(val1
);
8492 if (!wxPyCheckForApp()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8505 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8508 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8509 return SWIG_Py_Void();
8512 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8513 return SWIG_Python_InitShadowInstance(args
);
8516 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
= 0;
8518 wxWindow
*arg1
= (wxWindow
*) 0 ;
8519 int arg2
= (int) -1 ;
8520 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8521 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8526 long arg6
= (long) 0 ;
8527 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8529 wxStaticBitmap
*result
= 0 ;
8540 bool temp7
= false ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8545 PyObject
* obj4
= 0 ;
8546 PyObject
* obj5
= 0 ;
8547 PyObject
* obj6
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8560 if (!SWIG_IsOK(ecode2
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8563 arg2
= static_cast< int >(val2
);
8566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8567 if (!SWIG_IsOK(res3
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8573 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8588 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8589 if (!SWIG_IsOK(ecode6
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8592 arg6
= static_cast< long >(val6
);
8596 arg7
= wxString_in_helper(obj6
);
8597 if (arg7
== NULL
) SWIG_fail
;
8602 if (!wxPyCheckForApp()) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8623 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 PyObject
*resultobj
= 0;
8625 wxStaticBitmap
*result
= 0 ;
8627 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8629 if (!wxPyCheckForApp()) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8642 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
= 0;
8644 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8645 wxWindow
*arg2
= (wxWindow
*) 0 ;
8646 int arg3
= (int) -1 ;
8647 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8648 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8653 long arg7
= (long) 0 ;
8654 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8669 bool temp8
= false ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8673 PyObject
* obj3
= 0 ;
8674 PyObject
* obj4
= 0 ;
8675 PyObject
* obj5
= 0 ;
8676 PyObject
* obj6
= 0 ;
8677 PyObject
* obj7
= 0 ;
8678 char * kwnames
[] = {
8679 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8684 if (!SWIG_IsOK(res1
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8687 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8689 if (!SWIG_IsOK(res2
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8695 if (!SWIG_IsOK(ecode3
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8698 arg3
= static_cast< int >(val3
);
8701 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8702 if (!SWIG_IsOK(res4
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8708 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8713 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8719 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8723 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8724 if (!SWIG_IsOK(ecode7
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8727 arg7
= static_cast< long >(val7
);
8731 arg8
= wxString_in_helper(obj7
);
8732 if (arg8
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 PyObject
*resultobj
= 0;
8761 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8765 PyObject
*swig_obj
[1] ;
8767 if (!args
) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8773 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (arg1
)->GetBitmap();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8787 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
= 0;
8789 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8790 wxBitmap
*arg2
= 0 ;
8795 PyObject
* obj0
= 0 ;
8796 PyObject
* obj1
= 0 ;
8797 char * kwnames
[] = {
8798 (char *) "self",(char *) "bitmap", NULL
8801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8806 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8808 if (!SWIG_IsOK(res2
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8814 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_Py_Void();
8828 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
= 0;
8830 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 char * kwnames
[] = {
8839 (char *) "self",(char *) "icon", NULL
8842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8844 if (!SWIG_IsOK(res1
)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8847 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8849 if (!SWIG_IsOK(res2
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8855 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8872 SwigValueWrapper
<wxVisualAttributes
> result
;
8875 PyObject
* obj0
= 0 ;
8876 char * kwnames
[] = {
8877 (char *) "variant", NULL
8880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8882 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8883 if (!SWIG_IsOK(ecode1
)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8886 arg1
= static_cast< wxWindowVariant
>(val1
);
8889 if (!wxPyCheckForApp()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8902 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8905 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8906 return SWIG_Py_Void();
8909 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8910 return SWIG_Python_InitShadowInstance(args
);
8913 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8914 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8919 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8920 PyObject
*pyobj
= 0;
8924 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8926 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8933 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
= 0;
8935 wxWindow
*arg1
= (wxWindow
*) 0 ;
8936 int arg2
= (int) -1 ;
8937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8939 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8940 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8941 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8942 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8943 long arg6
= (long) 0 ;
8944 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8945 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8946 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8947 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8948 wxListBox
*result
= 0 ;
8955 bool temp5
= false ;
8960 bool temp8
= false ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8964 PyObject
* obj3
= 0 ;
8965 PyObject
* obj4
= 0 ;
8966 PyObject
* obj5
= 0 ;
8967 PyObject
* obj6
= 0 ;
8968 PyObject
* obj7
= 0 ;
8969 char * kwnames
[] = {
8970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8978 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8981 if (!SWIG_IsOK(ecode2
)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8984 arg2
= static_cast< int >(val2
);
8989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8995 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9000 if (! PySequence_Check(obj4
)) {
9001 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9004 arg5
= new wxArrayString
;
9006 int i
, len
=PySequence_Length(obj4
);
9007 for (i
=0; i
<len
; i
++) {
9008 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9009 wxString
* s
= wxString_in_helper(item
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9019 if (!SWIG_IsOK(ecode6
)) {
9020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9022 arg6
= static_cast< long >(val6
);
9025 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9026 if (!SWIG_IsOK(res7
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9032 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9036 arg8
= wxString_in_helper(obj7
);
9037 if (arg8
== NULL
) SWIG_fail
;
9042 if (!wxPyCheckForApp()) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
9050 if (temp5
) delete arg5
;
9059 if (temp5
) delete arg5
;
9069 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9070 PyObject
*resultobj
= 0;
9071 wxListBox
*result
= 0 ;
9073 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9075 if (!wxPyCheckForApp()) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (wxListBox
*)new wxListBox();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9088 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
= 0;
9090 wxListBox
*arg1
= (wxListBox
*) 0 ;
9091 wxWindow
*arg2
= (wxWindow
*) 0 ;
9092 int arg3
= (int) -1 ;
9093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9097 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9098 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9099 long arg7
= (long) 0 ;
9100 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9101 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9102 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9103 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9113 bool temp6
= false ;
9118 bool temp9
= false ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9122 PyObject
* obj3
= 0 ;
9123 PyObject
* obj4
= 0 ;
9124 PyObject
* obj5
= 0 ;
9125 PyObject
* obj6
= 0 ;
9126 PyObject
* obj7
= 0 ;
9127 PyObject
* obj8
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9139 if (!SWIG_IsOK(res2
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9145 if (!SWIG_IsOK(ecode3
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9148 arg3
= static_cast< int >(val3
);
9153 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9159 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9164 if (! PySequence_Check(obj5
)) {
9165 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9168 arg6
= new wxArrayString
;
9170 int i
, len
=PySequence_Length(obj5
);
9171 for (i
=0; i
<len
; i
++) {
9172 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9173 wxString
* s
= wxString_in_helper(item
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9182 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9183 if (!SWIG_IsOK(ecode7
)) {
9184 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9186 arg7
= static_cast< long >(val7
);
9189 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9190 if (!SWIG_IsOK(res8
)) {
9191 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9196 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9200 arg9
= wxString_in_helper(obj8
);
9201 if (arg9
== NULL
) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9215 if (temp6
) delete arg6
;
9224 if (temp6
) delete arg6
;
9234 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= 0;
9236 wxListBox
*arg1
= (wxListBox
*) 0 ;
9237 wxString
*arg2
= 0 ;
9239 PyObject
*arg4
= (PyObject
*) NULL
;
9242 bool temp2
= false ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 PyObject
* obj2
= 0 ;
9248 PyObject
* obj3
= 0 ;
9249 char * kwnames
[] = {
9250 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9258 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9260 arg2
= wxString_in_helper(obj1
);
9261 if (arg2
== NULL
) SWIG_fail
;
9264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9265 if (!SWIG_IsOK(ecode3
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9268 arg3
= static_cast< int >(val3
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9293 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= 0;
9295 wxListBox
*arg1
= (wxListBox
*) 0 ;
9296 wxArrayString
*arg2
= 0 ;
9300 bool temp2
= false ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9305 PyObject
* obj2
= 0 ;
9306 char * kwnames
[] = {
9307 (char *) "self",(char *) "items",(char *) "pos", NULL
9310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9315 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9317 if (! PySequence_Check(obj1
)) {
9318 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9321 arg2
= new wxArrayString
;
9323 int i
, len
=PySequence_Length(obj1
);
9324 for (i
=0; i
<len
; i
++) {
9325 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9326 wxString
* s
= wxString_in_helper(item
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9333 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9334 if (!SWIG_IsOK(ecode3
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9337 arg3
= static_cast< unsigned int >(val3
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_Py_Void();
9346 if (temp2
) delete arg2
;
9351 if (temp2
) delete arg2
;
9357 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxListBox
*arg1
= (wxListBox
*) 0 ;
9360 wxArrayString
*arg2
= 0 ;
9363 bool temp2
= false ;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 char * kwnames
[] = {
9367 (char *) "self",(char *) "items", NULL
9370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9372 if (!SWIG_IsOK(res1
)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9375 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9377 if (! PySequence_Check(obj1
)) {
9378 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9381 arg2
= new wxArrayString
;
9383 int i
, len
=PySequence_Length(obj1
);
9384 for (i
=0; i
<len
; i
++) {
9385 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9386 wxString
* s
= wxString_in_helper(item
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 (arg1
)->Set((wxArrayString
const &)*arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_Py_Void();
9401 if (temp2
) delete arg2
;
9406 if (temp2
) delete arg2
;
9412 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= 0;
9414 wxListBox
*arg1
= (wxListBox
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 char * kwnames
[] = {
9424 (char *) "self",(char *) "n", NULL
9427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9429 if (!SWIG_IsOK(res1
)) {
9430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9432 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9434 if (!SWIG_IsOK(ecode2
)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9437 arg2
= static_cast< int >(val2
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9453 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxListBox
*arg1
= (wxListBox
*) 0 ;
9457 bool arg3
= (bool) true ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "n",(char *) "select", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9478 if (!SWIG_IsOK(ecode2
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9481 arg2
= static_cast< int >(val2
);
9483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9484 if (!SWIG_IsOK(ecode3
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9487 arg3
= static_cast< bool >(val3
);
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->SetSelection(arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_Py_Void();
9502 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
= 0;
9504 wxListBox
*arg1
= (wxListBox
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "n", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9523 if (!SWIG_IsOK(ecode2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9526 arg2
= static_cast< int >(val2
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->Select(arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_Py_Void();
9540 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9542 wxListBox
*arg1
= (wxListBox
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 char * kwnames
[] = {
9551 (char *) "self",(char *) "n", NULL
9554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9556 if (!SWIG_IsOK(res1
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9559 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9561 if (!SWIG_IsOK(ecode2
)) {
9562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9564 arg2
= static_cast< int >(val2
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 (arg1
)->Deselect(arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_Py_Void();
9578 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
= 0;
9580 wxListBox
*arg1
= (wxListBox
*) 0 ;
9581 int arg2
= (int) -1 ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 char * kwnames
[] = {
9589 (char *) "self",(char *) "itemToLeaveSelected", NULL
9592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9597 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9600 if (!SWIG_IsOK(ecode2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9603 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->DeselectAll(arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxListBox
*arg1
= (wxListBox
*) 0 ;
9621 wxString
*arg2
= 0 ;
9622 bool arg3
= (bool) true ;
9626 bool temp2
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 PyObject
* obj2
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "s",(char *) "select", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9641 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9643 arg2
= wxString_in_helper(obj1
);
9644 if (arg2
== NULL
) SWIG_fail
;
9648 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9649 if (!SWIG_IsOK(ecode3
)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9652 arg3
= static_cast< bool >(val3
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxListBox
*arg1
= (wxListBox
*) 0 ;
9680 PyObject
*result
= 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9691 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9705 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "self",(char *) "n", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9724 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9726 if (!SWIG_IsOK(ecode2
)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9729 arg2
= static_cast< int >(val2
);
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->SetFirstItem(arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
= 0;
9745 wxListBox
*arg1
= (wxListBox
*) 0 ;
9746 wxString
*arg2
= 0 ;
9749 bool temp2
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 char * kwnames
[] = {
9753 (char *) "self",(char *) "s", NULL
9756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9758 if (!SWIG_IsOK(res1
)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9761 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9763 arg2
= wxString_in_helper(obj1
);
9764 if (arg2
== NULL
) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_Py_Void();
9788 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= 0;
9790 wxListBox
*arg1
= (wxListBox
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 char * kwnames
[] = {
9799 (char *) "self",(char *) "n", NULL
9802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9807 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9809 if (!SWIG_IsOK(ecode2
)) {
9810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9812 arg2
= static_cast< int >(val2
);
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 (arg1
)->EnsureVisible(arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_Py_Void();
9826 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= 0;
9828 wxListBox
*arg1
= (wxListBox
*) 0 ;
9829 wxString
*arg2
= 0 ;
9832 bool temp2
= false ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9835 char * kwnames
[] = {
9836 (char *) "self",(char *) "s", NULL
9839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9841 if (!SWIG_IsOK(res1
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9844 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9846 arg2
= wxString_in_helper(obj1
);
9847 if (arg2
== NULL
) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 PyObject
*resultobj
= 0;
9873 wxListBox
*arg1
= (wxListBox
*) 0 ;
9877 PyObject
*swig_obj
[1] ;
9879 if (!args
) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9885 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9901 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
= 0;
9903 wxListBox
*arg1
= (wxListBox
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9910 PyObject
* obj1
= 0 ;
9911 char * kwnames
[] = {
9912 (char *) "self",(char *) "pt", NULL
9915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9917 if (!SWIG_IsOK(res1
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9920 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_From_int(static_cast< int >(result
));
9938 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
= 0;
9940 wxListBox
*arg1
= (wxListBox
*) 0 ;
9942 wxColour
*arg3
= 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "item",(char *) "c", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9960 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9965 arg2
= static_cast< int >(val2
);
9968 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxListBox
*arg1
= (wxListBox
*) 0 ;
9987 wxColour
*arg3
= 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 PyObject
* obj2
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "self",(char *) "item",(char *) "c", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10005 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10007 if (!SWIG_IsOK(ecode2
)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10010 arg2
= static_cast< int >(val2
);
10013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_Py_Void();
10028 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxListBox
*arg1
= (wxListBox
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 PyObject
* obj1
= 0 ;
10041 PyObject
* obj2
= 0 ;
10042 char * kwnames
[] = {
10043 (char *) "self",(char *) "item",(char *) "f", NULL
10046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10051 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10053 if (!SWIG_IsOK(ecode2
)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10056 arg2
= static_cast< int >(val2
);
10057 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10058 if (!SWIG_IsOK(res3
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10064 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_Py_Void();
10078 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10081 SwigValueWrapper
<wxVisualAttributes
> result
;
10084 PyObject
* obj0
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "variant", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10092 if (!SWIG_IsOK(ecode1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10095 arg1
= static_cast< wxWindowVariant
>(val1
);
10098 if (!wxPyCheckForApp()) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10111 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10114 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10115 return SWIG_Py_Void();
10118 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 return SWIG_Python_InitShadowInstance(args
);
10122 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
= 0;
10124 wxWindow
*arg1
= (wxWindow
*) 0 ;
10125 int arg2
= (int) -1 ;
10126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10130 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10131 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10132 long arg6
= (long) 0 ;
10133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10135 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10137 wxCheckListBox
*result
= 0 ;
10144 bool temp5
= false ;
10149 bool temp8
= false ;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 PyObject
* obj2
= 0 ;
10153 PyObject
* obj3
= 0 ;
10154 PyObject
* obj4
= 0 ;
10155 PyObject
* obj5
= 0 ;
10156 PyObject
* obj6
= 0 ;
10157 PyObject
* obj7
= 0 ;
10158 char * kwnames
[] = {
10159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10170 if (!SWIG_IsOK(ecode2
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10173 arg2
= static_cast< int >(val2
);
10178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10184 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10189 if (! PySequence_Check(obj4
)) {
10190 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10193 arg5
= new wxArrayString
;
10195 int i
, len
=PySequence_Length(obj4
);
10196 for (i
=0; i
<len
; i
++) {
10197 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10198 wxString
* s
= wxString_in_helper(item
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10207 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10208 if (!SWIG_IsOK(ecode6
)) {
10209 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10211 arg6
= static_cast< long >(val6
);
10214 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10215 if (!SWIG_IsOK(res7
)) {
10216 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10221 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10225 arg8
= wxString_in_helper(obj7
);
10226 if (arg8
== NULL
) SWIG_fail
;
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10239 if (temp5
) delete arg5
;
10248 if (temp5
) delete arg5
;
10258 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10259 PyObject
*resultobj
= 0;
10260 wxCheckListBox
*result
= 0 ;
10262 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10264 if (!wxPyCheckForApp()) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (wxCheckListBox
*)new wxCheckListBox();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10277 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10280 wxWindow
*arg2
= (wxWindow
*) 0 ;
10281 int arg3
= (int) -1 ;
10282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10286 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10287 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10288 long arg7
= (long) 0 ;
10289 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10290 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10291 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10292 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10302 bool temp6
= false ;
10307 bool temp9
= false ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 PyObject
* obj4
= 0 ;
10313 PyObject
* obj5
= 0 ;
10314 PyObject
* obj6
= 0 ;
10315 PyObject
* obj7
= 0 ;
10316 PyObject
* obj8
= 0 ;
10317 char * kwnames
[] = {
10318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10323 if (!SWIG_IsOK(res1
)) {
10324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10326 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10328 if (!SWIG_IsOK(res2
)) {
10329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10331 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10334 if (!SWIG_IsOK(ecode3
)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10337 arg3
= static_cast< int >(val3
);
10342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10353 if (! PySequence_Check(obj5
)) {
10354 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10357 arg6
= new wxArrayString
;
10359 int i
, len
=PySequence_Length(obj5
);
10360 for (i
=0; i
<len
; i
++) {
10361 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10362 wxString
* s
= wxString_in_helper(item
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10371 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10372 if (!SWIG_IsOK(ecode7
)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10375 arg7
= static_cast< long >(val7
);
10378 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10379 if (!SWIG_IsOK(res8
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10385 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10389 arg9
= wxString_in_helper(obj8
);
10390 if (arg9
== NULL
) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10404 if (temp6
) delete arg6
;
10413 if (temp6
) delete arg6
;
10423 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10426 unsigned int arg2
;
10430 unsigned int val2
;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 char * kwnames
[] = {
10435 (char *) "self",(char *) "index", NULL
10438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10443 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10444 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10445 if (!SWIG_IsOK(ecode2
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10448 arg2
= static_cast< unsigned int >(val2
);
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)(arg1
)->IsChecked(arg2
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
= 0;
10466 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10467 unsigned int arg2
;
10468 int arg3
= (int) true ;
10471 unsigned int val2
;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 PyObject
* obj2
= 0 ;
10478 char * kwnames
[] = {
10479 (char *) "self",(char *) "index",(char *) "check", NULL
10482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10487 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10488 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10489 if (!SWIG_IsOK(ecode2
)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10492 arg2
= static_cast< unsigned int >(val2
);
10494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10495 if (!SWIG_IsOK(ecode3
)) {
10496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10498 arg3
= static_cast< int >(val3
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->Check(arg2
,arg3
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_Py_Void();
10513 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10516 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10517 return SWIG_Py_Void();
10520 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 return SWIG_Python_InitShadowInstance(args
);
10524 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10525 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10530 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10531 PyObject
*pyobj
= 0;
10535 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10537 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10544 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxColour
const &arg1_defvalue
= wxNullColour
;
10547 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10548 wxColour
const &arg2_defvalue
= wxNullColour
;
10549 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10550 wxFont
const &arg3_defvalue
= wxNullFont
;
10551 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10552 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10553 wxTextAttr
*result
= 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 PyObject
* obj3
= 0 ;
10564 char * kwnames
[] = {
10565 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10572 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10582 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10583 if (!SWIG_IsOK(res3
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10589 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10593 if (!SWIG_IsOK(ecode4
)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10596 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10611 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 PyObject
*resultobj
= 0;
10613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10616 PyObject
*swig_obj
[1] ;
10618 if (!args
) SWIG_fail
;
10619 swig_obj
[0] = args
;
10620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10624 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_Py_Void();
10639 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10640 PyObject
*resultobj
= 0;
10641 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10644 PyObject
*swig_obj
[1] ;
10646 if (!args
) SWIG_fail
;
10647 swig_obj
[0] = args
;
10648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10652 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= 0 ;
10669 wxTextAttr
*arg2
= 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "base",(char *) "overlay", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10689 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10691 if (!SWIG_IsOK(res2
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10697 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10711 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
= 0;
10713 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10714 wxColour
*arg2
= 0 ;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj1
= 0 ;
10720 char * kwnames
[] = {
10721 (char *) "self",(char *) "colText", NULL
10724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10726 if (!SWIG_IsOK(res1
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10729 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_Py_Void();
10747 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
= 0;
10749 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10750 wxColour
*arg2
= 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "self",(char *) "colBack", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10762 if (!SWIG_IsOK(res1
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10765 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_Py_Void();
10783 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= 0;
10785 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10787 long arg3
= (long) wxTEXT_ATTR_FONT
;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 PyObject
* obj2
= 0 ;
10797 char * kwnames
[] = {
10798 (char *) "self",(char *) "font",(char *) "flags", NULL
10801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10803 if (!SWIG_IsOK(res1
)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10806 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10808 if (!SWIG_IsOK(res2
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10814 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10816 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10817 if (!SWIG_IsOK(ecode3
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10820 arg3
= static_cast< long >(val3
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_Py_Void();
10835 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10838 wxTextAttrAlignment arg2
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "alignment", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10854 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10856 if (!SWIG_IsOK(ecode2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10859 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetAlignment(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_Py_Void();
10873 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10876 wxArrayInt
*arg2
= 0 ;
10879 bool temp2
= false ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char * kwnames
[] = {
10883 (char *) "self",(char *) "tabs", NULL
10886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10891 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10893 if (! PySequence_Check(obj1
)) {
10894 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10897 arg2
= new wxArrayInt
;
10899 int i
, len
=PySequence_Length(obj1
);
10900 for (i
=0; i
<len
; i
++) {
10901 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10902 PyObject
* number
= PyNumber_Int(item
);
10904 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10907 arg2
->Add(PyInt_AS_LONG(number
));
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_Py_Void();
10920 if (temp2
) delete arg2
;
10925 if (temp2
) delete arg2
;
10931 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10935 int arg3
= (int) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 char * kwnames
[] = {
10946 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10954 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10956 if (!SWIG_IsOK(ecode2
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10959 arg2
= static_cast< int >(val2
);
10961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10962 if (!SWIG_IsOK(ecode3
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10965 arg3
= static_cast< int >(val3
);
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 (arg1
)->SetLeftIndent(arg2
,arg3
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_Py_Void();
10980 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= 0;
10982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "indent", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10999 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11001 if (!SWIG_IsOK(ecode2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11004 arg2
= static_cast< int >(val2
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 (arg1
)->SetRightIndent(arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_Py_Void();
11018 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 char * kwnames
[] = {
11029 (char *) "self",(char *) "flags", NULL
11032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11038 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11039 if (!SWIG_IsOK(ecode2
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11042 arg2
= static_cast< long >(val2
);
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->SetFlags(arg2
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_Py_Void();
11056 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11070 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 PyObject
*resultobj
= 0;
11088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11100 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11122 PyObject
*swig_obj
[1] ;
11124 if (!args
) SWIG_fail
;
11125 swig_obj
[0] = args
;
11126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11130 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11160 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11177 PyObject
*resultobj
= 0;
11178 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11182 PyObject
*swig_obj
[1] ;
11184 if (!args
) SWIG_fail
;
11185 swig_obj
[0] = args
;
11186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11190 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11236 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11237 PyObject
*resultobj
= 0;
11238 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11242 PyObject
*swig_obj
[1] ;
11244 if (!args
) SWIG_fail
;
11245 swig_obj
[0] = args
;
11246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11247 if (!SWIG_IsOK(res1
)) {
11248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11250 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11266 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
= 0;
11268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 char * kwnames
[] = {
11278 (char *) "self",(char *) "flag", NULL
11281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11283 if (!SWIG_IsOK(res1
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11286 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11288 if (!SWIG_IsOK(ecode2
)) {
11289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11291 arg2
= static_cast< long >(val2
);
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11307 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11309 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11310 wxColour
*result
= 0 ;
11313 PyObject
*swig_obj
[1] ;
11315 if (!args
) SWIG_fail
;
11316 swig_obj
[0] = args
;
11317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11318 if (!SWIG_IsOK(res1
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11321 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11326 result
= (wxColour
*) &_result_ref
;
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11338 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11341 wxColour
*result
= 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11352 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11357 result
= (wxColour
*) &_result_ref
;
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11372 wxFont
*result
= 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11388 result
= (wxFont
*) &_result_ref
;
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 wxFont
* resultptr
= new wxFont(*result
);
11395 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11403 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11406 wxTextAttrAlignment result
;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_int(static_cast< int >(result
));
11431 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11434 wxArrayInt
*result
= 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11450 result
= (wxArrayInt
*) &_result_ref
;
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= wxArrayInt2PyList_helper(*result
);
11464 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11465 PyObject
*resultobj
= 0;
11466 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11470 PyObject
*swig_obj
[1] ;
11472 if (!args
) SWIG_fail
;
11473 swig_obj
[0] = args
;
11474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11478 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_long(static_cast< long >(result
));
11492 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11493 PyObject
*resultobj
= 0;
11494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11498 PyObject
*swig_obj
[1] ;
11500 if (!args
) SWIG_fail
;
11501 swig_obj
[0] = args
;
11502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11506 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_From_long(static_cast< long >(result
));
11520 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11521 PyObject
*resultobj
= 0;
11522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11526 PyObject
*swig_obj
[1] ;
11528 if (!args
) SWIG_fail
;
11529 swig_obj
[0] = args
;
11530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11531 if (!SWIG_IsOK(res1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11534 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_From_long(static_cast< long >(result
));
11548 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11549 PyObject
*resultobj
= 0;
11550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11554 PyObject
*swig_obj
[1] ;
11556 if (!args
) SWIG_fail
;
11557 swig_obj
[0] = args
;
11558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11559 if (!SWIG_IsOK(res1
)) {
11560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11562 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_From_long(static_cast< long >(result
));
11576 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11577 PyObject
*resultobj
= 0;
11578 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11582 PyObject
*swig_obj
[1] ;
11584 if (!args
) SWIG_fail
;
11585 swig_obj
[0] = args
;
11586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11590 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11606 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
= 0;
11608 wxTextAttr
*arg1
= 0 ;
11609 wxTextAttr
*arg2
= 0 ;
11610 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11633 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11635 if (!SWIG_IsOK(res2
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11641 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11642 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11643 if (!SWIG_IsOK(res3
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11646 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11660 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11664 return SWIG_Py_Void();
11667 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 return SWIG_Python_InitShadowInstance(args
);
11671 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= 0;
11673 wxWindow
*arg1
= (wxWindow
*) 0 ;
11674 int arg2
= (int) -1 ;
11675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11681 long arg6
= (long) 0 ;
11682 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11683 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11684 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11686 wxTextCtrl
*result
= 0 ;
11691 bool temp3
= false ;
11698 bool temp8
= false ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 PyObject
* obj4
= 0 ;
11704 PyObject
* obj5
= 0 ;
11705 PyObject
* obj6
= 0 ;
11706 PyObject
* obj7
= 0 ;
11707 char * kwnames
[] = {
11708 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11713 if (!SWIG_IsOK(res1
)) {
11714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11719 if (!SWIG_IsOK(ecode2
)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11722 arg2
= static_cast< int >(val2
);
11726 arg3
= wxString_in_helper(obj2
);
11727 if (arg3
== NULL
) SWIG_fail
;
11734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11744 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11745 if (!SWIG_IsOK(ecode6
)) {
11746 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11748 arg6
= static_cast< long >(val6
);
11751 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11752 if (!SWIG_IsOK(res7
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11758 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11762 arg8
= wxString_in_helper(obj7
);
11763 if (arg8
== NULL
) SWIG_fail
;
11768 if (!wxPyCheckForApp()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11797 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11799 wxTextCtrl
*result
= 0 ;
11801 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11803 if (!wxPyCheckForApp()) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (wxTextCtrl
*)new wxTextCtrl();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11816 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
= 0;
11818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11819 wxWindow
*arg2
= (wxWindow
*) 0 ;
11820 int arg3
= (int) -1 ;
11821 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11822 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11823 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11824 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11825 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11826 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11827 long arg7
= (long) 0 ;
11828 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11829 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11830 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11831 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11839 bool temp4
= false ;
11846 bool temp9
= false ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 PyObject
* obj2
= 0 ;
11850 PyObject
* obj3
= 0 ;
11851 PyObject
* obj4
= 0 ;
11852 PyObject
* obj5
= 0 ;
11853 PyObject
* obj6
= 0 ;
11854 PyObject
* obj7
= 0 ;
11855 PyObject
* obj8
= 0 ;
11856 char * kwnames
[] = {
11857 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11865 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11867 if (!SWIG_IsOK(res2
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11870 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11873 if (!SWIG_IsOK(ecode3
)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11876 arg3
= static_cast< int >(val3
);
11880 arg4
= wxString_in_helper(obj3
);
11881 if (arg4
== NULL
) SWIG_fail
;
11888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11898 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11899 if (!SWIG_IsOK(ecode7
)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11902 arg7
= static_cast< long >(val7
);
11905 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11906 if (!SWIG_IsOK(res8
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11912 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11916 arg9
= wxString_in_helper(obj8
);
11917 if (arg9
== NULL
) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11953 PyObject
*resultobj
= 0;
11954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11958 PyObject
*swig_obj
[1] ;
11960 if (!args
) SWIG_fail
;
11961 swig_obj
[0] = args
;
11962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11966 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11986 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11989 wxString
*arg2
= 0 ;
11992 bool temp2
= false ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char * kwnames
[] = {
11996 (char *) "self",(char *) "value", NULL
11999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12004 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12006 arg2
= wxString_in_helper(obj1
);
12007 if (arg2
== NULL
) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetValue((wxString
const &)*arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_Py_Void();
12031 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12037 PyObject
*swig_obj
[1] ;
12039 if (!args
) SWIG_fail
;
12040 swig_obj
[0] = args
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12045 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
= 0;
12063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12064 wxString
*arg2
= 0 ;
12067 bool temp2
= false ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "value", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12079 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12081 arg2
= wxString_in_helper(obj1
);
12082 if (arg2
== NULL
) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_Py_Void();
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 PyObject
* obj2
= 0 ;
12121 char * kwnames
[] = {
12122 (char *) "self",(char *) "from",(char *) "to", NULL
12125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12130 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12132 if (!SWIG_IsOK(ecode2
)) {
12133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12135 arg2
= static_cast< long >(val2
);
12136 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12137 if (!SWIG_IsOK(ecode3
)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12140 arg3
= static_cast< long >(val3
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12160 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
= 0;
12162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 char * kwnames
[] = {
12172 (char *) "self",(char *) "lineNo", NULL
12175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12180 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12181 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12182 if (!SWIG_IsOK(ecode2
)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12185 arg2
= static_cast< long >(val2
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_int(static_cast< int >(result
));
12199 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char * kwnames
[] = {
12211 (char *) "self",(char *) "lineNo", NULL
12214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12216 if (!SWIG_IsOK(res1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12219 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12221 if (!SWIG_IsOK(ecode2
)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12224 arg2
= static_cast< long >(val2
);
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12244 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12245 PyObject
*resultobj
= 0;
12246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12250 PyObject
*swig_obj
[1] ;
12252 if (!args
) SWIG_fail
;
12253 swig_obj
[0] = args
;
12254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12258 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_From_int(static_cast< int >(result
));
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 PyObject
*resultobj
= 0;
12304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12362 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12376 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12392 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12393 PyObject
*resultobj
= 0;
12394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12395 long *arg2
= (long *) 0 ;
12396 long *arg3
= (long *) 0 ;
12400 int res2
= SWIG_TMPOBJ
;
12402 int res3
= SWIG_TMPOBJ
;
12403 PyObject
*swig_obj
[1] ;
12407 if (!args
) SWIG_fail
;
12408 swig_obj
[0] = args
;
12409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12410 if (!SWIG_IsOK(res1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12413 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12421 if (SWIG_IsTmpObj(res2
)) {
12422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12424 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12427 if (SWIG_IsTmpObj(res3
)) {
12428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12439 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12440 PyObject
*resultobj
= 0;
12441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12445 PyObject
*swig_obj
[1] ;
12447 if (!args
) SWIG_fail
;
12448 swig_obj
[0] = args
;
12449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12453 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12473 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_Py_Void();
12500 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
= 0;
12502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12505 wxString
*arg4
= 0 ;
12512 bool temp4
= false ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 PyObject
* obj2
= 0 ;
12516 PyObject
* obj3
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12528 if (!SWIG_IsOK(ecode2
)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12531 arg2
= static_cast< long >(val2
);
12532 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12533 if (!SWIG_IsOK(ecode3
)) {
12534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12536 arg3
= static_cast< long >(val3
);
12538 arg4
= wxString_in_helper(obj3
);
12539 if (arg4
== NULL
) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "from",(char *) "to", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12586 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12587 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12588 if (!SWIG_IsOK(ecode2
)) {
12589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12591 arg2
= static_cast< long >(val2
);
12592 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12593 if (!SWIG_IsOK(ecode3
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12596 arg3
= static_cast< long >(val3
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->Remove(arg2
,arg3
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12613 wxString
*arg2
= 0 ;
12614 int arg3
= (int) wxTEXT_TYPE_ANY
;
12618 bool temp2
= false ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 PyObject
* obj2
= 0 ;
12624 char * kwnames
[] = {
12625 (char *) "self",(char *) "file",(char *) "fileType", NULL
12628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12635 arg2
= wxString_in_helper(obj1
);
12636 if (arg2
== NULL
) SWIG_fail
;
12640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12641 if (!SWIG_IsOK(ecode3
)) {
12642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12644 arg3
= static_cast< int >(val3
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12674 int arg3
= (int) wxTEXT_TYPE_ANY
;
12678 bool temp2
= false ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 PyObject
* obj2
= 0 ;
12684 char * kwnames
[] = {
12685 (char *) "self",(char *) "file",(char *) "fileType", NULL
12688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12690 if (!SWIG_IsOK(res1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12693 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12696 arg2
= wxString_in_helper(obj1
);
12697 if (arg2
== NULL
) SWIG_fail
;
12702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12703 if (!SWIG_IsOK(ecode3
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12706 arg3
= static_cast< int >(val3
);
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12731 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 PyObject
*resultobj
= 0;
12733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12736 PyObject
*swig_obj
[1] ;
12738 if (!args
) SWIG_fail
;
12739 swig_obj
[0] = args
;
12740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->MarkDirty();
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_Py_Void();
12758 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12759 PyObject
*resultobj
= 0;
12760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 PyObject
*swig_obj
[1] ;
12765 if (!args
) SWIG_fail
;
12766 swig_obj
[0] = args
;
12767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12771 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 (arg1
)->DiscardEdits();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_Py_Void();
12785 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char * kwnames
[] = {
12796 (char *) "self",(char *) "modified", NULL
12799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12804 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12806 if (!SWIG_IsOK(ecode2
)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12809 arg2
= static_cast< bool >(val2
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->SetModified(arg2
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_Py_Void();
12823 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
= 0;
12825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12826 unsigned long arg2
;
12829 unsigned long val2
;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 char * kwnames
[] = {
12834 (char *) "self",(char *) "len", NULL
12837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12839 if (!SWIG_IsOK(res1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12842 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12843 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12844 if (!SWIG_IsOK(ecode2
)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12847 arg2
= static_cast< unsigned long >(val2
);
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 (arg1
)->SetMaxLength(arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_Py_Void();
12861 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12864 wxString
*arg2
= 0 ;
12867 bool temp2
= false ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "self",(char *) "text", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->WriteText((wxString
const &)*arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_Py_Void();
12906 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
= 0;
12908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12909 wxString
*arg2
= 0 ;
12912 bool temp2
= false ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "text", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12924 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12926 arg2
= wxString_in_helper(obj1
);
12927 if (arg2
== NULL
) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->AppendText((wxString
const &)*arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= 0;
12953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12954 wxKeyEvent
*arg2
= 0 ;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 char * kwnames
[] = {
12963 (char *) "self",(char *) "event", NULL
12966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12968 if (!SWIG_IsOK(res1
)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12971 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12973 if (!SWIG_IsOK(res2
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12979 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12995 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13000 wxTextAttr
*arg4
= 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 PyObject
* obj2
= 0 ;
13013 PyObject
* obj3
= 0 ;
13014 char * kwnames
[] = {
13015 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13023 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13025 if (!SWIG_IsOK(ecode2
)) {
13026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13028 arg2
= static_cast< long >(val2
);
13029 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13030 if (!SWIG_IsOK(ecode3
)) {
13031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13033 arg3
= static_cast< long >(val3
);
13034 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13035 if (!SWIG_IsOK(res4
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13041 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13057 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
= 0;
13059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13061 wxTextAttr
*arg3
= 0 ;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 char * kwnames
[] = {
13073 (char *) "self",(char *) "position",(char *) "style", NULL
13076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13078 if (!SWIG_IsOK(res1
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13081 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13083 if (!SWIG_IsOK(ecode2
)) {
13084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13086 arg2
= static_cast< long >(val2
);
13087 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13088 if (!SWIG_IsOK(res3
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13094 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13110 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13113 wxTextAttr
*arg2
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char * kwnames
[] = {
13122 (char *) "self",(char *) "style", NULL
13125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13130 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13132 if (!SWIG_IsOK(res2
)) {
13133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13138 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13154 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 PyObject
*resultobj
= 0;
13156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13157 wxTextAttr
*result
= 0 ;
13160 PyObject
*swig_obj
[1] ;
13162 if (!args
) SWIG_fail
;
13163 swig_obj
[0] = args
;
13164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13168 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13173 result
= (wxTextAttr
*) &_result_ref
;
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13185 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= 0;
13187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 char * kwnames
[] = {
13201 (char *) "self",(char *) "x",(char *) "y", NULL
13204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13209 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13210 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13211 if (!SWIG_IsOK(ecode2
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13214 arg2
= static_cast< long >(val2
);
13215 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13216 if (!SWIG_IsOK(ecode3
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13219 arg3
= static_cast< long >(val3
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_From_long(static_cast< long >(result
));
13233 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
= 0;
13235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13237 long *arg3
= (long *) 0 ;
13238 long *arg4
= (long *) 0 ;
13244 int res3
= SWIG_TMPOBJ
;
13246 int res4
= SWIG_TMPOBJ
;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 char * kwnames
[] = {
13250 (char *) "self",(char *) "pos", NULL
13255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13257 if (!SWIG_IsOK(res1
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13262 if (!SWIG_IsOK(ecode2
)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13265 arg2
= static_cast< long >(val2
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_Py_Void();
13273 if (SWIG_IsTmpObj(res3
)) {
13274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13279 if (SWIG_IsTmpObj(res4
)) {
13280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13282 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13291 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
= 0;
13293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 char * kwnames
[] = {
13302 (char *) "self",(char *) "pos", NULL
13305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13307 if (!SWIG_IsOK(res1
)) {
13308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13310 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13312 if (!SWIG_IsOK(ecode2
)) {
13313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13315 arg2
= static_cast< long >(val2
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 (arg1
)->ShowPosition(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_Py_Void();
13329 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
= 0;
13331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13332 wxPoint
*arg2
= 0 ;
13333 long *arg3
= (long *) 0 ;
13334 long *arg4
= (long *) 0 ;
13335 wxTextCtrlHitTestResult result
;
13340 int res3
= SWIG_TMPOBJ
;
13342 int res4
= SWIG_TMPOBJ
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char * kwnames
[] = {
13346 (char *) "self",(char *) "pt", NULL
13351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_int(static_cast< int >(result
));
13368 if (SWIG_IsTmpObj(res3
)) {
13369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13374 if (SWIG_IsTmpObj(res4
)) {
13375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13377 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13389 wxPoint
*arg2
= 0 ;
13390 long *arg3
= (long *) 0 ;
13391 wxTextCtrlHitTestResult result
;
13396 int res3
= SWIG_TMPOBJ
;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 char * kwnames
[] = {
13400 (char *) "self",(char *) "pt", NULL
13404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_From_int(static_cast< int >(result
));
13421 if (SWIG_IsTmpObj(res3
)) {
13422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13424 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13433 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13434 PyObject
*resultobj
= 0;
13435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13438 PyObject
*swig_obj
[1] ;
13440 if (!args
) SWIG_fail
;
13441 swig_obj
[0] = args
;
13442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13443 if (!SWIG_IsOK(res1
)) {
13444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13446 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_Py_Void();
13460 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13461 PyObject
*resultobj
= 0;
13462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13465 PyObject
*swig_obj
[1] ;
13467 if (!args
) SWIG_fail
;
13468 swig_obj
[0] = args
;
13469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13470 if (!SWIG_IsOK(res1
)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13473 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_Py_Void();
13487 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13492 PyObject
*swig_obj
[1] ;
13494 if (!args
) SWIG_fail
;
13495 swig_obj
[0] = args
;
13496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13500 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_Py_Void();
13514 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13520 PyObject
*swig_obj
[1] ;
13522 if (!args
) SWIG_fail
;
13523 swig_obj
[0] = args
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13528 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13545 PyObject
*resultobj
= 0;
13546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13550 PyObject
*swig_obj
[1] ;
13552 if (!args
) SWIG_fail
;
13553 swig_obj
[0] = args
;
13554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13558 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13574 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13575 PyObject
*resultobj
= 0;
13576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13580 PyObject
*swig_obj
[1] ;
13582 if (!args
) SWIG_fail
;
13583 swig_obj
[0] = args
;
13584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13585 if (!SWIG_IsOK(res1
)) {
13586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13588 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13604 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13605 PyObject
*resultobj
= 0;
13606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13609 PyObject
*swig_obj
[1] ;
13611 if (!args
) SWIG_fail
;
13612 swig_obj
[0] = args
;
13613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13614 if (!SWIG_IsOK(res1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13617 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_Py_Void();
13631 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13632 PyObject
*resultobj
= 0;
13633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13636 PyObject
*swig_obj
[1] ;
13638 if (!args
) SWIG_fail
;
13639 swig_obj
[0] = args
;
13640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13644 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= SWIG_Py_Void();
13658 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13659 PyObject
*resultobj
= 0;
13660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13664 PyObject
*swig_obj
[1] ;
13666 if (!args
) SWIG_fail
;
13667 swig_obj
[0] = args
;
13668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13672 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13688 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13694 PyObject
*swig_obj
[1] ;
13696 if (!args
) SWIG_fail
;
13697 swig_obj
[0] = args
;
13698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13718 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
= 0;
13720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char * kwnames
[] = {
13729 (char *) "self",(char *) "pos", NULL
13732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13737 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13739 if (!SWIG_IsOK(ecode2
)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13742 arg2
= static_cast< long >(val2
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->SetInsertionPoint(arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_Py_Void();
13756 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13757 PyObject
*resultobj
= 0;
13758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13761 PyObject
*swig_obj
[1] ;
13763 if (!args
) SWIG_fail
;
13764 swig_obj
[0] = args
;
13765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13769 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 (arg1
)->SetInsertionPointEnd();
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_Py_Void();
13783 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13784 PyObject
*resultobj
= 0;
13785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13789 PyObject
*swig_obj
[1] ;
13791 if (!args
) SWIG_fail
;
13792 swig_obj
[0] = args
;
13793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13794 if (!SWIG_IsOK(res1
)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13797 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_From_long(static_cast< long >(result
));
13811 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13812 PyObject
*resultobj
= 0;
13813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13817 PyObject
*swig_obj
[1] ;
13819 if (!args
) SWIG_fail
;
13820 swig_obj
[0] = args
;
13821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13822 if (!SWIG_IsOK(res1
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13825 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_From_long(static_cast< long >(result
));
13839 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
= 0;
13841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 PyObject
* obj2
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "from",(char *) "to", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13862 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13863 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13867 arg2
= static_cast< long >(val2
);
13868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13869 if (!SWIG_IsOK(ecode3
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13872 arg3
= static_cast< long >(val3
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 (arg1
)->SetSelection(arg2
,arg3
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13886 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13887 PyObject
*resultobj
= 0;
13888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13891 PyObject
*swig_obj
[1] ;
13893 if (!args
) SWIG_fail
;
13894 swig_obj
[0] = args
;
13895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13896 if (!SWIG_IsOK(res1
)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13899 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 (arg1
)->SelectAll();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_Py_Void();
13913 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "editable", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13932 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13937 arg2
= static_cast< bool >(val2
);
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 (arg1
)->SetEditable(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_Py_Void();
13951 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char * kwnames
[] = {
13962 (char *) "self",(char *) "check", NULL
13965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13970 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13971 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13972 if (!SWIG_IsOK(ecode2
)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13975 arg2
= static_cast< bool >(val2
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 (arg1
)->MacCheckSpelling(arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_Py_Void();
13989 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14002 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 (arg1
)->SendTextUpdatedEvent();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_Py_Void();
14016 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
= 0;
14018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14019 wxString
*arg2
= 0 ;
14022 bool temp2
= false ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char * kwnames
[] = {
14026 (char *) "self",(char *) "text", NULL
14029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14031 if (!SWIG_IsOK(res1
)) {
14032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14034 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14036 arg2
= wxString_in_helper(obj1
);
14037 if (arg2
== NULL
) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_Py_Void();
14061 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= 0;
14063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 char * kwnames
[] = {
14077 (char *) "self",(char *) "from",(char *) "to", NULL
14080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14082 if (!SWIG_IsOK(res1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14085 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14087 if (!SWIG_IsOK(ecode2
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14090 arg2
= static_cast< long >(val2
);
14091 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14092 if (!SWIG_IsOK(ecode3
)) {
14093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14095 arg3
= static_cast< long >(val3
);
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14115 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
= 0;
14117 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14118 SwigValueWrapper
<wxVisualAttributes
> result
;
14121 PyObject
* obj0
= 0 ;
14122 char * kwnames
[] = {
14123 (char *) "variant", NULL
14126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14129 if (!SWIG_IsOK(ecode1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14132 arg1
= static_cast< wxWindowVariant
>(val1
);
14135 if (!wxPyCheckForApp()) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14148 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14151 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14152 return SWIG_Py_Void();
14155 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14156 return SWIG_Python_InitShadowInstance(args
);
14159 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
= 0;
14162 wxMouseEvent
*arg2
= 0 ;
14165 wxTextUrlEvent
*result
= 0 ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 PyObject
* obj2
= 0 ;
14177 PyObject
* obj3
= 0 ;
14178 char * kwnames
[] = {
14179 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14184 if (!SWIG_IsOK(ecode1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14187 arg1
= static_cast< int >(val1
);
14188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14189 if (!SWIG_IsOK(res2
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14195 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14196 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14197 if (!SWIG_IsOK(ecode3
)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14200 arg3
= static_cast< long >(val3
);
14201 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14202 if (!SWIG_IsOK(ecode4
)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14205 arg4
= static_cast< long >(val4
);
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14219 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 PyObject
*resultobj
= 0;
14221 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14222 wxMouseEvent
*result
= 0 ;
14225 PyObject
*swig_obj
[1] ;
14227 if (!args
) SWIG_fail
;
14228 swig_obj
[0] = args
;
14229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14233 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14238 result
= (wxMouseEvent
*) &_result_ref
;
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14250 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14264 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_From_long(static_cast< long >(result
));
14278 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14284 PyObject
*swig_obj
[1] ;
14286 if (!args
) SWIG_fail
;
14287 swig_obj
[0] = args
;
14288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14292 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_From_long(static_cast< long >(result
));
14306 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14309 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14310 return SWIG_Py_Void();
14313 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14314 return SWIG_Python_InitShadowInstance(args
);
14317 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14318 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14323 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14324 PyObject
*pyobj
= 0;
14328 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14330 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14337 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= 0;
14339 wxWindow
*arg1
= (wxWindow
*) 0 ;
14340 int arg2
= (int) -1 ;
14341 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14342 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14343 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14344 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14345 long arg5
= (long) wxSB_HORIZONTAL
;
14346 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14347 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14348 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14350 wxScrollBar
*result
= 0 ;
14361 bool temp7
= false ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 PyObject
* obj3
= 0 ;
14366 PyObject
* obj4
= 0 ;
14367 PyObject
* obj5
= 0 ;
14368 PyObject
* obj6
= 0 ;
14369 char * kwnames
[] = {
14370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14378 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14381 if (!SWIG_IsOK(ecode2
)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14384 arg2
= static_cast< int >(val2
);
14389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14395 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14399 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14400 if (!SWIG_IsOK(ecode5
)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14403 arg5
= static_cast< long >(val5
);
14406 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14407 if (!SWIG_IsOK(res6
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14413 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14417 arg7
= wxString_in_helper(obj6
);
14418 if (arg7
== NULL
) SWIG_fail
;
14423 if (!wxPyCheckForApp()) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14444 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxScrollBar
*result
= 0 ;
14448 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14450 if (!wxPyCheckForApp()) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (wxScrollBar
*)new wxScrollBar();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14463 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
= 0;
14465 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14466 wxWindow
*arg2
= (wxWindow
*) 0 ;
14467 int arg3
= (int) -1 ;
14468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14472 long arg6
= (long) wxSB_HORIZONTAL
;
14473 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14474 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14475 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14490 bool temp8
= false ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 PyObject
* obj4
= 0 ;
14496 PyObject
* obj5
= 0 ;
14497 PyObject
* obj6
= 0 ;
14498 PyObject
* obj7
= 0 ;
14499 char * kwnames
[] = {
14500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14508 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14510 if (!SWIG_IsOK(res2
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14516 if (!SWIG_IsOK(ecode3
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14519 arg3
= static_cast< int >(val3
);
14524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14530 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14534 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14535 if (!SWIG_IsOK(ecode6
)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14538 arg6
= static_cast< long >(val6
);
14541 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14542 if (!SWIG_IsOK(res7
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14548 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14552 arg8
= wxString_in_helper(obj7
);
14553 if (arg8
== NULL
) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14580 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14594 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int(static_cast< int >(result
));
14608 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14614 PyObject
*swig_obj
[1] ;
14616 if (!args
) SWIG_fail
;
14617 swig_obj
[0] = args
;
14618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14622 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_From_int(static_cast< int >(result
));
14636 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14637 PyObject
*resultobj
= 0;
14638 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14642 PyObject
*swig_obj
[1] ;
14644 if (!args
) SWIG_fail
;
14645 swig_obj
[0] = args
;
14646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14650 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_From_int(static_cast< int >(result
));
14664 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14665 PyObject
*resultobj
= 0;
14666 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14670 PyObject
*swig_obj
[1] ;
14672 if (!args
) SWIG_fail
;
14673 swig_obj
[0] = args
;
14674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14678 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_From_int(static_cast< int >(result
));
14692 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 PyObject
*resultobj
= 0;
14694 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14698 PyObject
*swig_obj
[1] ;
14700 if (!args
) SWIG_fail
;
14701 swig_obj
[0] = args
;
14702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14706 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14722 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
= 0;
14724 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char * kwnames
[] = {
14733 (char *) "self",(char *) "viewStart", NULL
14736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14741 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14743 if (!SWIG_IsOK(ecode2
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14746 arg2
= static_cast< int >(val2
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->SetThumbPosition(arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_Py_Void();
14760 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
= 0;
14762 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14763 SwigValueWrapper
<wxVisualAttributes
> result
;
14766 PyObject
* obj0
= 0 ;
14767 char * kwnames
[] = {
14768 (char *) "variant", NULL
14771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14774 if (!SWIG_IsOK(ecode1
)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14777 arg1
= static_cast< wxWindowVariant
>(val1
);
14780 if (!wxPyCheckForApp()) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14793 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14796 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14797 return SWIG_Py_Void();
14800 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 return SWIG_Python_InitShadowInstance(args
);
14804 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14805 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14810 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14811 PyObject
*pyobj
= 0;
14815 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14817 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14824 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14825 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14830 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14831 PyObject
*pyobj
= 0;
14835 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14837 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14844 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
= 0;
14846 wxWindow
*arg1
= (wxWindow
*) 0 ;
14847 int arg2
= (int) -1 ;
14848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14852 long arg5
= (long) wxSP_HORIZONTAL
;
14853 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14855 wxSpinButton
*result
= 0 ;
14864 bool temp6
= false ;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 PyObject
* obj2
= 0 ;
14868 PyObject
* obj3
= 0 ;
14869 PyObject
* obj4
= 0 ;
14870 PyObject
* obj5
= 0 ;
14871 char * kwnames
[] = {
14872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14883 if (!SWIG_IsOK(ecode2
)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14886 arg2
= static_cast< int >(val2
);
14891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14901 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14902 if (!SWIG_IsOK(ecode5
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14905 arg5
= static_cast< long >(val5
);
14909 arg6
= wxString_in_helper(obj5
);
14910 if (arg6
== NULL
) SWIG_fail
;
14915 if (!wxPyCheckForApp()) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14936 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14937 PyObject
*resultobj
= 0;
14938 wxSpinButton
*result
= 0 ;
14940 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14942 if (!wxPyCheckForApp()) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (wxSpinButton
*)new wxSpinButton();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14955 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14958 wxWindow
*arg2
= (wxWindow
*) 0 ;
14959 int arg3
= (int) -1 ;
14960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14964 long arg6
= (long) wxSP_HORIZONTAL
;
14965 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14978 bool temp7
= false ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 PyObject
* obj3
= 0 ;
14983 PyObject
* obj4
= 0 ;
14984 PyObject
* obj5
= 0 ;
14985 PyObject
* obj6
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14995 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14997 if (!SWIG_IsOK(res2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15003 if (!SWIG_IsOK(ecode3
)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15006 arg3
= static_cast< int >(val3
);
15011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15021 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15022 if (!SWIG_IsOK(ecode6
)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15025 arg6
= static_cast< long >(val6
);
15029 arg7
= wxString_in_helper(obj6
);
15030 if (arg7
== NULL
) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15057 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15063 PyObject
*swig_obj
[1] ;
15065 if (!args
) SWIG_fail
;
15066 swig_obj
[0] = args
;
15067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15068 if (!SWIG_IsOK(res1
)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15071 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_From_int(static_cast< int >(result
));
15085 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15086 PyObject
*resultobj
= 0;
15087 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15091 PyObject
*swig_obj
[1] ;
15093 if (!args
) SWIG_fail
;
15094 swig_obj
[0] = args
;
15095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15096 if (!SWIG_IsOK(res1
)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15099 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_From_int(static_cast< int >(result
));
15113 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15114 PyObject
*resultobj
= 0;
15115 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15119 PyObject
*swig_obj
[1] ;
15121 if (!args
) SWIG_fail
;
15122 swig_obj
[0] = args
;
15123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15127 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= SWIG_From_int(static_cast< int >(result
));
15141 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
= 0;
15143 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char * kwnames
[] = {
15152 (char *) "self",(char *) "val", NULL
15155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15157 if (!SWIG_IsOK(res1
)) {
15158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15160 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15162 if (!SWIG_IsOK(ecode2
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15165 arg2
= static_cast< int >(val2
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetValue(arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= SWIG_Py_Void();
15179 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
= 0;
15181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "self",(char *) "minVal", NULL
15193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15195 if (!SWIG_IsOK(res1
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15198 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15200 if (!SWIG_IsOK(ecode2
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15203 arg2
= static_cast< int >(val2
);
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 (arg1
)->SetMin(arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_Py_Void();
15217 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
= 0;
15219 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char * kwnames
[] = {
15228 (char *) "self",(char *) "maxVal", NULL
15231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15233 if (!SWIG_IsOK(res1
)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15236 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15238 if (!SWIG_IsOK(ecode2
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15241 arg2
= static_cast< int >(val2
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 (arg1
)->SetMax(arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_Py_Void();
15255 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
= 0;
15257 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 char * kwnames
[] = {
15270 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15275 if (!SWIG_IsOK(res1
)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15278 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15280 if (!SWIG_IsOK(ecode2
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15283 arg2
= static_cast< int >(val2
);
15284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15285 if (!SWIG_IsOK(ecode3
)) {
15286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15288 arg3
= static_cast< int >(val3
);
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 (arg1
)->SetRange(arg2
,arg3
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_Py_Void();
15302 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15303 PyObject
*resultobj
= 0;
15304 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15308 PyObject
*swig_obj
[1] ;
15310 if (!args
) SWIG_fail
;
15311 swig_obj
[0] = args
;
15312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15316 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15335 SwigValueWrapper
<wxVisualAttributes
> result
;
15338 PyObject
* obj0
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "variant", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15346 if (!SWIG_IsOK(ecode1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15349 arg1
= static_cast< wxWindowVariant
>(val1
);
15352 if (!wxPyCheckForApp()) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15365 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15368 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15369 return SWIG_Py_Void();
15372 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15373 return SWIG_Python_InitShadowInstance(args
);
15376 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= 0;
15378 wxWindow
*arg1
= (wxWindow
*) 0 ;
15379 int arg2
= (int) -1 ;
15380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15386 long arg6
= (long) wxSP_ARROW_KEYS
;
15387 int arg7
= (int) 0 ;
15388 int arg8
= (int) 100 ;
15389 int arg9
= (int) 0 ;
15390 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15391 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15392 wxSpinCtrl
*result
= 0 ;
15397 bool temp3
= false ;
15408 bool temp10
= false ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 PyObject
* obj2
= 0 ;
15412 PyObject
* obj3
= 0 ;
15413 PyObject
* obj4
= 0 ;
15414 PyObject
* obj5
= 0 ;
15415 PyObject
* obj6
= 0 ;
15416 PyObject
* obj7
= 0 ;
15417 PyObject
* obj8
= 0 ;
15418 PyObject
* obj9
= 0 ;
15419 char * kwnames
[] = {
15420 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15431 if (!SWIG_IsOK(ecode2
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15434 arg2
= static_cast< int >(val2
);
15438 arg3
= wxString_in_helper(obj2
);
15439 if (arg3
== NULL
) SWIG_fail
;
15446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15456 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15457 if (!SWIG_IsOK(ecode6
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15460 arg6
= static_cast< long >(val6
);
15463 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15464 if (!SWIG_IsOK(ecode7
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15467 arg7
= static_cast< int >(val7
);
15470 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15471 if (!SWIG_IsOK(ecode8
)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15474 arg8
= static_cast< int >(val8
);
15477 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15478 if (!SWIG_IsOK(ecode9
)) {
15479 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15481 arg9
= static_cast< int >(val9
);
15485 arg10
= wxString_in_helper(obj9
);
15486 if (arg10
== NULL
) SWIG_fail
;
15491 if (!wxPyCheckForApp()) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15520 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15521 PyObject
*resultobj
= 0;
15522 wxSpinCtrl
*result
= 0 ;
15524 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15526 if (!wxPyCheckForApp()) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15539 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
= 0;
15541 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15542 wxWindow
*arg2
= (wxWindow
*) 0 ;
15543 int arg3
= (int) -1 ;
15544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15550 long arg7
= (long) wxSP_ARROW_KEYS
;
15551 int arg8
= (int) 0 ;
15552 int arg9
= (int) 100 ;
15553 int arg10
= (int) 0 ;
15554 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15555 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15563 bool temp4
= false ;
15574 bool temp11
= false ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 PyObject
* obj2
= 0 ;
15578 PyObject
* obj3
= 0 ;
15579 PyObject
* obj4
= 0 ;
15580 PyObject
* obj5
= 0 ;
15581 PyObject
* obj6
= 0 ;
15582 PyObject
* obj7
= 0 ;
15583 PyObject
* obj8
= 0 ;
15584 PyObject
* obj9
= 0 ;
15585 PyObject
* obj10
= 0 ;
15586 char * kwnames
[] = {
15587 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15592 if (!SWIG_IsOK(res1
)) {
15593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15595 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15597 if (!SWIG_IsOK(res2
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15603 if (!SWIG_IsOK(ecode3
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15606 arg3
= static_cast< int >(val3
);
15610 arg4
= wxString_in_helper(obj3
);
15611 if (arg4
== NULL
) SWIG_fail
;
15618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15629 if (!SWIG_IsOK(ecode7
)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15632 arg7
= static_cast< long >(val7
);
15635 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15636 if (!SWIG_IsOK(ecode8
)) {
15637 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15639 arg8
= static_cast< int >(val8
);
15642 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15643 if (!SWIG_IsOK(ecode9
)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15646 arg9
= static_cast< int >(val9
);
15649 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15650 if (!SWIG_IsOK(ecode10
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15653 arg10
= static_cast< int >(val10
);
15657 arg11
= wxString_in_helper(obj10
);
15658 if (arg11
== NULL
) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15693 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15699 PyObject
*swig_obj
[1] ;
15701 if (!args
) SWIG_fail
;
15702 swig_obj
[0] = args
;
15703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15707 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_From_int(static_cast< int >(result
));
15721 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
= 0;
15723 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "value", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15740 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15745 arg2
= static_cast< int >(val2
);
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->SetValue(arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_Py_Void();
15759 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
= 0;
15761 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15762 wxString
*arg2
= 0 ;
15765 bool temp2
= false ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "self",(char *) "text", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15777 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15779 arg2
= wxString_in_helper(obj1
);
15780 if (arg2
== NULL
) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 (arg1
)->SetValue((wxString
const &)*arg2
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_Py_Void();
15804 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= 0;
15806 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 PyObject
* obj2
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15827 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15829 if (!SWIG_IsOK(ecode2
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15832 arg2
= static_cast< int >(val2
);
15833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15834 if (!SWIG_IsOK(ecode3
)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15837 arg3
= static_cast< int >(val3
);
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetRange(arg2
,arg3
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_Py_Void();
15851 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 PyObject
*resultobj
= 0;
15853 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15857 PyObject
*swig_obj
[1] ;
15859 if (!args
) SWIG_fail
;
15860 swig_obj
[0] = args
;
15861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15865 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_From_int(static_cast< int >(result
));
15879 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15880 PyObject
*resultobj
= 0;
15881 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15885 PyObject
*swig_obj
[1] ;
15887 if (!args
) SWIG_fail
;
15888 swig_obj
[0] = args
;
15889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15893 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_From_int(static_cast< int >(result
));
15907 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= 0;
15909 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 PyObject
* obj2
= 0 ;
15921 char * kwnames
[] = {
15922 (char *) "self",(char *) "from",(char *) "to", NULL
15925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15930 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15932 if (!SWIG_IsOK(ecode2
)) {
15933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15935 arg2
= static_cast< long >(val2
);
15936 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15937 if (!SWIG_IsOK(ecode3
)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15940 arg3
= static_cast< long >(val3
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 (arg1
)->SetSelection(arg2
,arg3
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_Py_Void();
15954 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
= 0;
15956 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15957 SwigValueWrapper
<wxVisualAttributes
> result
;
15960 PyObject
* obj0
= 0 ;
15961 char * kwnames
[] = {
15962 (char *) "variant", NULL
15965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15968 if (!SWIG_IsOK(ecode1
)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15971 arg1
= static_cast< wxWindowVariant
>(val1
);
15974 if (!wxPyCheckForApp()) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15987 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15991 return SWIG_Py_Void();
15994 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 return SWIG_Python_InitShadowInstance(args
);
15998 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
= 0;
16000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16001 int arg2
= (int) 0 ;
16002 wxSpinEvent
*result
= 0 ;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 char * kwnames
[] = {
16010 (char *) "commandType",(char *) "winid", NULL
16013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16016 if (!SWIG_IsOK(ecode1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16019 arg1
= static_cast< wxEventType
>(val1
);
16022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16023 if (!SWIG_IsOK(ecode2
)) {
16024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16026 arg2
= static_cast< int >(val2
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16041 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16042 PyObject
*resultobj
= 0;
16043 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16047 PyObject
*swig_obj
[1] ;
16049 if (!args
) SWIG_fail
;
16050 swig_obj
[0] = args
;
16051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16052 if (!SWIG_IsOK(res1
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16055 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_From_int(static_cast< int >(result
));
16069 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
= 0;
16071 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "self",(char *) "pos", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16088 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16090 if (!SWIG_IsOK(ecode2
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16093 arg2
= static_cast< int >(val2
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->SetPosition(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= SWIG_Py_Void();
16107 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16110 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16111 return SWIG_Py_Void();
16114 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 return SWIG_Python_InitShadowInstance(args
);
16118 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16119 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16124 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16125 PyObject
*pyobj
= 0;
16129 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16131 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16138 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16139 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16144 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16145 PyObject
*pyobj
= 0;
16149 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16151 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16158 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
= 0;
16160 wxWindow
*arg1
= (wxWindow
*) 0 ;
16161 int arg2
= (int) -1 ;
16162 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16163 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16168 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16169 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16170 int arg7
= (int) 0 ;
16171 long arg8
= (long) wxRA_HORIZONTAL
;
16172 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16173 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16174 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16175 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16176 wxRadioBox
*result
= 0 ;
16181 bool temp3
= false ;
16184 bool temp6
= false ;
16191 bool temp10
= false ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 PyObject
* obj2
= 0 ;
16195 PyObject
* obj3
= 0 ;
16196 PyObject
* obj4
= 0 ;
16197 PyObject
* obj5
= 0 ;
16198 PyObject
* obj6
= 0 ;
16199 PyObject
* obj7
= 0 ;
16200 PyObject
* obj8
= 0 ;
16201 PyObject
* obj9
= 0 ;
16202 char * kwnames
[] = {
16203 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16208 if (!SWIG_IsOK(res1
)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16214 if (!SWIG_IsOK(ecode2
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16217 arg2
= static_cast< int >(val2
);
16221 arg3
= wxString_in_helper(obj2
);
16222 if (arg3
== NULL
) SWIG_fail
;
16229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16240 if (! PySequence_Check(obj5
)) {
16241 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16244 arg6
= new wxArrayString
;
16246 int i
, len
=PySequence_Length(obj5
);
16247 for (i
=0; i
<len
; i
++) {
16248 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16249 wxString
* s
= wxString_in_helper(item
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16258 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16259 if (!SWIG_IsOK(ecode7
)) {
16260 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16262 arg7
= static_cast< int >(val7
);
16265 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16266 if (!SWIG_IsOK(ecode8
)) {
16267 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16269 arg8
= static_cast< long >(val8
);
16272 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16273 if (!SWIG_IsOK(res9
)) {
16274 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16279 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16283 arg10
= wxString_in_helper(obj9
);
16284 if (arg10
== NULL
) SWIG_fail
;
16289 if (!wxPyCheckForApp()) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 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
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16301 if (temp6
) delete arg6
;
16314 if (temp6
) delete arg6
;
16324 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16326 wxRadioBox
*result
= 0 ;
16328 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16330 if (!wxPyCheckForApp()) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (wxRadioBox
*)new wxRadioBox();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16343 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
= 0;
16345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16346 wxWindow
*arg2
= (wxWindow
*) 0 ;
16347 int arg3
= (int) -1 ;
16348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16350 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16351 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16352 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16353 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16354 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16355 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16356 int arg8
= (int) 0 ;
16357 long arg9
= (long) wxRA_HORIZONTAL
;
16358 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16359 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16360 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16361 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16369 bool temp4
= false ;
16372 bool temp7
= false ;
16379 bool temp11
= false ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 PyObject
* obj2
= 0 ;
16383 PyObject
* obj3
= 0 ;
16384 PyObject
* obj4
= 0 ;
16385 PyObject
* obj5
= 0 ;
16386 PyObject
* obj6
= 0 ;
16387 PyObject
* obj7
= 0 ;
16388 PyObject
* obj8
= 0 ;
16389 PyObject
* obj9
= 0 ;
16390 PyObject
* obj10
= 0 ;
16391 char * kwnames
[] = {
16392 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16397 if (!SWIG_IsOK(res1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16400 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16402 if (!SWIG_IsOK(res2
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16408 if (!SWIG_IsOK(ecode3
)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16411 arg3
= static_cast< int >(val3
);
16415 arg4
= wxString_in_helper(obj3
);
16416 if (arg4
== NULL
) SWIG_fail
;
16423 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16429 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16434 if (! PySequence_Check(obj6
)) {
16435 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16438 arg7
= new wxArrayString
;
16440 int i
, len
=PySequence_Length(obj6
);
16441 for (i
=0; i
<len
; i
++) {
16442 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16443 wxString
* s
= wxString_in_helper(item
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16452 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16453 if (!SWIG_IsOK(ecode8
)) {
16454 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16456 arg8
= static_cast< int >(val8
);
16459 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16460 if (!SWIG_IsOK(ecode9
)) {
16461 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16463 arg9
= static_cast< long >(val9
);
16466 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16467 if (!SWIG_IsOK(res10
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16473 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16477 arg11
= wxString_in_helper(obj10
);
16478 if (arg11
== NULL
) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 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
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16496 if (temp7
) delete arg7
;
16509 if (temp7
) delete arg7
;
16519 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char * kwnames
[] = {
16530 (char *) "self",(char *) "n", NULL
16533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16538 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16540 if (!SWIG_IsOK(ecode2
)) {
16541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16543 arg2
= static_cast< int >(val2
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 (arg1
)->SetSelection(arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_Py_Void();
16557 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16558 PyObject
*resultobj
= 0;
16559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16563 PyObject
*swig_obj
[1] ;
16565 if (!args
) SWIG_fail
;
16566 swig_obj
[0] = args
;
16567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16571 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_From_int(static_cast< int >(result
));
16585 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16586 PyObject
*resultobj
= 0;
16587 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16591 PyObject
*swig_obj
[1] ;
16593 if (!args
) SWIG_fail
;
16594 swig_obj
[0] = args
;
16595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16596 if (!SWIG_IsOK(res1
)) {
16597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16599 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16619 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
= 0;
16621 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16622 wxString
*arg2
= 0 ;
16626 bool temp2
= false ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char * kwnames
[] = {
16630 (char *) "self",(char *) "s", NULL
16633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16635 if (!SWIG_IsOK(res1
)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16638 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16640 arg2
= wxString_in_helper(obj1
);
16641 if (arg2
== NULL
) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16667 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16668 PyObject
*resultobj
= 0;
16669 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16673 PyObject
*swig_obj
[1] ;
16675 if (!args
) SWIG_fail
;
16676 swig_obj
[0] = args
;
16677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16678 if (!SWIG_IsOK(res1
)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16681 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16695 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
= 0;
16697 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16698 wxString
*arg2
= 0 ;
16702 bool temp2
= false ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "s", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16714 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16716 arg2
= wxString_in_helper(obj1
);
16717 if (arg2
== NULL
) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= SWIG_From_int(static_cast< int >(result
));
16741 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
= 0;
16743 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "self",(char *) "n", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16761 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16763 if (!SWIG_IsOK(ecode2
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16766 arg2
= static_cast< int >(val2
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16786 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= 0;
16788 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16790 wxString
*arg3
= 0 ;
16795 bool temp3
= false ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 PyObject
* obj2
= 0 ;
16799 char * kwnames
[] = {
16800 (char *) "self",(char *) "n",(char *) "label", NULL
16803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16808 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16810 if (!SWIG_IsOK(ecode2
)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16813 arg2
= static_cast< int >(val2
);
16815 arg3
= wxString_in_helper(obj2
);
16816 if (arg3
== NULL
) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16840 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
= 0;
16842 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16843 unsigned int arg2
;
16844 bool arg3
= (bool) true ;
16847 unsigned int val2
;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 PyObject
* obj2
= 0 ;
16854 char * kwnames
[] = {
16855 (char *) "self",(char *) "n",(char *) "enable", NULL
16858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16860 if (!SWIG_IsOK(res1
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16863 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16864 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16865 if (!SWIG_IsOK(ecode2
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16868 arg2
= static_cast< unsigned int >(val2
);
16870 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16871 if (!SWIG_IsOK(ecode3
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16874 arg3
= static_cast< bool >(val3
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 (arg1
)->Enable(arg2
,arg3
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_Py_Void();
16889 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
= 0;
16891 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16892 unsigned int arg2
;
16893 bool arg3
= (bool) true ;
16896 unsigned int val2
;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 PyObject
* obj2
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "self",(char *) "n",(char *) "show", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16909 if (!SWIG_IsOK(res1
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16912 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16913 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16914 if (!SWIG_IsOK(ecode2
)) {
16915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16917 arg2
= static_cast< unsigned int >(val2
);
16919 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16920 if (!SWIG_IsOK(ecode3
)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16923 arg3
= static_cast< bool >(val3
);
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->Show(arg2
,arg3
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16941 unsigned int arg2
;
16945 unsigned int val2
;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char * kwnames
[] = {
16950 (char *) "self",(char *) "n", NULL
16953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16958 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16959 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16960 if (!SWIG_IsOK(ecode2
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16963 arg2
= static_cast< unsigned int >(val2
);
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16979 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
= 0;
16981 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16982 unsigned int arg2
;
16986 unsigned int val2
;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "self",(char *) "n", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16999 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17000 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17001 if (!SWIG_IsOK(ecode2
)) {
17002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17004 arg2
= static_cast< unsigned int >(val2
);
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17021 PyObject
*resultobj
= 0;
17022 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17023 unsigned int result
;
17026 PyObject
*swig_obj
[1] ;
17028 if (!args
) SWIG_fail
;
17029 swig_obj
[0] = args
;
17030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17034 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17048 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17049 PyObject
*resultobj
= 0;
17050 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17051 unsigned int result
;
17054 PyObject
*swig_obj
[1] ;
17056 if (!args
) SWIG_fail
;
17057 swig_obj
[0] = args
;
17058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17062 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17076 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
= 0;
17078 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 PyObject
* obj2
= 0 ;
17094 PyObject
* obj3
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17104 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17106 if (!SWIG_IsOK(ecode2
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17109 arg2
= static_cast< int >(val2
);
17110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17111 if (!SWIG_IsOK(ecode3
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17114 arg3
= static_cast< wxDirection
>(val3
);
17115 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17116 if (!SWIG_IsOK(ecode4
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17119 arg4
= static_cast< long >(val4
);
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_From_int(static_cast< int >(result
));
17133 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
= 0;
17135 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17136 unsigned int arg2
;
17137 wxString
*arg3
= 0 ;
17140 unsigned int val2
;
17142 bool temp3
= false ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "item",(char *) "text", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17155 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17156 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17157 if (!SWIG_IsOK(ecode2
)) {
17158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17160 arg2
= static_cast< unsigned int >(val2
);
17162 arg3
= wxString_in_helper(obj2
);
17163 if (arg3
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_Py_Void();
17187 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17190 unsigned int arg2
;
17191 wxToolTip
*result
= 0 ;
17194 unsigned int val2
;
17196 PyObject
* obj0
= 0 ;
17197 PyObject
* obj1
= 0 ;
17198 char * kwnames
[] = {
17199 (char *) "self",(char *) "item", NULL
17202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17204 if (!SWIG_IsOK(res1
)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17207 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17208 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17209 if (!SWIG_IsOK(ecode2
)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17212 arg2
= static_cast< unsigned int >(val2
);
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17228 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17231 unsigned int arg2
;
17232 wxString
*arg3
= 0 ;
17235 unsigned int val2
;
17237 bool temp3
= false ;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 PyObject
* obj2
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "n",(char *) "helpText", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17250 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17251 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17252 if (!SWIG_IsOK(ecode2
)) {
17253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17255 arg2
= static_cast< unsigned int >(val2
);
17257 arg3
= wxString_in_helper(obj2
);
17258 if (arg3
== NULL
) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17282 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
= 0;
17284 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17285 unsigned int arg2
;
17289 unsigned int val2
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char * kwnames
[] = {
17294 (char *) "self",(char *) "n", NULL
17297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17302 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17304 if (!SWIG_IsOK(ecode2
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17307 arg2
= static_cast< unsigned int >(val2
);
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17327 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
= 0;
17329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17330 SwigValueWrapper
<wxVisualAttributes
> result
;
17333 PyObject
* obj0
= 0 ;
17334 char * kwnames
[] = {
17335 (char *) "variant", NULL
17338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17341 if (!SWIG_IsOK(ecode1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17344 arg1
= static_cast< wxWindowVariant
>(val1
);
17347 if (!wxPyCheckForApp()) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17360 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17363 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17364 return SWIG_Py_Void();
17367 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17368 return SWIG_Python_InitShadowInstance(args
);
17371 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
= 0;
17373 wxWindow
*arg1
= (wxWindow
*) 0 ;
17374 int arg2
= (int) -1 ;
17375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17381 long arg6
= (long) 0 ;
17382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17384 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17386 wxRadioButton
*result
= 0 ;
17391 bool temp3
= false ;
17398 bool temp8
= false ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 PyObject
* obj2
= 0 ;
17402 PyObject
* obj3
= 0 ;
17403 PyObject
* obj4
= 0 ;
17404 PyObject
* obj5
= 0 ;
17405 PyObject
* obj6
= 0 ;
17406 PyObject
* obj7
= 0 ;
17407 char * kwnames
[] = {
17408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17413 if (!SWIG_IsOK(res1
)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17419 if (!SWIG_IsOK(ecode2
)) {
17420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17422 arg2
= static_cast< int >(val2
);
17426 arg3
= wxString_in_helper(obj2
);
17427 if (arg3
== NULL
) SWIG_fail
;
17434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17445 if (!SWIG_IsOK(ecode6
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17448 arg6
= static_cast< long >(val6
);
17451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17452 if (!SWIG_IsOK(res7
)) {
17453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17462 arg8
= wxString_in_helper(obj7
);
17463 if (arg8
== NULL
) SWIG_fail
;
17468 if (!wxPyCheckForApp()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17497 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 PyObject
*resultobj
= 0;
17499 wxRadioButton
*result
= 0 ;
17501 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17503 if (!wxPyCheckForApp()) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (wxRadioButton
*)new wxRadioButton();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17516 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= 0;
17518 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17519 wxWindow
*arg2
= (wxWindow
*) 0 ;
17520 int arg3
= (int) -1 ;
17521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17527 long arg7
= (long) 0 ;
17528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17530 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17539 bool temp4
= false ;
17546 bool temp9
= false ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 PyObject
* obj2
= 0 ;
17550 PyObject
* obj3
= 0 ;
17551 PyObject
* obj4
= 0 ;
17552 PyObject
* obj5
= 0 ;
17553 PyObject
* obj6
= 0 ;
17554 PyObject
* obj7
= 0 ;
17555 PyObject
* obj8
= 0 ;
17556 char * kwnames
[] = {
17557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17565 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17567 if (!SWIG_IsOK(res2
)) {
17568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17573 if (!SWIG_IsOK(ecode3
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17576 arg3
= static_cast< int >(val3
);
17580 arg4
= wxString_in_helper(obj3
);
17581 if (arg4
== NULL
) SWIG_fail
;
17588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17599 if (!SWIG_IsOK(ecode7
)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17602 arg7
= static_cast< long >(val7
);
17605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17606 if (!SWIG_IsOK(res8
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17616 arg9
= wxString_in_helper(obj8
);
17617 if (arg9
== NULL
) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17652 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 PyObject
*resultobj
= 0;
17654 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17658 PyObject
*swig_obj
[1] ;
17660 if (!args
) SWIG_fail
;
17661 swig_obj
[0] = args
;
17662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17666 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (bool)(arg1
)->GetValue();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17682 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
= 0;
17684 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char * kwnames
[] = {
17693 (char *) "self",(char *) "value", NULL
17696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17701 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17703 if (!SWIG_IsOK(ecode2
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17706 arg2
= static_cast< bool >(val2
);
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->SetValue(arg2
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_Py_Void();
17720 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17723 SwigValueWrapper
<wxVisualAttributes
> result
;
17726 PyObject
* obj0
= 0 ;
17727 char * kwnames
[] = {
17728 (char *) "variant", NULL
17731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17734 if (!SWIG_IsOK(ecode1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17737 arg1
= static_cast< wxWindowVariant
>(val1
);
17740 if (!wxPyCheckForApp()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17753 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17756 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17757 return SWIG_Py_Void();
17760 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17761 return SWIG_Python_InitShadowInstance(args
);
17764 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17765 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17770 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17771 PyObject
*pyobj
= 0;
17775 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17777 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17784 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
= 0;
17786 wxWindow
*arg1
= (wxWindow
*) 0 ;
17787 int arg2
= (int) -1 ;
17788 int arg3
= (int) 0 ;
17789 int arg4
= (int) 0 ;
17790 int arg5
= (int) 100 ;
17791 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17792 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17793 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17794 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17795 long arg8
= (long) wxSL_HORIZONTAL
;
17796 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17797 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17798 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17799 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17800 wxSlider
*result
= 0 ;
17817 bool temp10
= false ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 PyObject
* obj2
= 0 ;
17821 PyObject
* obj3
= 0 ;
17822 PyObject
* obj4
= 0 ;
17823 PyObject
* obj5
= 0 ;
17824 PyObject
* obj6
= 0 ;
17825 PyObject
* obj7
= 0 ;
17826 PyObject
* obj8
= 0 ;
17827 PyObject
* obj9
= 0 ;
17828 char * kwnames
[] = {
17829 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17834 if (!SWIG_IsOK(res1
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17840 if (!SWIG_IsOK(ecode2
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17843 arg2
= static_cast< int >(val2
);
17846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17847 if (!SWIG_IsOK(ecode3
)) {
17848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17850 arg3
= static_cast< int >(val3
);
17853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17854 if (!SWIG_IsOK(ecode4
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17857 arg4
= static_cast< int >(val4
);
17860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17861 if (!SWIG_IsOK(ecode5
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17864 arg5
= static_cast< int >(val5
);
17869 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17875 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17879 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17880 if (!SWIG_IsOK(ecode8
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17883 arg8
= static_cast< long >(val8
);
17886 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17887 if (!SWIG_IsOK(res9
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17893 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17897 arg10
= wxString_in_helper(obj9
);
17898 if (arg10
== NULL
) SWIG_fail
;
17903 if (!wxPyCheckForApp()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17924 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17925 PyObject
*resultobj
= 0;
17926 wxSlider
*result
= 0 ;
17928 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17930 if (!wxPyCheckForApp()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxSlider
*)new wxSlider();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17943 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
= 0;
17945 wxSlider
*arg1
= (wxSlider
*) 0 ;
17946 wxWindow
*arg2
= (wxWindow
*) 0 ;
17947 int arg3
= (int) -1 ;
17948 int arg4
= (int) 0 ;
17949 int arg5
= (int) 0 ;
17950 int arg6
= (int) 100 ;
17951 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17952 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17953 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17954 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17955 long arg9
= (long) wxSL_HORIZONTAL
;
17956 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17957 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17958 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17959 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17979 bool temp11
= false ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 PyObject
* obj2
= 0 ;
17983 PyObject
* obj3
= 0 ;
17984 PyObject
* obj4
= 0 ;
17985 PyObject
* obj5
= 0 ;
17986 PyObject
* obj6
= 0 ;
17987 PyObject
* obj7
= 0 ;
17988 PyObject
* obj8
= 0 ;
17989 PyObject
* obj9
= 0 ;
17990 PyObject
* obj10
= 0 ;
17991 char * kwnames
[] = {
17992 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17997 if (!SWIG_IsOK(res1
)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18000 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18002 if (!SWIG_IsOK(res2
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18008 if (!SWIG_IsOK(ecode3
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18011 arg3
= static_cast< int >(val3
);
18014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18015 if (!SWIG_IsOK(ecode4
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18018 arg4
= static_cast< int >(val4
);
18021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18022 if (!SWIG_IsOK(ecode5
)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18025 arg5
= static_cast< int >(val5
);
18028 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18029 if (!SWIG_IsOK(ecode6
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18032 arg6
= static_cast< int >(val6
);
18037 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18043 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18047 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18048 if (!SWIG_IsOK(ecode9
)) {
18049 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18051 arg9
= static_cast< long >(val9
);
18054 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18055 if (!SWIG_IsOK(res10
)) {
18056 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18061 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18065 arg11
= wxString_in_helper(obj10
);
18066 if (arg11
== NULL
) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18094 PyObject
*resultobj
= 0;
18095 wxSlider
*arg1
= (wxSlider
*) 0 ;
18099 PyObject
*swig_obj
[1] ;
18101 if (!args
) SWIG_fail
;
18102 swig_obj
[0] = args
;
18103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18104 if (!SWIG_IsOK(res1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18107 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_From_int(static_cast< int >(result
));
18121 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
= 0;
18123 wxSlider
*arg1
= (wxSlider
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char * kwnames
[] = {
18132 (char *) "self",(char *) "value", NULL
18135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18140 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18142 if (!SWIG_IsOK(ecode2
)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18145 arg2
= static_cast< int >(val2
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetValue(arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18159 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxSlider
*arg1
= (wxSlider
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 PyObject
* obj2
= 0 ;
18173 char * kwnames
[] = {
18174 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18182 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18184 if (!SWIG_IsOK(ecode2
)) {
18185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18187 arg2
= static_cast< int >(val2
);
18188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18189 if (!SWIG_IsOK(ecode3
)) {
18190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18192 arg3
= static_cast< int >(val3
);
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 (arg1
)->SetRange(arg2
,arg3
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_Py_Void();
18206 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18207 PyObject
*resultobj
= 0;
18208 wxSlider
*arg1
= (wxSlider
*) 0 ;
18212 PyObject
*swig_obj
[1] ;
18214 if (!args
) SWIG_fail
;
18215 swig_obj
[0] = args
;
18216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18220 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_From_int(static_cast< int >(result
));
18234 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18235 PyObject
*resultobj
= 0;
18236 wxSlider
*arg1
= (wxSlider
*) 0 ;
18240 PyObject
*swig_obj
[1] ;
18242 if (!args
) SWIG_fail
;
18243 swig_obj
[0] = args
;
18244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18245 if (!SWIG_IsOK(res1
)) {
18246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18248 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_From_int(static_cast< int >(result
));
18262 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= 0;
18264 wxSlider
*arg1
= (wxSlider
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char * kwnames
[] = {
18273 (char *) "self",(char *) "minValue", NULL
18276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18281 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18283 if (!SWIG_IsOK(ecode2
)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18286 arg2
= static_cast< int >(val2
);
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->SetMin(arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_Py_Void();
18300 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
= 0;
18302 wxSlider
*arg1
= (wxSlider
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 char * kwnames
[] = {
18311 (char *) "self",(char *) "maxValue", NULL
18314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18316 if (!SWIG_IsOK(res1
)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18319 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18321 if (!SWIG_IsOK(ecode2
)) {
18322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18324 arg2
= static_cast< int >(val2
);
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->SetMax(arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_Py_Void();
18338 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
= 0;
18340 wxSlider
*arg1
= (wxSlider
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 char * kwnames
[] = {
18349 (char *) "self",(char *) "lineSize", NULL
18352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18354 if (!SWIG_IsOK(res1
)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18357 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18359 if (!SWIG_IsOK(ecode2
)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18362 arg2
= static_cast< int >(val2
);
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetLineSize(arg2
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= SWIG_Py_Void();
18376 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
= 0;
18378 wxSlider
*arg1
= (wxSlider
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 char * kwnames
[] = {
18387 (char *) "self",(char *) "pageSize", NULL
18390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18392 if (!SWIG_IsOK(res1
)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18395 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18397 if (!SWIG_IsOK(ecode2
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18400 arg2
= static_cast< int >(val2
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 (arg1
)->SetPageSize(arg2
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_Py_Void();
18414 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18415 PyObject
*resultobj
= 0;
18416 wxSlider
*arg1
= (wxSlider
*) 0 ;
18420 PyObject
*swig_obj
[1] ;
18422 if (!args
) SWIG_fail
;
18423 swig_obj
[0] = args
;
18424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18425 if (!SWIG_IsOK(res1
)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18428 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_From_int(static_cast< int >(result
));
18442 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18443 PyObject
*resultobj
= 0;
18444 wxSlider
*arg1
= (wxSlider
*) 0 ;
18448 PyObject
*swig_obj
[1] ;
18450 if (!args
) SWIG_fail
;
18451 swig_obj
[0] = args
;
18452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18456 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_From_int(static_cast< int >(result
));
18470 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
= 0;
18472 wxSlider
*arg1
= (wxSlider
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "lenPixels", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18489 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18491 if (!SWIG_IsOK(ecode2
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18494 arg2
= static_cast< int >(val2
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 (arg1
)->SetThumbLength(arg2
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_Py_Void();
18508 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18509 PyObject
*resultobj
= 0;
18510 wxSlider
*arg1
= (wxSlider
*) 0 ;
18514 PyObject
*swig_obj
[1] ;
18516 if (!args
) SWIG_fail
;
18517 swig_obj
[0] = args
;
18518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18522 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_From_int(static_cast< int >(result
));
18536 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxSlider
*arg1
= (wxSlider
*) 0 ;
18540 int arg3
= (int) 1 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 PyObject
* obj2
= 0 ;
18550 char * kwnames
[] = {
18551 (char *) "self",(char *) "n",(char *) "pos", NULL
18554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18556 if (!SWIG_IsOK(res1
)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18559 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18561 if (!SWIG_IsOK(ecode2
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18564 arg2
= static_cast< int >(val2
);
18566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18567 if (!SWIG_IsOK(ecode3
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18570 arg3
= static_cast< int >(val3
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->SetTickFreq(arg2
,arg3
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_Py_Void();
18585 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 PyObject
*resultobj
= 0;
18587 wxSlider
*arg1
= (wxSlider
*) 0 ;
18591 PyObject
*swig_obj
[1] ;
18593 if (!args
) SWIG_fail
;
18594 swig_obj
[0] = args
;
18595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18599 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_int(static_cast< int >(result
));
18613 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18614 PyObject
*resultobj
= 0;
18615 wxSlider
*arg1
= (wxSlider
*) 0 ;
18618 PyObject
*swig_obj
[1] ;
18620 if (!args
) SWIG_fail
;
18621 swig_obj
[0] = args
;
18622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18626 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 (arg1
)->ClearTicks();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_Py_Void();
18640 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxSlider
*arg1
= (wxSlider
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char * kwnames
[] = {
18651 (char *) "self",(char *) "tickPos", NULL
18654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18659 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18661 if (!SWIG_IsOK(ecode2
)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18664 arg2
= static_cast< int >(val2
);
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->SetTick(arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_Py_Void();
18678 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18679 PyObject
*resultobj
= 0;
18680 wxSlider
*arg1
= (wxSlider
*) 0 ;
18683 PyObject
*swig_obj
[1] ;
18685 if (!args
) SWIG_fail
;
18686 swig_obj
[0] = args
;
18687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->ClearSel();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_Py_Void();
18705 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18706 PyObject
*resultobj
= 0;
18707 wxSlider
*arg1
= (wxSlider
*) 0 ;
18711 PyObject
*swig_obj
[1] ;
18713 if (!args
) SWIG_fail
;
18714 swig_obj
[0] = args
;
18715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18716 if (!SWIG_IsOK(res1
)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18719 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_From_int(static_cast< int >(result
));
18733 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18734 PyObject
*resultobj
= 0;
18735 wxSlider
*arg1
= (wxSlider
*) 0 ;
18739 PyObject
*swig_obj
[1] ;
18741 if (!args
) SWIG_fail
;
18742 swig_obj
[0] = args
;
18743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18744 if (!SWIG_IsOK(res1
)) {
18745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18747 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_From_int(static_cast< int >(result
));
18761 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
= 0;
18763 wxSlider
*arg1
= (wxSlider
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 PyObject
* obj2
= 0 ;
18775 char * kwnames
[] = {
18776 (char *) "self",(char *) "min",(char *) "max", NULL
18779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18784 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18786 if (!SWIG_IsOK(ecode2
)) {
18787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18789 arg2
= static_cast< int >(val2
);
18790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18791 if (!SWIG_IsOK(ecode3
)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18794 arg3
= static_cast< int >(val3
);
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 (arg1
)->SetSelection(arg2
,arg3
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_Py_Void();
18808 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
= 0;
18810 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18811 SwigValueWrapper
<wxVisualAttributes
> result
;
18814 PyObject
* obj0
= 0 ;
18815 char * kwnames
[] = {
18816 (char *) "variant", NULL
18819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18821 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18822 if (!SWIG_IsOK(ecode1
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18825 arg1
= static_cast< wxWindowVariant
>(val1
);
18828 if (!wxPyCheckForApp()) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18841 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18844 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18845 return SWIG_Py_Void();
18848 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18849 return SWIG_Python_InitShadowInstance(args
);
18852 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18853 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18858 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18859 PyObject
*pyobj
= 0;
18863 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18865 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18872 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
= 0;
18874 wxWindow
*arg1
= (wxWindow
*) 0 ;
18875 int arg2
= (int) -1 ;
18876 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18877 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18882 long arg6
= (long) 0 ;
18883 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18884 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18885 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18886 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18887 wxToggleButton
*result
= 0 ;
18892 bool temp3
= false ;
18899 bool temp8
= false ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 PyObject
* obj2
= 0 ;
18903 PyObject
* obj3
= 0 ;
18904 PyObject
* obj4
= 0 ;
18905 PyObject
* obj5
= 0 ;
18906 PyObject
* obj6
= 0 ;
18907 PyObject
* obj7
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18917 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18920 if (!SWIG_IsOK(ecode2
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18923 arg2
= static_cast< int >(val2
);
18927 arg3
= wxString_in_helper(obj2
);
18928 if (arg3
== NULL
) SWIG_fail
;
18935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18946 if (!SWIG_IsOK(ecode6
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18949 arg6
= static_cast< long >(val6
);
18952 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18953 if (!SWIG_IsOK(res7
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18959 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18963 arg8
= wxString_in_helper(obj7
);
18964 if (arg8
== NULL
) SWIG_fail
;
18969 if (!wxPyCheckForApp()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18998 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18999 PyObject
*resultobj
= 0;
19000 wxToggleButton
*result
= 0 ;
19002 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19004 if (!wxPyCheckForApp()) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (wxToggleButton
*)new wxToggleButton();
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19017 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
= 0;
19019 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19020 wxWindow
*arg2
= (wxWindow
*) 0 ;
19021 int arg3
= (int) -1 ;
19022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19024 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19025 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19026 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19027 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19028 long arg7
= (long) 0 ;
19029 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19030 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19031 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19032 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19040 bool temp4
= false ;
19047 bool temp9
= false ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 PyObject
* obj2
= 0 ;
19051 PyObject
* obj3
= 0 ;
19052 PyObject
* obj4
= 0 ;
19053 PyObject
* obj5
= 0 ;
19054 PyObject
* obj6
= 0 ;
19055 PyObject
* obj7
= 0 ;
19056 PyObject
* obj8
= 0 ;
19057 char * kwnames
[] = {
19058 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19066 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19068 if (!SWIG_IsOK(res2
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19074 if (!SWIG_IsOK(ecode3
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19077 arg3
= static_cast< int >(val3
);
19081 arg4
= wxString_in_helper(obj3
);
19082 if (arg4
== NULL
) SWIG_fail
;
19089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19099 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19100 if (!SWIG_IsOK(ecode7
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19103 arg7
= static_cast< long >(val7
);
19106 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19107 if (!SWIG_IsOK(res8
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19113 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19117 arg9
= wxString_in_helper(obj8
);
19118 if (arg9
== NULL
) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19153 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
= 0;
19155 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char * kwnames
[] = {
19164 (char *) "self",(char *) "value", NULL
19167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19169 if (!SWIG_IsOK(res1
)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19172 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19173 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19174 if (!SWIG_IsOK(ecode2
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19177 arg2
= static_cast< bool >(val2
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetValue(arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19191 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19192 PyObject
*resultobj
= 0;
19193 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19197 PyObject
*swig_obj
[1] ;
19199 if (!args
) SWIG_fail
;
19200 swig_obj
[0] = args
;
19201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19205 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19221 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
= 0;
19223 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19224 SwigValueWrapper
<wxVisualAttributes
> result
;
19227 PyObject
* obj0
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "variant", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19235 if (!SWIG_IsOK(ecode1
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19238 arg1
= static_cast< wxWindowVariant
>(val1
);
19241 if (!wxPyCheckForApp()) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19254 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19257 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19258 return SWIG_Py_Void();
19261 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 return SWIG_Python_InitShadowInstance(args
);
19265 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19266 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19271 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19272 PyObject
*pyobj
= 0;
19276 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19278 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19285 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 PyObject
*resultobj
= 0;
19287 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19291 PyObject
*swig_obj
[1] ;
19293 if (!args
) SWIG_fail
;
19294 swig_obj
[0] = args
;
19295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19296 if (!SWIG_IsOK(res1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19299 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19313 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19317 wxWindow
*result
= 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "self",(char *) "n", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19333 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19334 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19335 if (!SWIG_IsOK(ecode2
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19338 arg2
= static_cast< size_t >(val2
);
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= wxPyMake_wxObject(result
, 0);
19354 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19355 PyObject
*resultobj
= 0;
19356 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19357 wxWindow
*result
= 0 ;
19360 PyObject
*swig_obj
[1] ;
19362 if (!args
) SWIG_fail
;
19363 swig_obj
[0] = args
;
19364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19365 if (!SWIG_IsOK(res1
)) {
19366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19368 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= wxPyMake_wxObject(result
, 0);
19384 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19385 PyObject
*resultobj
= 0;
19386 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19390 PyObject
*swig_obj
[1] ;
19392 if (!args
) SWIG_fail
;
19393 swig_obj
[0] = args
;
19394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19398 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_From_int(static_cast< int >(result
));
19412 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19416 wxString
*arg3
= 0 ;
19422 bool temp3
= false ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 PyObject
* obj2
= 0 ;
19426 char * kwnames
[] = {
19427 (char *) "self",(char *) "n",(char *) "strText", NULL
19430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19435 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19436 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19437 if (!SWIG_IsOK(ecode2
)) {
19438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19440 arg2
= static_cast< size_t >(val2
);
19442 arg3
= wxString_in_helper(obj2
);
19443 if (arg3
== NULL
) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19469 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
= 0;
19471 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char * kwnames
[] = {
19481 (char *) "self",(char *) "n", NULL
19484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19489 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19490 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19491 if (!SWIG_IsOK(ecode2
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19494 arg2
= static_cast< size_t >(val2
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19514 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
= 0;
19516 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19517 wxImageList
*arg2
= (wxImageList
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "self",(char *) "imageList", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19533 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19535 if (!SWIG_IsOK(res2
)) {
19536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19538 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 (arg1
)->SetImageList(arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_Py_Void();
19552 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19555 wxImageList
*arg2
= (wxImageList
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "imageList", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19570 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19571 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19572 if (!SWIG_IsOK(res2
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->AssignImageList(arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_Py_Void();
19588 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19589 PyObject
*resultobj
= 0;
19590 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19591 wxImageList
*result
= 0 ;
19594 PyObject
*swig_obj
[1] ;
19596 if (!args
) SWIG_fail
;
19597 swig_obj
[0] = args
;
19598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19602 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19618 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
= 0;
19620 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "self",(char *) "n", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19638 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19639 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19643 arg2
= static_cast< size_t >(val2
);
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_From_int(static_cast< int >(result
));
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 PyObject
* obj2
= 0 ;
19672 char * kwnames
[] = {
19673 (char *) "self",(char *) "n",(char *) "imageId", NULL
19676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19681 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19682 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19683 if (!SWIG_IsOK(ecode2
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19686 arg2
= static_cast< size_t >(val2
);
19687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19688 if (!SWIG_IsOK(ecode3
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19691 arg3
= static_cast< int >(val3
);
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19707 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char * kwnames
[] = {
19717 (char *) "self",(char *) "size", NULL
19720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19722 if (!SWIG_IsOK(res1
)) {
19723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19725 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_Py_Void();
19743 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= 0;
19745 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char * kwnames
[] = {
19754 (char *) "self",(char *) "sizePage", NULL
19757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19759 if (!SWIG_IsOK(res1
)) {
19760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19762 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19765 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19781 PyObject
*resultobj
= 0;
19782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19783 unsigned int result
;
19786 PyObject
*swig_obj
[1] ;
19788 if (!args
) SWIG_fail
;
19789 swig_obj
[0] = args
;
19790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19791 if (!SWIG_IsOK(res1
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19794 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19808 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
= 0;
19810 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19811 unsigned int arg2
;
19814 unsigned int val2
;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "internalBorder", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19827 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19828 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19829 if (!SWIG_IsOK(ecode2
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19832 arg2
= static_cast< unsigned int >(val2
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->SetInternalBorder(arg2
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_Py_Void();
19846 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19847 PyObject
*resultobj
= 0;
19848 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19852 PyObject
*swig_obj
[1] ;
19854 if (!args
) SWIG_fail
;
19855 swig_obj
[0] = args
;
19856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19860 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19876 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char * kwnames
[] = {
19887 (char *) "self",(char *) "margin", NULL
19890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19892 if (!SWIG_IsOK(res1
)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19895 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19897 if (!SWIG_IsOK(ecode2
)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19900 arg2
= static_cast< int >(val2
);
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->SetControlMargin(arg2
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_Py_Void();
19914 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19915 PyObject
*resultobj
= 0;
19916 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19920 PyObject
*swig_obj
[1] ;
19922 if (!args
) SWIG_fail
;
19923 swig_obj
[0] = args
;
19924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19925 if (!SWIG_IsOK(res1
)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19928 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_From_int(static_cast< int >(result
));
19942 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
= 0;
19944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "fit", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19961 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19963 if (!SWIG_IsOK(ecode2
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19966 arg2
= static_cast< bool >(val2
);
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->SetFitToCurrentPage(arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_Py_Void();
19980 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19981 PyObject
*resultobj
= 0;
19982 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19986 PyObject
*swig_obj
[1] ;
19988 if (!args
) SWIG_fail
;
19989 swig_obj
[0] = args
;
19990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19994 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20010 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20013 wxSizer
*result
= 0 ;
20016 PyObject
*swig_obj
[1] ;
20018 if (!args
) SWIG_fail
;
20019 swig_obj
[0] = args
;
20020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20024 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20040 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= 0;
20042 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "n", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20060 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20061 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20062 if (!SWIG_IsOK(ecode2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20065 arg2
= static_cast< size_t >(val2
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (bool)(arg1
)->DeletePage(arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20081 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
= 0;
20083 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 char * kwnames
[] = {
20093 (char *) "self",(char *) "n", NULL
20096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20101 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20102 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20103 if (!SWIG_IsOK(ecode2
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20106 arg2
= static_cast< size_t >(val2
);
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)(arg1
)->RemovePage(arg2
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20122 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20123 PyObject
*resultobj
= 0;
20124 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20128 PyObject
*swig_obj
[1] ;
20130 if (!args
) SWIG_fail
;
20131 swig_obj
[0] = args
;
20132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20133 if (!SWIG_IsOK(res1
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20136 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)(arg1
)->DeleteAllPages();
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
= 0;
20154 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20155 wxWindow
*arg2
= (wxWindow
*) 0 ;
20156 wxString
*arg3
= 0 ;
20157 bool arg4
= (bool) false ;
20158 int arg5
= (int) -1 ;
20164 bool temp3
= false ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 PyObject
* obj2
= 0 ;
20172 PyObject
* obj3
= 0 ;
20173 PyObject
* obj4
= 0 ;
20174 char * kwnames
[] = {
20175 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20180 if (!SWIG_IsOK(res1
)) {
20181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20183 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20185 if (!SWIG_IsOK(res2
)) {
20186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20190 arg3
= wxString_in_helper(obj2
);
20191 if (arg3
== NULL
) SWIG_fail
;
20195 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20196 if (!SWIG_IsOK(ecode4
)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20199 arg4
= static_cast< bool >(val4
);
20202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20203 if (!SWIG_IsOK(ecode5
)) {
20204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20206 arg5
= static_cast< int >(val5
);
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= 0;
20233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20235 wxWindow
*arg3
= (wxWindow
*) 0 ;
20236 wxString
*arg4
= 0 ;
20237 bool arg5
= (bool) false ;
20238 int arg6
= (int) -1 ;
20246 bool temp4
= false ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 PyObject
* obj2
= 0 ;
20254 PyObject
* obj3
= 0 ;
20255 PyObject
* obj4
= 0 ;
20256 PyObject
* obj5
= 0 ;
20257 char * kwnames
[] = {
20258 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20263 if (!SWIG_IsOK(res1
)) {
20264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20266 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20267 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20268 if (!SWIG_IsOK(ecode2
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20271 arg2
= static_cast< size_t >(val2
);
20272 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20273 if (!SWIG_IsOK(res3
)) {
20274 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20276 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20278 arg4
= wxString_in_helper(obj3
);
20279 if (arg4
== NULL
) SWIG_fail
;
20283 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20284 if (!SWIG_IsOK(ecode5
)) {
20285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20287 arg5
= static_cast< bool >(val5
);
20290 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20291 if (!SWIG_IsOK(ecode6
)) {
20292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20294 arg6
= static_cast< int >(val6
);
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20319 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "n", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20339 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20344 arg2
= static_cast< size_t >(val2
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (int)(arg1
)->SetSelection(arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_From_int(static_cast< int >(result
));
20358 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char * kwnames
[] = {
20370 (char *) "self",(char *) "n", NULL
20373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20375 if (!SWIG_IsOK(res1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20378 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20379 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20380 if (!SWIG_IsOK(ecode2
)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20383 arg2
= static_cast< size_t >(val2
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (int)(arg1
)->ChangeSelection(arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_From_int(static_cast< int >(result
));
20397 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= 0;
20399 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20400 bool arg2
= (bool) true ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char * kwnames
[] = {
20408 (char *) "self",(char *) "forward", NULL
20411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20413 if (!SWIG_IsOK(res1
)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20416 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20418 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20419 if (!SWIG_IsOK(ecode2
)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20422 arg2
= static_cast< bool >(val2
);
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 (arg1
)->AdvanceSelection(arg2
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_Py_Void();
20437 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20440 wxPoint
*arg2
= 0 ;
20441 long *arg3
= (long *) 0 ;
20447 int res3
= SWIG_TMPOBJ
;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 char * kwnames
[] = {
20451 (char *) "self",(char *) "pt", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20460 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= SWIG_From_int(static_cast< int >(result
));
20472 if (SWIG_IsTmpObj(res3
)) {
20473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20484 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
= 0;
20486 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20487 SwigValueWrapper
<wxVisualAttributes
> result
;
20490 PyObject
* obj0
= 0 ;
20491 char * kwnames
[] = {
20492 (char *) "variant", NULL
20495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20497 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20498 if (!SWIG_IsOK(ecode1
)) {
20499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20501 arg1
= static_cast< wxWindowVariant
>(val1
);
20504 if (!wxPyCheckForApp()) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20517 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20520 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20521 return SWIG_Py_Void();
20524 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
= 0;
20526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20527 int arg2
= (int) 0 ;
20528 int arg3
= (int) -1 ;
20529 int arg4
= (int) -1 ;
20530 wxBookCtrlBaseEvent
*result
= 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 PyObject
* obj2
= 0 ;
20542 PyObject
* obj3
= 0 ;
20543 char * kwnames
[] = {
20544 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20550 if (!SWIG_IsOK(ecode1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20553 arg1
= static_cast< wxEventType
>(val1
);
20556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20557 if (!SWIG_IsOK(ecode2
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20560 arg2
= static_cast< int >(val2
);
20563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20564 if (!SWIG_IsOK(ecode3
)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20567 arg3
= static_cast< int >(val3
);
20570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20571 if (!SWIG_IsOK(ecode4
)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20574 arg4
= static_cast< int >(val4
);
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20589 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 PyObject
*resultobj
= 0;
20591 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20595 PyObject
*swig_obj
[1] ;
20597 if (!args
) SWIG_fail
;
20598 swig_obj
[0] = args
;
20599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20600 if (!SWIG_IsOK(res1
)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20603 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_From_int(static_cast< int >(result
));
20617 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "self",(char *) "nSel", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20636 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20638 if (!SWIG_IsOK(ecode2
)) {
20639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20641 arg2
= static_cast< int >(val2
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 (arg1
)->SetSelection(arg2
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_Py_Void();
20655 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20656 PyObject
*resultobj
= 0;
20657 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20661 PyObject
*swig_obj
[1] ;
20663 if (!args
) SWIG_fail
;
20664 swig_obj
[0] = args
;
20665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20666 if (!SWIG_IsOK(res1
)) {
20667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20669 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_From_int(static_cast< int >(result
));
20683 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "nOldSel", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20702 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20704 if (!SWIG_IsOK(ecode2
)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20707 arg2
= static_cast< int >(val2
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetOldSelection(arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20721 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20724 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20725 return SWIG_Py_Void();
20728 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 return SWIG_Python_InitShadowInstance(args
);
20732 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= 0;
20734 wxWindow
*arg1
= (wxWindow
*) 0 ;
20735 int arg2
= (int) -1 ;
20736 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20737 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20738 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20739 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20740 long arg5
= (long) 0 ;
20741 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20742 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20743 wxNotebook
*result
= 0 ;
20752 bool temp6
= false ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 PyObject
* obj3
= 0 ;
20757 PyObject
* obj4
= 0 ;
20758 PyObject
* obj5
= 0 ;
20759 char * kwnames
[] = {
20760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20765 if (!SWIG_IsOK(res1
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20771 if (!SWIG_IsOK(ecode2
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20774 arg2
= static_cast< int >(val2
);
20779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20785 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20789 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20790 if (!SWIG_IsOK(ecode5
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20793 arg5
= static_cast< long >(val5
);
20797 arg6
= wxString_in_helper(obj5
);
20798 if (arg6
== NULL
) SWIG_fail
;
20803 if (!wxPyCheckForApp()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20824 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 PyObject
*resultobj
= 0;
20826 wxNotebook
*result
= 0 ;
20828 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20830 if (!wxPyCheckForApp()) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxNotebook
*)new wxNotebook();
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20843 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= 0;
20845 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20846 wxWindow
*arg2
= (wxWindow
*) 0 ;
20847 int arg3
= (int) -1 ;
20848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20852 long arg6
= (long) 0 ;
20853 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20854 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20866 bool temp7
= false ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 PyObject
* obj2
= 0 ;
20870 PyObject
* obj3
= 0 ;
20871 PyObject
* obj4
= 0 ;
20872 PyObject
* obj5
= 0 ;
20873 PyObject
* obj6
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20883 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20885 if (!SWIG_IsOK(res2
)) {
20886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20888 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20891 if (!SWIG_IsOK(ecode3
)) {
20892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20894 arg3
= static_cast< int >(val3
);
20899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20909 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20910 if (!SWIG_IsOK(ecode6
)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20913 arg6
= static_cast< long >(val6
);
20917 arg7
= wxString_in_helper(obj6
);
20918 if (arg7
== NULL
) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20945 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20946 PyObject
*resultobj
= 0;
20947 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20951 PyObject
*swig_obj
[1] ;
20953 if (!args
) SWIG_fail
;
20954 swig_obj
[0] = args
;
20955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20956 if (!SWIG_IsOK(res1
)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20959 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_From_int(static_cast< int >(result
));
20973 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= 0;
20975 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "padding", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20991 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20994 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_Py_Void();
21009 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char * kwnames
[] = {
21019 (char *) "self",(char *) "sz", NULL
21022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21024 if (!SWIG_IsOK(res1
)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21027 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21030 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_Py_Void();
21045 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21046 PyObject
*resultobj
= 0;
21047 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21051 PyObject
*swig_obj
[1] ;
21053 if (!args
) SWIG_fail
;
21054 swig_obj
[0] = args
;
21055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21056 if (!SWIG_IsOK(res1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21059 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21073 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
= 0;
21075 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21076 SwigValueWrapper
<wxVisualAttributes
> result
;
21079 PyObject
* obj0
= 0 ;
21080 char * kwnames
[] = {
21081 (char *) "variant", NULL
21084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21087 if (!SWIG_IsOK(ecode1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21090 arg1
= static_cast< wxWindowVariant
>(val1
);
21093 if (!wxPyCheckForApp()) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21106 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "self",(char *) "nPage", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21126 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21128 if (!SWIG_IsOK(ecode2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21131 arg2
= static_cast< int >(val2
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21147 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= 0;
21149 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21151 int arg3
= (int) -1 ;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21160 PyObject
* obj2
= 0 ;
21161 char * kwnames
[] = {
21162 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21167 if (!SWIG_IsOK(res1
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21170 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21172 if (!SWIG_IsOK(ecode2
)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21175 arg2
= static_cast< int >(val2
);
21177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21178 if (!SWIG_IsOK(ecode3
)) {
21179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21181 arg3
= static_cast< int >(val3
);
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_Py_Void();
21196 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21199 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21200 return SWIG_Py_Void();
21203 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21204 return SWIG_Python_InitShadowInstance(args
);
21207 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
= 0;
21209 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21210 int arg2
= (int) 0 ;
21211 int arg3
= (int) -1 ;
21212 int arg4
= (int) -1 ;
21213 wxNotebookEvent
*result
= 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 PyObject
* obj2
= 0 ;
21225 PyObject
* obj3
= 0 ;
21226 char * kwnames
[] = {
21227 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21233 if (!SWIG_IsOK(ecode1
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21236 arg1
= static_cast< wxEventType
>(val1
);
21239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21240 if (!SWIG_IsOK(ecode2
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21243 arg2
= static_cast< int >(val2
);
21246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21247 if (!SWIG_IsOK(ecode3
)) {
21248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21250 arg3
= static_cast< int >(val3
);
21253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21254 if (!SWIG_IsOK(ecode4
)) {
21255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21257 arg4
= static_cast< int >(val4
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21272 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21275 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21276 return SWIG_Py_Void();
21279 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21280 return SWIG_Python_InitShadowInstance(args
);
21283 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
= 0;
21285 wxWindow
*arg1
= (wxWindow
*) 0 ;
21286 int arg2
= (int) -1 ;
21287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21291 long arg5
= (long) 0 ;
21292 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21294 wxListbook
*result
= 0 ;
21303 bool temp6
= false ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 PyObject
* obj2
= 0 ;
21307 PyObject
* obj3
= 0 ;
21308 PyObject
* obj4
= 0 ;
21309 PyObject
* obj5
= 0 ;
21310 char * kwnames
[] = {
21311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21322 if (!SWIG_IsOK(ecode2
)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21325 arg2
= static_cast< int >(val2
);
21330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21340 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21341 if (!SWIG_IsOK(ecode5
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21344 arg5
= static_cast< long >(val5
);
21348 arg6
= wxString_in_helper(obj5
);
21349 if (arg6
== NULL
) SWIG_fail
;
21354 if (!wxPyCheckForApp()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21375 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21376 PyObject
*resultobj
= 0;
21377 wxListbook
*result
= 0 ;
21379 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21381 if (!wxPyCheckForApp()) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (wxListbook
*)new wxListbook();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21394 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= 0;
21396 wxListbook
*arg1
= (wxListbook
*) 0 ;
21397 wxWindow
*arg2
= (wxWindow
*) 0 ;
21398 int arg3
= (int) -1 ;
21399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21403 long arg6
= (long) 0 ;
21404 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21417 bool temp7
= false ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 PyObject
* obj2
= 0 ;
21421 PyObject
* obj3
= 0 ;
21422 PyObject
* obj4
= 0 ;
21423 PyObject
* obj5
= 0 ;
21424 PyObject
* obj6
= 0 ;
21425 char * kwnames
[] = {
21426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21431 if (!SWIG_IsOK(res1
)) {
21432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21434 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21436 if (!SWIG_IsOK(res2
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21442 if (!SWIG_IsOK(ecode3
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21445 arg3
= static_cast< int >(val3
);
21450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21460 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21461 if (!SWIG_IsOK(ecode6
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21464 arg6
= static_cast< long >(val6
);
21468 arg7
= wxString_in_helper(obj6
);
21469 if (arg7
== NULL
) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21496 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 PyObject
*resultobj
= 0;
21498 wxListbook
*arg1
= (wxListbook
*) 0 ;
21499 wxListView
*result
= 0 ;
21502 PyObject
*swig_obj
[1] ;
21504 if (!args
) SWIG_fail
;
21505 swig_obj
[0] = args
;
21506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21507 if (!SWIG_IsOK(res1
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21510 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxListView
*)(arg1
)->GetListView();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21524 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21527 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21528 return SWIG_Py_Void();
21531 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21532 return SWIG_Python_InitShadowInstance(args
);
21535 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
= 0;
21537 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21538 int arg2
= (int) 0 ;
21539 int arg3
= (int) -1 ;
21540 int arg4
= (int) -1 ;
21541 wxListbookEvent
*result
= 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 PyObject
* obj3
= 0 ;
21554 char * kwnames
[] = {
21555 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21561 if (!SWIG_IsOK(ecode1
)) {
21562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21564 arg1
= static_cast< wxEventType
>(val1
);
21567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21568 if (!SWIG_IsOK(ecode2
)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21571 arg2
= static_cast< int >(val2
);
21574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21575 if (!SWIG_IsOK(ecode3
)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21578 arg3
= static_cast< int >(val3
);
21581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21582 if (!SWIG_IsOK(ecode4
)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21585 arg4
= static_cast< int >(val4
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21600 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21603 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21604 return SWIG_Py_Void();
21607 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21608 return SWIG_Python_InitShadowInstance(args
);
21611 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= 0;
21613 wxWindow
*arg1
= (wxWindow
*) 0 ;
21615 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21616 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21617 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21618 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21619 long arg5
= (long) 0 ;
21620 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21622 wxChoicebook
*result
= 0 ;
21631 bool temp6
= false ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 PyObject
* obj2
= 0 ;
21635 PyObject
* obj3
= 0 ;
21636 PyObject
* obj4
= 0 ;
21637 PyObject
* obj5
= 0 ;
21638 char * kwnames
[] = {
21639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21644 if (!SWIG_IsOK(res1
)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21649 if (!SWIG_IsOK(ecode2
)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21652 arg2
= static_cast< int >(val2
);
21656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21667 if (!SWIG_IsOK(ecode5
)) {
21668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21670 arg5
= static_cast< long >(val5
);
21674 arg6
= wxString_in_helper(obj5
);
21675 if (arg6
== NULL
) SWIG_fail
;
21680 if (!wxPyCheckForApp()) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21701 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21702 PyObject
*resultobj
= 0;
21703 wxChoicebook
*result
= 0 ;
21705 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21707 if (!wxPyCheckForApp()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxChoicebook
*)new wxChoicebook();
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21720 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= 0;
21722 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21723 wxWindow
*arg2
= (wxWindow
*) 0 ;
21725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21729 long arg6
= (long) 0 ;
21730 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21743 bool temp7
= false ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 PyObject
* obj3
= 0 ;
21748 PyObject
* obj4
= 0 ;
21749 PyObject
* obj5
= 0 ;
21750 PyObject
* obj6
= 0 ;
21751 char * kwnames
[] = {
21752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21760 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21762 if (!SWIG_IsOK(res2
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21767 if (!SWIG_IsOK(ecode3
)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21770 arg3
= static_cast< int >(val3
);
21774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21784 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21785 if (!SWIG_IsOK(ecode6
)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21788 arg6
= static_cast< long >(val6
);
21792 arg7
= wxString_in_helper(obj6
);
21793 if (arg7
== NULL
) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21820 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 PyObject
*resultobj
= 0;
21822 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21823 wxChoice
*result
= 0 ;
21826 PyObject
*swig_obj
[1] ;
21828 if (!args
) SWIG_fail
;
21829 swig_obj
[0] = args
;
21830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21831 if (!SWIG_IsOK(res1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21834 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21848 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21851 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21852 return SWIG_Py_Void();
21855 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 return SWIG_Python_InitShadowInstance(args
);
21859 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
= 0;
21861 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21862 int arg2
= (int) 0 ;
21863 int arg3
= (int) -1 ;
21864 int arg4
= (int) -1 ;
21865 wxChoicebookEvent
*result
= 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 PyObject
* obj2
= 0 ;
21877 PyObject
* obj3
= 0 ;
21878 char * kwnames
[] = {
21879 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21885 if (!SWIG_IsOK(ecode1
)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21888 arg1
= static_cast< wxEventType
>(val1
);
21891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21892 if (!SWIG_IsOK(ecode2
)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21895 arg2
= static_cast< int >(val2
);
21898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21899 if (!SWIG_IsOK(ecode3
)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21902 arg3
= static_cast< int >(val3
);
21905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21906 if (!SWIG_IsOK(ecode4
)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21909 arg4
= static_cast< int >(val4
);
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21924 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21927 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21928 return SWIG_Py_Void();
21931 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21932 return SWIG_Python_InitShadowInstance(args
);
21935 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
= 0;
21937 wxWindow
*arg1
= (wxWindow
*) 0 ;
21939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21943 long arg5
= (long) wxBK_DEFAULT
;
21944 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21945 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21946 wxTreebook
*result
= 0 ;
21955 bool temp6
= false ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 PyObject
* obj2
= 0 ;
21959 PyObject
* obj3
= 0 ;
21960 PyObject
* obj4
= 0 ;
21961 PyObject
* obj5
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21971 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21973 if (!SWIG_IsOK(ecode2
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21976 arg2
= static_cast< int >(val2
);
21980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21990 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21991 if (!SWIG_IsOK(ecode5
)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21994 arg5
= static_cast< long >(val5
);
21998 arg6
= wxString_in_helper(obj5
);
21999 if (arg6
== NULL
) SWIG_fail
;
22004 if (!wxPyCheckForApp()) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22025 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22026 PyObject
*resultobj
= 0;
22027 wxTreebook
*result
= 0 ;
22029 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22031 if (!wxPyCheckForApp()) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (wxTreebook
*)new wxTreebook();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22044 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
= 0;
22046 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22047 wxWindow
*arg2
= (wxWindow
*) 0 ;
22049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22053 long arg6
= (long) wxBK_DEFAULT
;
22054 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22067 bool temp7
= false ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 PyObject
* obj2
= 0 ;
22071 PyObject
* obj3
= 0 ;
22072 PyObject
* obj4
= 0 ;
22073 PyObject
* obj5
= 0 ;
22074 PyObject
* obj6
= 0 ;
22075 char * kwnames
[] = {
22076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22084 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22086 if (!SWIG_IsOK(res2
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22091 if (!SWIG_IsOK(ecode3
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22094 arg3
= static_cast< int >(val3
);
22098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22108 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22109 if (!SWIG_IsOK(ecode6
)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22112 arg6
= static_cast< long >(val6
);
22116 arg7
= wxString_in_helper(obj6
);
22117 if (arg7
== NULL
) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22148 wxWindow
*arg3
= (wxWindow
*) 0 ;
22149 wxString
*arg4
= 0 ;
22150 bool arg5
= (bool) false ;
22151 int arg6
= (int) wxNOT_FOUND
;
22159 bool temp4
= false ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 PyObject
* obj3
= 0 ;
22168 PyObject
* obj4
= 0 ;
22169 PyObject
* obj5
= 0 ;
22170 char * kwnames
[] = {
22171 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22179 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22180 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22181 if (!SWIG_IsOK(ecode2
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22184 arg2
= static_cast< size_t >(val2
);
22185 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22186 if (!SWIG_IsOK(res3
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22189 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22191 arg4
= wxString_in_helper(obj3
);
22192 if (arg4
== NULL
) SWIG_fail
;
22196 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22197 if (!SWIG_IsOK(ecode5
)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22200 arg5
= static_cast< bool >(val5
);
22203 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22204 if (!SWIG_IsOK(ecode6
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22207 arg6
= static_cast< int >(val6
);
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
= 0;
22234 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22235 wxWindow
*arg2
= (wxWindow
*) 0 ;
22236 wxString
*arg3
= 0 ;
22237 bool arg4
= (bool) false ;
22238 int arg5
= (int) wxNOT_FOUND
;
22244 bool temp3
= false ;
22249 PyObject
* obj0
= 0 ;
22250 PyObject
* obj1
= 0 ;
22251 PyObject
* obj2
= 0 ;
22252 PyObject
* obj3
= 0 ;
22253 PyObject
* obj4
= 0 ;
22254 char * kwnames
[] = {
22255 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22260 if (!SWIG_IsOK(res1
)) {
22261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22263 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22265 if (!SWIG_IsOK(res2
)) {
22266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22270 arg3
= wxString_in_helper(obj2
);
22271 if (arg3
== NULL
) SWIG_fail
;
22275 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22276 if (!SWIG_IsOK(ecode4
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22279 arg4
= static_cast< bool >(val4
);
22282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22283 if (!SWIG_IsOK(ecode5
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22286 arg5
= static_cast< int >(val5
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
= 0;
22313 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char * kwnames
[] = {
22323 (char *) "self",(char *) "pos", NULL
22326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22331 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22333 if (!SWIG_IsOK(ecode2
)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22336 arg2
= static_cast< size_t >(val2
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22352 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
= 0;
22354 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22356 bool arg3
= (bool) true ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 char * kwnames
[] = {
22368 (char *) "self",(char *) "pos",(char *) "expand", NULL
22371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22376 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22377 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22378 if (!SWIG_IsOK(ecode2
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22381 arg2
= static_cast< size_t >(val2
);
22383 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22384 if (!SWIG_IsOK(ecode3
)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22387 arg3
= static_cast< bool >(val3
);
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22404 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
= 0;
22406 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char * kwnames
[] = {
22416 (char *) "self",(char *) "pos", NULL
22419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22424 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22425 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22426 if (!SWIG_IsOK(ecode2
)) {
22427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22429 arg2
= static_cast< size_t >(val2
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (bool)(arg1
)->CollapseNode(arg2
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22445 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
= 0;
22447 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 char * kwnames
[] = {
22457 (char *) "self",(char *) "pos", NULL
22460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22465 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22466 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22467 if (!SWIG_IsOK(ecode2
)) {
22468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22470 arg2
= static_cast< size_t >(val2
);
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_From_int(static_cast< int >(result
));
22484 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 PyObject
*resultobj
= 0;
22486 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22487 wxPyTreeCtrl
*result
= 0 ;
22490 PyObject
*swig_obj
[1] ;
22492 if (!args
) SWIG_fail
;
22493 swig_obj
[0] = args
;
22494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22495 if (!SWIG_IsOK(res1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22498 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22514 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22517 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22518 return SWIG_Py_Void();
22521 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 return SWIG_Python_InitShadowInstance(args
);
22525 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
= 0;
22527 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22528 int arg2
= (int) 0 ;
22529 int arg3
= (int) wxNOT_FOUND
;
22530 int arg4
= (int) wxNOT_FOUND
;
22531 wxTreebookEvent
*result
= 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 PyObject
* obj2
= 0 ;
22543 PyObject
* obj3
= 0 ;
22544 char * kwnames
[] = {
22545 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22551 if (!SWIG_IsOK(ecode1
)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22554 arg1
= static_cast< wxEventType
>(val1
);
22557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22558 if (!SWIG_IsOK(ecode2
)) {
22559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22561 arg2
= static_cast< int >(val2
);
22564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22565 if (!SWIG_IsOK(ecode3
)) {
22566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22568 arg3
= static_cast< int >(val3
);
22571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22572 if (!SWIG_IsOK(ecode4
)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22575 arg4
= static_cast< int >(val4
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22590 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22594 return SWIG_Py_Void();
22597 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 return SWIG_Python_InitShadowInstance(args
);
22601 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
= 0;
22603 wxWindow
*arg1
= (wxWindow
*) 0 ;
22605 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22606 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22607 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22608 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22609 long arg5
= (long) wxBK_DEFAULT
;
22610 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22611 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22612 wxToolbook
*result
= 0 ;
22621 bool temp6
= false ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 PyObject
* obj3
= 0 ;
22626 PyObject
* obj4
= 0 ;
22627 PyObject
* obj5
= 0 ;
22628 char * kwnames
[] = {
22629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22639 if (!SWIG_IsOK(ecode2
)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22642 arg2
= static_cast< int >(val2
);
22646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22656 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22657 if (!SWIG_IsOK(ecode5
)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22660 arg5
= static_cast< long >(val5
);
22664 arg6
= wxString_in_helper(obj5
);
22665 if (arg6
== NULL
) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22690 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxToolbook
*result
= 0 ;
22694 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (wxToolbook
*)new wxToolbook();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22708 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22711 wxWindow
*arg2
= (wxWindow
*) 0 ;
22713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22717 long arg6
= (long) 0 ;
22718 wxString
const &arg7_defvalue
= wxEmptyString
;
22719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22731 bool temp7
= false ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 PyObject
* obj2
= 0 ;
22735 PyObject
* obj3
= 0 ;
22736 PyObject
* obj4
= 0 ;
22737 PyObject
* obj5
= 0 ;
22738 PyObject
* obj6
= 0 ;
22739 char * kwnames
[] = {
22740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22748 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22750 if (!SWIG_IsOK(res2
)) {
22751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22755 if (!SWIG_IsOK(ecode3
)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22758 arg3
= static_cast< int >(val3
);
22762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22772 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22773 if (!SWIG_IsOK(ecode6
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22776 arg6
= static_cast< long >(val6
);
22780 arg7
= wxString_in_helper(obj6
);
22781 if (arg7
== NULL
) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22808 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22809 PyObject
*resultobj
= 0;
22810 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22811 wxToolBarBase
*result
= 0 ;
22814 PyObject
*swig_obj
[1] ;
22816 if (!args
) SWIG_fail
;
22817 swig_obj
[0] = args
;
22818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22819 if (!SWIG_IsOK(res1
)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22822 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22838 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22839 PyObject
*resultobj
= 0;
22840 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22843 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22851 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22865 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22868 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22869 return SWIG_Py_Void();
22872 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22873 return SWIG_Python_InitShadowInstance(args
);
22876 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
= 0;
22878 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22879 int arg2
= (int) 0 ;
22880 int arg3
= (int) wxNOT_FOUND
;
22881 int arg4
= (int) wxNOT_FOUND
;
22882 wxToolbookEvent
*result
= 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22902 if (!SWIG_IsOK(ecode1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22905 arg1
= static_cast< wxEventType
>(val1
);
22908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22909 if (!SWIG_IsOK(ecode2
)) {
22910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22912 arg2
= static_cast< int >(val2
);
22915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22916 if (!SWIG_IsOK(ecode3
)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22919 arg3
= static_cast< int >(val3
);
22922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22923 if (!SWIG_IsOK(ecode4
)) {
22924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22926 arg4
= static_cast< int >(val4
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22941 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22944 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22945 return SWIG_Py_Void();
22948 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 return SWIG_Python_InitShadowInstance(args
);
22952 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22958 PyObject
*swig_obj
[1] ;
22960 if (!args
) SWIG_fail
;
22961 swig_obj
[0] = args
;
22962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22966 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (int)(arg1
)->GetId();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_From_int(static_cast< int >(result
));
22980 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22981 PyObject
*resultobj
= 0;
22982 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22983 wxControl
*result
= 0 ;
22986 PyObject
*swig_obj
[1] ;
22988 if (!args
) SWIG_fail
;
22989 swig_obj
[0] = args
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22994 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (wxControl
*)(arg1
)->GetControl();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= wxPyMake_wxObject(result
, 0);
23010 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23011 PyObject
*resultobj
= 0;
23012 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23013 wxToolBarBase
*result
= 0 ;
23016 PyObject
*swig_obj
[1] ;
23018 if (!args
) SWIG_fail
;
23019 swig_obj
[0] = args
;
23020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23021 if (!SWIG_IsOK(res1
)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23024 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23040 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23041 PyObject
*resultobj
= 0;
23042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23054 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)(arg1
)->IsButton();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_From_int(static_cast< int >(result
));
23068 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23069 PyObject
*resultobj
= 0;
23070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23074 PyObject
*swig_obj
[1] ;
23076 if (!args
) SWIG_fail
;
23077 swig_obj
[0] = args
;
23078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23082 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (int)(arg1
)->IsControl();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_int(static_cast< int >(result
));
23096 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23097 PyObject
*resultobj
= 0;
23098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23102 PyObject
*swig_obj
[1] ;
23104 if (!args
) SWIG_fail
;
23105 swig_obj
[0] = args
;
23106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23110 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (int)(arg1
)->IsSeparator();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_From_int(static_cast< int >(result
));
23124 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23125 PyObject
*resultobj
= 0;
23126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23130 PyObject
*swig_obj
[1] ;
23132 if (!args
) SWIG_fail
;
23133 swig_obj
[0] = args
;
23134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (int)(arg1
)->GetStyle();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_From_int(static_cast< int >(result
));
23152 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 PyObject
*resultobj
= 0;
23154 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23158 PyObject
*swig_obj
[1] ;
23160 if (!args
) SWIG_fail
;
23161 swig_obj
[0] = args
;
23162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23166 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (wxItemKind
)(arg1
)->GetKind();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_From_int(static_cast< int >(result
));
23180 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23181 PyObject
*resultobj
= 0;
23182 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23186 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23194 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (bool)(arg1
)->IsEnabled();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23211 PyObject
*resultobj
= 0;
23212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23216 PyObject
*swig_obj
[1] ;
23218 if (!args
) SWIG_fail
;
23219 swig_obj
[0] = args
;
23220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23224 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (bool)(arg1
)->IsToggled();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23240 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23241 PyObject
*resultobj
= 0;
23242 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 PyObject
*swig_obj
[1] ;
23248 if (!args
) SWIG_fail
;
23249 swig_obj
[0] = args
;
23250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23254 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)(arg1
)->CanBeToggled();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23270 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23271 PyObject
*resultobj
= 0;
23272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23273 wxBitmap
*result
= 0 ;
23276 PyObject
*swig_obj
[1] ;
23278 if (!args
) SWIG_fail
;
23279 swig_obj
[0] = args
;
23280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23284 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23289 result
= (wxBitmap
*) &_result_ref
;
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23295 wxBitmap
* resultptr
= new wxBitmap(*result
);
23296 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23304 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 PyObject
*resultobj
= 0;
23306 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23307 wxBitmap
*result
= 0 ;
23310 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23318 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23323 result
= (wxBitmap
*) &_result_ref
;
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 wxBitmap
* resultptr
= new wxBitmap(*result
);
23330 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23338 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23339 PyObject
*resultobj
= 0;
23340 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23344 PyObject
*swig_obj
[1] ;
23346 if (!args
) SWIG_fail
;
23347 swig_obj
[0] = args
;
23348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23349 if (!SWIG_IsOK(res1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23352 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (arg1
)->GetBitmap();
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23366 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23372 PyObject
*swig_obj
[1] ;
23374 if (!args
) SWIG_fail
;
23375 swig_obj
[0] = args
;
23376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23380 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (arg1
)->GetLabel();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23400 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 PyObject
*resultobj
= 0;
23402 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23406 PyObject
*swig_obj
[1] ;
23408 if (!args
) SWIG_fail
;
23409 swig_obj
[0] = args
;
23410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23414 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (arg1
)->GetShortHelp();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23434 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23435 PyObject
*resultobj
= 0;
23436 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23440 PyObject
*swig_obj
[1] ;
23442 if (!args
) SWIG_fail
;
23443 swig_obj
[0] = args
;
23444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23448 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (arg1
)->GetLongHelp();
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23468 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
= 0;
23470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 char * kwnames
[] = {
23480 (char *) "self",(char *) "enable", NULL
23483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23488 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23489 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23490 if (!SWIG_IsOK(ecode2
)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23493 arg2
= static_cast< bool >(val2
);
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (bool)(arg1
)->Enable(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23509 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 PyObject
*resultobj
= 0;
23511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23514 PyObject
*swig_obj
[1] ;
23516 if (!args
) SWIG_fail
;
23517 swig_obj
[0] = args
;
23518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23522 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_Py_Void();
23536 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
= 0;
23538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char * kwnames
[] = {
23548 (char *) "self",(char *) "toggle", NULL
23551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23556 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23557 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23558 if (!SWIG_IsOK(ecode2
)) {
23559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23561 arg2
= static_cast< bool >(val2
);
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (bool)(arg1
)->SetToggle(arg2
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23577 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
= 0;
23579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23580 wxString
*arg2
= 0 ;
23584 bool temp2
= false ;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 char * kwnames
[] = {
23588 (char *) "self",(char *) "help", NULL
23591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23593 if (!SWIG_IsOK(res1
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23596 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23598 arg2
= wxString_in_helper(obj1
);
23599 if (arg2
== NULL
) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23625 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
= 0;
23627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23628 wxString
*arg2
= 0 ;
23632 bool temp2
= false ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char * kwnames
[] = {
23636 (char *) "self",(char *) "help", NULL
23639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23641 if (!SWIG_IsOK(res1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23644 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23646 arg2
= wxString_in_helper(obj1
);
23647 if (arg2
== NULL
) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23673 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
= 0;
23675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23676 wxBitmap
*arg2
= 0 ;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "self",(char *) "bmp", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23692 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23694 if (!SWIG_IsOK(res2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23700 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_Py_Void();
23714 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
= 0;
23716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23717 wxBitmap
*arg2
= 0 ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char * kwnames
[] = {
23725 (char *) "self",(char *) "bmp", NULL
23728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23730 if (!SWIG_IsOK(res1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23733 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23735 if (!SWIG_IsOK(res2
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23741 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= SWIG_Py_Void();
23755 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
= 0;
23757 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23758 wxString
*arg2
= 0 ;
23761 bool temp2
= false ;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char * kwnames
[] = {
23765 (char *) "self",(char *) "label", NULL
23768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23770 if (!SWIG_IsOK(res1
)) {
23771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23773 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23775 arg2
= wxString_in_helper(obj1
);
23776 if (arg2
== NULL
) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 (arg1
)->SetLabel((wxString
const &)*arg2
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_Py_Void();
23800 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23801 PyObject
*resultobj
= 0;
23802 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23805 PyObject
*swig_obj
[1] ;
23807 if (!args
) SWIG_fail
;
23808 swig_obj
[0] = args
;
23809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23810 if (!SWIG_IsOK(res1
)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23813 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_Py_Void();
23827 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23829 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23830 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 PyObject
* obj1
= 0 ;
23837 char * kwnames
[] = {
23838 (char *) "self",(char *) "tbar", NULL
23841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23846 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23848 if (!SWIG_IsOK(res2
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23851 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->Attach(arg2
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_Py_Void();
23865 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23868 PyObject
*result
= 0 ;
23871 PyObject
*swig_obj
[1] ;
23873 if (!args
) SWIG_fail
;
23874 swig_obj
[0] = args
;
23875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23879 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= result
;
23893 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23895 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23896 PyObject
*arg2
= (PyObject
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "clientData", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23910 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_Py_Void();
23925 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23928 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23929 return SWIG_Py_Void();
23932 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
= 0;
23934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23936 wxString
*arg3
= 0 ;
23937 wxBitmap
*arg4
= 0 ;
23938 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23939 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23940 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23941 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23943 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23945 PyObject
*arg9
= (PyObject
*) NULL
;
23946 wxToolBarToolBase
*result
= 0 ;
23951 bool temp3
= false ;
23958 bool temp7
= false ;
23959 bool temp8
= false ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 PyObject
* obj3
= 0 ;
23964 PyObject
* obj4
= 0 ;
23965 PyObject
* obj5
= 0 ;
23966 PyObject
* obj6
= 0 ;
23967 PyObject
* obj7
= 0 ;
23968 PyObject
* obj8
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23978 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23980 if (!SWIG_IsOK(ecode2
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23983 arg2
= static_cast< int >(val2
);
23985 arg3
= wxString_in_helper(obj2
);
23986 if (arg3
== NULL
) SWIG_fail
;
23989 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23990 if (!SWIG_IsOK(res4
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23996 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23998 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23999 if (!SWIG_IsOK(res5
)) {
24000 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24005 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24008 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24009 if (!SWIG_IsOK(ecode6
)) {
24010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24012 arg6
= static_cast< wxItemKind
>(val6
);
24016 arg7
= wxString_in_helper(obj6
);
24017 if (arg7
== NULL
) SWIG_fail
;
24023 arg8
= wxString_in_helper(obj7
);
24024 if (arg8
== NULL
) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24070 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24075 wxString
*arg4
= 0 ;
24076 wxBitmap
*arg5
= 0 ;
24077 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24078 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24079 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24080 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24082 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24083 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24084 PyObject
*arg10
= (PyObject
*) NULL
;
24085 wxToolBarToolBase
*result
= 0 ;
24092 bool temp4
= false ;
24099 bool temp8
= false ;
24100 bool temp9
= false ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 PyObject
* obj2
= 0 ;
24104 PyObject
* obj3
= 0 ;
24105 PyObject
* obj4
= 0 ;
24106 PyObject
* obj5
= 0 ;
24107 PyObject
* obj6
= 0 ;
24108 PyObject
* obj7
= 0 ;
24109 PyObject
* obj8
= 0 ;
24110 PyObject
* obj9
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24121 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24122 if (!SWIG_IsOK(ecode2
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24125 arg2
= static_cast< size_t >(val2
);
24126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24127 if (!SWIG_IsOK(ecode3
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24130 arg3
= static_cast< int >(val3
);
24132 arg4
= wxString_in_helper(obj3
);
24133 if (arg4
== NULL
) SWIG_fail
;
24136 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24137 if (!SWIG_IsOK(res5
)) {
24138 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24143 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24145 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24146 if (!SWIG_IsOK(res6
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24152 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24155 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24156 if (!SWIG_IsOK(ecode7
)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24159 arg7
= static_cast< wxItemKind
>(val7
);
24163 arg8
= wxString_in_helper(obj7
);
24164 if (arg8
== NULL
) SWIG_fail
;
24170 arg9
= wxString_in_helper(obj8
);
24171 if (arg9
== NULL
) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24217 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= 0;
24219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24220 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24221 wxToolBarToolBase
*result
= 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char * kwnames
[] = {
24229 (char *) "self",(char *) "tool", NULL
24232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24237 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24239 if (!SWIG_IsOK(res2
)) {
24240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24242 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24258 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
= 0;
24260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24262 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24263 wxToolBarToolBase
*result
= 0 ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 PyObject
* obj2
= 0 ;
24273 char * kwnames
[] = {
24274 (char *) "self",(char *) "pos",(char *) "tool", NULL
24277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24282 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24283 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24284 if (!SWIG_IsOK(ecode2
)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24287 arg2
= static_cast< size_t >(val2
);
24288 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24289 if (!SWIG_IsOK(res3
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24292 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24308 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= 0;
24310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24311 wxControl
*arg2
= (wxControl
*) 0 ;
24312 wxString
const &arg3_defvalue
= wxEmptyString
;
24313 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24314 wxToolBarToolBase
*result
= 0 ;
24319 bool temp3
= false ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 PyObject
* obj2
= 0 ;
24323 char * kwnames
[] = {
24324 (char *) "self",(char *) "control",(char *) "label", NULL
24327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24332 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24334 if (!SWIG_IsOK(res2
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24337 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24340 arg3
= wxString_in_helper(obj2
);
24341 if (arg3
== NULL
) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24368 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
= 0;
24370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24372 wxControl
*arg3
= (wxControl
*) 0 ;
24373 wxString
const &arg4_defvalue
= wxEmptyString
;
24374 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24375 wxToolBarToolBase
*result
= 0 ;
24382 bool temp4
= false ;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 PyObject
* obj2
= 0 ;
24386 PyObject
* obj3
= 0 ;
24387 char * kwnames
[] = {
24388 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24397 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24398 if (!SWIG_IsOK(ecode2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24401 arg2
= static_cast< size_t >(val2
);
24402 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24403 if (!SWIG_IsOK(res3
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24406 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24409 arg4
= wxString_in_helper(obj3
);
24410 if (arg4
== NULL
) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24437 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= 0;
24439 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24441 wxControl
*result
= 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char * kwnames
[] = {
24449 (char *) "self",(char *) "id", NULL
24452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24457 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24459 if (!SWIG_IsOK(ecode2
)) {
24460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24462 arg2
= static_cast< int >(val2
);
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= wxPyMake_wxObject(result
, 0);
24478 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24479 PyObject
*resultobj
= 0;
24480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24481 wxToolBarToolBase
*result
= 0 ;
24484 PyObject
*swig_obj
[1] ;
24486 if (!args
) SWIG_fail
;
24487 swig_obj
[0] = args
;
24488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24492 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24508 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
= 0;
24510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24512 wxToolBarToolBase
*result
= 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char * kwnames
[] = {
24520 (char *) "self",(char *) "pos", NULL
24523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24528 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24529 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24530 if (!SWIG_IsOK(ecode2
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24533 arg2
= static_cast< size_t >(val2
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24549 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24553 wxToolBarToolBase
*result
= 0 ;
24558 PyObject
* obj0
= 0 ;
24559 PyObject
* obj1
= 0 ;
24560 char * kwnames
[] = {
24561 (char *) "self",(char *) "id", NULL
24564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24566 if (!SWIG_IsOK(res1
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24569 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24571 if (!SWIG_IsOK(ecode2
)) {
24572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24574 arg2
= static_cast< int >(val2
);
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24590 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
= 0;
24592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24601 char * kwnames
[] = {
24602 (char *) "self",(char *) "pos", NULL
24605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24610 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24612 if (!SWIG_IsOK(ecode2
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24615 arg2
= static_cast< size_t >(val2
);
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 char * kwnames
[] = {
24643 (char *) "self",(char *) "id", NULL
24646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24651 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24653 if (!SWIG_IsOK(ecode2
)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24656 arg2
= static_cast< int >(val2
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)(arg1
)->DeleteTool(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24672 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24673 PyObject
*resultobj
= 0;
24674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24677 PyObject
*swig_obj
[1] ;
24679 if (!args
) SWIG_fail
;
24680 swig_obj
[0] = args
;
24681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->ClearTools();
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24700 PyObject
*resultobj
= 0;
24701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24705 PyObject
*swig_obj
[1] ;
24707 if (!args
) SWIG_fail
;
24708 swig_obj
[0] = args
;
24709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24713 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (bool)(arg1
)->Realize();
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24729 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 PyObject
* obj2
= 0 ;
24743 char * kwnames
[] = {
24744 (char *) "self",(char *) "id",(char *) "enable", NULL
24747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24752 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24754 if (!SWIG_IsOK(ecode2
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24757 arg2
= static_cast< int >(val2
);
24758 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24759 if (!SWIG_IsOK(ecode3
)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24762 arg3
= static_cast< bool >(val3
);
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->EnableTool(arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= SWIG_Py_Void();
24776 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
= 0;
24778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 PyObject
* obj2
= 0 ;
24790 char * kwnames
[] = {
24791 (char *) "self",(char *) "id",(char *) "toggle", NULL
24794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24799 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24801 if (!SWIG_IsOK(ecode2
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24804 arg2
= static_cast< int >(val2
);
24805 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24806 if (!SWIG_IsOK(ecode3
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24809 arg3
= static_cast< bool >(val3
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 (arg1
)->ToggleTool(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_Py_Void();
24823 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 PyObject
* obj2
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "self",(char *) "id",(char *) "toggle", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24846 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24848 if (!SWIG_IsOK(ecode2
)) {
24849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24851 arg2
= static_cast< int >(val2
);
24852 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24853 if (!SWIG_IsOK(ecode3
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24856 arg3
= static_cast< bool >(val3
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 (arg1
)->SetToggle(arg2
,arg3
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_Py_Void();
24870 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
= 0;
24872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24874 PyObject
*result
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char * kwnames
[] = {
24882 (char *) "self",(char *) "id", NULL
24885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24890 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24892 if (!SWIG_IsOK(ecode2
)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24895 arg2
= static_cast< int >(val2
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= result
;
24909 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
= 0;
24911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24913 PyObject
*arg3
= (PyObject
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 PyObject
* obj2
= 0 ;
24921 char * kwnames
[] = {
24922 (char *) "self",(char *) "id",(char *) "clientData", NULL
24925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24927 if (!SWIG_IsOK(res1
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24930 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24932 if (!SWIG_IsOK(ecode2
)) {
24933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24935 arg2
= static_cast< int >(val2
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
= 0;
24952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 PyObject
* obj1
= 0 ;
24961 char * kwnames
[] = {
24962 (char *) "self",(char *) "id", NULL
24965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24970 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24972 if (!SWIG_IsOK(ecode2
)) {
24973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24975 arg2
= static_cast< int >(val2
);
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_From_int(static_cast< int >(result
));
24989 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
= 0;
24991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char * kwnames
[] = {
25001 (char *) "self",(char *) "id", NULL
25004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25009 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25011 if (!SWIG_IsOK(ecode2
)) {
25012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25014 arg2
= static_cast< int >(val2
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (bool)(arg1
)->GetToolState(arg2
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25030 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
= 0;
25032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 char * kwnames
[] = {
25042 (char *) "self",(char *) "id", NULL
25045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25050 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25052 if (!SWIG_IsOK(ecode2
)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25055 arg2
= static_cast< int >(val2
);
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25071 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
= 0;
25073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25075 wxString
*arg3
= 0 ;
25080 bool temp3
= false ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 PyObject
* obj2
= 0 ;
25084 char * kwnames
[] = {
25085 (char *) "self",(char *) "id",(char *) "helpString", NULL
25088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25093 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25095 if (!SWIG_IsOK(ecode2
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25098 arg2
= static_cast< int >(val2
);
25100 arg3
= wxString_in_helper(obj2
);
25101 if (arg3
== NULL
) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_Py_Void();
25125 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
= 0;
25127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char * kwnames
[] = {
25137 (char *) "self",(char *) "id", NULL
25140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25142 if (!SWIG_IsOK(res1
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25145 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25147 if (!SWIG_IsOK(ecode2
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25150 arg2
= static_cast< int >(val2
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (arg1
)->GetToolShortHelp(arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25170 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
= 0;
25172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25174 wxString
*arg3
= 0 ;
25179 bool temp3
= false ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 char * kwnames
[] = {
25184 (char *) "self",(char *) "id",(char *) "helpString", NULL
25187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25189 if (!SWIG_IsOK(res1
)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25192 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25194 if (!SWIG_IsOK(ecode2
)) {
25195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25197 arg2
= static_cast< int >(val2
);
25199 arg3
= wxString_in_helper(obj2
);
25200 if (arg3
== NULL
) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_Py_Void();
25224 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
= 0;
25226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "id", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25244 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25246 if (!SWIG_IsOK(ecode2
)) {
25247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25249 arg2
= static_cast< int >(val2
);
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (arg1
)->GetToolLongHelp(arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25269 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 PyObject
* obj2
= 0 ;
25283 char * kwnames
[] = {
25284 (char *) "self",(char *) "x",(char *) "y", NULL
25287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25292 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25294 if (!SWIG_IsOK(ecode2
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25297 arg2
= static_cast< int >(val2
);
25298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25299 if (!SWIG_IsOK(ecode3
)) {
25300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25302 arg3
= static_cast< int >(val3
);
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 (arg1
)->SetMargins(arg2
,arg3
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= SWIG_Py_Void();
25316 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "size", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_Py_Void();
25352 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
= 0;
25354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 PyObject
* obj1
= 0 ;
25362 char * kwnames
[] = {
25363 (char *) "self",(char *) "packing", NULL
25366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25373 if (!SWIG_IsOK(ecode2
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25376 arg2
= static_cast< int >(val2
);
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 (arg1
)->SetToolPacking(arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_Py_Void();
25390 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
= 0;
25392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char * kwnames
[] = {
25401 (char *) "self",(char *) "separation", NULL
25404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25409 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25411 if (!SWIG_IsOK(ecode2
)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25414 arg2
= static_cast< int >(val2
);
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 (arg1
)->SetToolSeparation(arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_Py_Void();
25428 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25429 PyObject
*resultobj
= 0;
25430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25434 PyObject
*swig_obj
[1] ;
25436 if (!args
) SWIG_fail
;
25437 swig_obj
[0] = args
;
25438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25439 if (!SWIG_IsOK(res1
)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25442 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= (arg1
)->GetToolMargins();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25456 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25457 PyObject
*resultobj
= 0;
25458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25462 PyObject
*swig_obj
[1] ;
25464 if (!args
) SWIG_fail
;
25465 swig_obj
[0] = args
;
25466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25470 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (arg1
)->GetMargins();
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25484 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25485 PyObject
*resultobj
= 0;
25486 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25490 PyObject
*swig_obj
[1] ;
25492 if (!args
) SWIG_fail
;
25493 swig_obj
[0] = args
;
25494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25495 if (!SWIG_IsOK(res1
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25498 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (int)(arg1
)->GetToolPacking();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_From_int(static_cast< int >(result
));
25512 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25513 PyObject
*resultobj
= 0;
25514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25518 PyObject
*swig_obj
[1] ;
25520 if (!args
) SWIG_fail
;
25521 swig_obj
[0] = args
;
25522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25526 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= (int)(arg1
)->GetToolSeparation();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_From_int(static_cast< int >(result
));
25540 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
= 0;
25542 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 PyObject
* obj1
= 0 ;
25550 char * kwnames
[] = {
25551 (char *) "self",(char *) "nRows", NULL
25554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25559 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25561 if (!SWIG_IsOK(ecode2
)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25564 arg2
= static_cast< int >(val2
);
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SetRows(arg2
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_Py_Void();
25578 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
= 0;
25580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 PyObject
* obj2
= 0 ;
25592 char * kwnames
[] = {
25593 (char *) "self",(char *) "rows",(char *) "cols", NULL
25596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25601 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25603 if (!SWIG_IsOK(ecode2
)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25606 arg2
= static_cast< int >(val2
);
25607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25608 if (!SWIG_IsOK(ecode3
)) {
25609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25611 arg3
= static_cast< int >(val3
);
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_Py_Void();
25625 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 PyObject
*resultobj
= 0;
25627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25631 PyObject
*swig_obj
[1] ;
25633 if (!args
) SWIG_fail
;
25634 swig_obj
[0] = args
;
25635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (int)(arg1
)->GetMaxRows();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_From_int(static_cast< int >(result
));
25653 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25654 PyObject
*resultobj
= 0;
25655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25659 PyObject
*swig_obj
[1] ;
25661 if (!args
) SWIG_fail
;
25662 swig_obj
[0] = args
;
25663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25664 if (!SWIG_IsOK(res1
)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (int)(arg1
)->GetMaxCols();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_From_int(static_cast< int >(result
));
25681 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
= 0;
25683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char * kwnames
[] = {
25691 (char *) "self",(char *) "size", NULL
25694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25699 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_Py_Void();
25717 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25718 PyObject
*resultobj
= 0;
25719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25723 PyObject
*swig_obj
[1] ;
25725 if (!args
) SWIG_fail
;
25726 swig_obj
[0] = args
;
25727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25728 if (!SWIG_IsOK(res1
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25731 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (arg1
)->GetToolBitmapSize();
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25745 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25746 PyObject
*resultobj
= 0;
25747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25751 PyObject
*swig_obj
[1] ;
25753 if (!args
) SWIG_fail
;
25754 swig_obj
[0] = args
;
25755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25759 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (arg1
)->GetToolSize();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25773 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
= 0;
25775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25778 wxToolBarToolBase
*result
= 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 PyObject
* obj2
= 0 ;
25788 char * kwnames
[] = {
25789 (char *) "self",(char *) "x",(char *) "y", NULL
25792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25794 if (!SWIG_IsOK(res1
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25799 if (!SWIG_IsOK(ecode2
)) {
25800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25802 arg2
= static_cast< int >(val2
);
25803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25804 if (!SWIG_IsOK(ecode3
)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25807 arg3
= static_cast< int >(val3
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25823 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25827 wxToolBarToolBase
*result
= 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char * kwnames
[] = {
25835 (char *) "self",(char *) "toolid", NULL
25838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25843 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25845 if (!SWIG_IsOK(ecode2
)) {
25846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25848 arg2
= static_cast< int >(val2
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25864 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25865 PyObject
*resultobj
= 0;
25866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25870 PyObject
*swig_obj
[1] ;
25872 if (!args
) SWIG_fail
;
25873 swig_obj
[0] = args
;
25874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25878 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (bool)(arg1
)->IsVertical();
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25894 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25895 PyObject
*resultobj
= 0;
25896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25900 PyObject
*swig_obj
[1] ;
25902 if (!args
) SWIG_fail
;
25903 swig_obj
[0] = args
;
25904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25905 if (!SWIG_IsOK(res1
)) {
25906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25908 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25922 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25925 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25926 return SWIG_Py_Void();
25929 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
= 0;
25931 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 int arg2
= (int) -1 ;
25933 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25934 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25935 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25936 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25937 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25938 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25939 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25940 wxToolBar
*result
= 0 ;
25949 bool temp6
= false ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 PyObject
* obj2
= 0 ;
25953 PyObject
* obj3
= 0 ;
25954 PyObject
* obj4
= 0 ;
25955 PyObject
* obj5
= 0 ;
25956 char * kwnames
[] = {
25957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25962 if (!SWIG_IsOK(res1
)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25968 if (!SWIG_IsOK(ecode2
)) {
25969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25971 arg2
= static_cast< int >(val2
);
25976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25986 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25987 if (!SWIG_IsOK(ecode5
)) {
25988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25990 arg5
= static_cast< long >(val5
);
25994 arg6
= wxString_in_helper(obj5
);
25995 if (arg6
== NULL
) SWIG_fail
;
26000 if (!wxPyCheckForApp()) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26021 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxToolBar
*result
= 0 ;
26025 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26027 if (!wxPyCheckForApp()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxToolBar
*)new wxToolBar();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26040 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26043 wxWindow
*arg2
= (wxWindow
*) 0 ;
26044 int arg3
= (int) -1 ;
26045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26049 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26050 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26063 bool temp7
= false ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 PyObject
* obj3
= 0 ;
26068 PyObject
* obj4
= 0 ;
26069 PyObject
* obj5
= 0 ;
26070 PyObject
* obj6
= 0 ;
26071 char * kwnames
[] = {
26072 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26077 if (!SWIG_IsOK(res1
)) {
26078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26080 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26082 if (!SWIG_IsOK(res2
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26088 if (!SWIG_IsOK(ecode3
)) {
26089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26091 arg3
= static_cast< int >(val3
);
26096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26106 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26107 if (!SWIG_IsOK(ecode6
)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26110 arg6
= static_cast< long >(val6
);
26114 arg7
= wxString_in_helper(obj6
);
26115 if (arg7
== NULL
) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26142 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
= 0;
26144 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26146 wxBitmap
*arg3
= 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26165 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26167 if (!SWIG_IsOK(ecode2
)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26170 arg2
= static_cast< int >(val2
);
26171 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26172 if (!SWIG_IsOK(res3
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26178 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= 0;
26194 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26196 wxBitmap
*arg3
= 0 ;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 char * kwnames
[] = {
26207 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26212 if (!SWIG_IsOK(res1
)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26215 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26217 if (!SWIG_IsOK(ecode2
)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26220 arg2
= static_cast< int >(val2
);
26221 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26222 if (!SWIG_IsOK(res3
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26228 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
= 0;
26244 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26245 SwigValueWrapper
<wxVisualAttributes
> result
;
26248 PyObject
* obj0
= 0 ;
26249 char * kwnames
[] = {
26250 (char *) "variant", NULL
26253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26255 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26256 if (!SWIG_IsOK(ecode1
)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26259 arg1
= static_cast< wxWindowVariant
>(val1
);
26262 if (!wxPyCheckForApp()) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26275 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26278 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26279 return SWIG_Py_Void();
26282 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26283 return SWIG_Python_InitShadowInstance(args
);
26286 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26287 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26292 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26293 PyObject
*pyobj
= 0;
26297 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26299 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26306 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= 0;
26308 wxColour
const &arg1_defvalue
= wxNullColour
;
26309 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26310 wxColour
const &arg2_defvalue
= wxNullColour
;
26311 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26312 wxFont
const &arg3_defvalue
= wxNullFont
;
26313 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26314 wxListItemAttr
*result
= 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 PyObject
* obj2
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26330 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26336 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26340 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26341 if (!SWIG_IsOK(res3
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26347 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26362 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26363 PyObject
*resultobj
= 0;
26364 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26367 PyObject
*swig_obj
[1] ;
26369 if (!args
) SWIG_fail
;
26370 swig_obj
[0] = args
;
26371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26372 if (!SWIG_IsOK(res1
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26375 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_Py_Void();
26390 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
= 0;
26392 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26393 wxColour
*arg2
= 0 ;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 char * kwnames
[] = {
26400 (char *) "self",(char *) "colText", NULL
26403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26408 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_Py_Void();
26426 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= 0;
26428 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26429 wxColour
*arg2
= 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 char * kwnames
[] = {
26436 (char *) "self",(char *) "colBack", NULL
26439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26441 if (!SWIG_IsOK(res1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26444 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_Py_Void();
26462 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
= 0;
26464 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 char * kwnames
[] = {
26473 (char *) "self",(char *) "font", NULL
26476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26481 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26483 if (!SWIG_IsOK(res2
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26489 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->SetFont((wxFont
const &)*arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_Py_Void();
26503 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26504 PyObject
*resultobj
= 0;
26505 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26509 PyObject
*swig_obj
[1] ;
26511 if (!args
) SWIG_fail
;
26512 swig_obj
[0] = args
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26517 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (bool)(arg1
)->HasTextColour();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26533 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26534 PyObject
*resultobj
= 0;
26535 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26539 PyObject
*swig_obj
[1] ;
26541 if (!args
) SWIG_fail
;
26542 swig_obj
[0] = args
;
26543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26544 if (!SWIG_IsOK(res1
)) {
26545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26547 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 result
= (bool)(arg1
)->HasBackgroundColour();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26563 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26564 PyObject
*resultobj
= 0;
26565 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26569 PyObject
*swig_obj
[1] ;
26571 if (!args
) SWIG_fail
;
26572 swig_obj
[0] = args
;
26573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26577 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (bool)(arg1
)->HasFont();
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26593 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26599 PyObject
*swig_obj
[1] ;
26601 if (!args
) SWIG_fail
;
26602 swig_obj
[0] = args
;
26603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26604 if (!SWIG_IsOK(res1
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26607 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (arg1
)->GetTextColour();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26621 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26622 PyObject
*resultobj
= 0;
26623 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26627 PyObject
*swig_obj
[1] ;
26629 if (!args
) SWIG_fail
;
26630 swig_obj
[0] = args
;
26631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26635 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (arg1
)->GetBackgroundColour();
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26649 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26650 PyObject
*resultobj
= 0;
26651 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26655 PyObject
*swig_obj
[1] ;
26657 if (!args
) SWIG_fail
;
26658 swig_obj
[0] = args
;
26659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26663 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (arg1
)->GetFont();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26677 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
= 0;
26679 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26680 wxListItemAttr
*arg2
= 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char * kwnames
[] = {
26688 (char *) "self",(char *) "source", NULL
26691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26696 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26698 if (!SWIG_IsOK(res2
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26704 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= SWIG_Py_Void();
26718 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26719 PyObject
*resultobj
= 0;
26720 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26723 PyObject
*swig_obj
[1] ;
26725 if (!args
) SWIG_fail
;
26726 swig_obj
[0] = args
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26731 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 wxListItemAttr_Destroy(arg1
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26748 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26749 return SWIG_Py_Void();
26752 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26753 return SWIG_Python_InitShadowInstance(args
);
26756 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxListItem
*result
= 0 ;
26760 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (wxListItem
*)new wxListItem();
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26774 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 PyObject
*resultobj
= 0;
26776 wxListItem
*arg1
= (wxListItem
*) 0 ;
26779 PyObject
*swig_obj
[1] ;
26781 if (!args
) SWIG_fail
;
26782 swig_obj
[0] = args
;
26783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26784 if (!SWIG_IsOK(res1
)) {
26785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26787 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_Py_Void();
26802 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26803 PyObject
*resultobj
= 0;
26804 wxListItem
*arg1
= (wxListItem
*) 0 ;
26807 PyObject
*swig_obj
[1] ;
26809 if (!args
) SWIG_fail
;
26810 swig_obj
[0] = args
;
26811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26815 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_Py_Void();
26829 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*arg1
= (wxListItem
*) 0 ;
26834 PyObject
*swig_obj
[1] ;
26836 if (!args
) SWIG_fail
;
26837 swig_obj
[0] = args
;
26838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 (arg1
)->ClearAttributes();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_Py_Void();
26856 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
= 0;
26858 wxListItem
*arg1
= (wxListItem
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 char * kwnames
[] = {
26867 (char *) "self",(char *) "mask", NULL
26870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26872 if (!SWIG_IsOK(res1
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26875 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26877 if (!SWIG_IsOK(ecode2
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26880 arg2
= static_cast< long >(val2
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 (arg1
)->SetMask(arg2
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= SWIG_Py_Void();
26894 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
= 0;
26896 wxListItem
*arg1
= (wxListItem
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char * kwnames
[] = {
26905 (char *) "self",(char *) "id", NULL
26908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26910 if (!SWIG_IsOK(res1
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26913 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26915 if (!SWIG_IsOK(ecode2
)) {
26916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26918 arg2
= static_cast< long >(val2
);
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->SetId(arg2
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= SWIG_Py_Void();
26932 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
= 0;
26934 wxListItem
*arg1
= (wxListItem
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char * kwnames
[] = {
26943 (char *) "self",(char *) "col", NULL
26946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26951 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26953 if (!SWIG_IsOK(ecode2
)) {
26954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26956 arg2
= static_cast< int >(val2
);
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 (arg1
)->SetColumn(arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_Py_Void();
26970 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxListItem
*arg1
= (wxListItem
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char * kwnames
[] = {
26981 (char *) "self",(char *) "state", NULL
26984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26986 if (!SWIG_IsOK(res1
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26989 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26991 if (!SWIG_IsOK(ecode2
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26994 arg2
= static_cast< long >(val2
);
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 (arg1
)->SetState(arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_Py_Void();
27008 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= 0;
27010 wxListItem
*arg1
= (wxListItem
*) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char * kwnames
[] = {
27019 (char *) "self",(char *) "stateMask", NULL
27022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27027 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27029 if (!SWIG_IsOK(ecode2
)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27032 arg2
= static_cast< long >(val2
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 (arg1
)->SetStateMask(arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= SWIG_Py_Void();
27046 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
= 0;
27048 wxListItem
*arg1
= (wxListItem
*) 0 ;
27049 wxString
*arg2
= 0 ;
27052 bool temp2
= false ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 char * kwnames
[] = {
27056 (char *) "self",(char *) "text", NULL
27059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27061 if (!SWIG_IsOK(res1
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27064 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27066 arg2
= wxString_in_helper(obj1
);
27067 if (arg2
== NULL
) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->SetText((wxString
const &)*arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_Py_Void();
27091 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
= 0;
27093 wxListItem
*arg1
= (wxListItem
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "image", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27110 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27112 if (!SWIG_IsOK(ecode2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27115 arg2
= static_cast< int >(val2
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->SetImage(arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 resultobj
= SWIG_Py_Void();
27129 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxListItem
*arg1
= (wxListItem
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char * kwnames
[] = {
27140 (char *) "self",(char *) "data", NULL
27143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27148 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27150 if (!SWIG_IsOK(ecode2
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27153 arg2
= static_cast< long >(val2
);
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->SetData(arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_Py_Void();
27167 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
= 0;
27169 wxListItem
*arg1
= (wxListItem
*) 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char * kwnames
[] = {
27178 (char *) "self",(char *) "width", NULL
27181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27186 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27188 if (!SWIG_IsOK(ecode2
)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27191 arg2
= static_cast< int >(val2
);
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 (arg1
)->SetWidth(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_Py_Void();
27205 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
= 0;
27207 wxListItem
*arg1
= (wxListItem
*) 0 ;
27208 wxListColumnFormat arg2
;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char * kwnames
[] = {
27216 (char *) "self",(char *) "align", NULL
27219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27224 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27226 if (!SWIG_IsOK(ecode2
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27229 arg2
= static_cast< wxListColumnFormat
>(val2
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 (arg1
)->SetAlign(arg2
);
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
= 0;
27245 wxListItem
*arg1
= (wxListItem
*) 0 ;
27246 wxColour
*arg2
= 0 ;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char * kwnames
[] = {
27253 (char *) "self",(char *) "colText", NULL
27256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_Py_Void();
27279 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
= 0;
27281 wxListItem
*arg1
= (wxListItem
*) 0 ;
27282 wxColour
*arg2
= 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char * kwnames
[] = {
27289 (char *) "self",(char *) "colBack", NULL
27292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_Py_Void();
27315 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
= 0;
27317 wxListItem
*arg1
= (wxListItem
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char * kwnames
[] = {
27326 (char *) "self",(char *) "font", NULL
27329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27336 if (!SWIG_IsOK(res2
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27342 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 (arg1
)->SetFont((wxFont
const &)*arg2
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_Py_Void();
27356 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27358 wxListItem
*arg1
= (wxListItem
*) 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (long)(arg1
)->GetMask();
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_From_long(static_cast< long >(result
));
27384 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxListItem
*arg1
= (wxListItem
*) 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27398 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (long)(arg1
)->GetId();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_From_long(static_cast< long >(result
));
27412 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27413 PyObject
*resultobj
= 0;
27414 wxListItem
*arg1
= (wxListItem
*) 0 ;
27418 PyObject
*swig_obj
[1] ;
27420 if (!args
) SWIG_fail
;
27421 swig_obj
[0] = args
;
27422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27423 if (!SWIG_IsOK(res1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27426 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 result
= (int)(arg1
)->GetColumn();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_From_int(static_cast< int >(result
));
27440 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 PyObject
*resultobj
= 0;
27442 wxListItem
*arg1
= (wxListItem
*) 0 ;
27446 PyObject
*swig_obj
[1] ;
27448 if (!args
) SWIG_fail
;
27449 swig_obj
[0] = args
;
27450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27454 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (long)(arg1
)->GetState();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= SWIG_From_long(static_cast< long >(result
));
27468 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27469 PyObject
*resultobj
= 0;
27470 wxListItem
*arg1
= (wxListItem
*) 0 ;
27471 wxString
*result
= 0 ;
27474 PyObject
*swig_obj
[1] ;
27476 if (!args
) SWIG_fail
;
27477 swig_obj
[0] = args
;
27478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27479 if (!SWIG_IsOK(res1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27482 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 wxString
const &_result_ref
= (arg1
)->GetText();
27487 result
= (wxString
*) &_result_ref
;
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27496 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27505 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27506 PyObject
*resultobj
= 0;
27507 wxListItem
*arg1
= (wxListItem
*) 0 ;
27511 PyObject
*swig_obj
[1] ;
27513 if (!args
) SWIG_fail
;
27514 swig_obj
[0] = args
;
27515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27516 if (!SWIG_IsOK(res1
)) {
27517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27519 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (int)(arg1
)->GetImage();
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= SWIG_From_int(static_cast< int >(result
));
27533 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 PyObject
*resultobj
= 0;
27535 wxListItem
*arg1
= (wxListItem
*) 0 ;
27539 PyObject
*swig_obj
[1] ;
27541 if (!args
) SWIG_fail
;
27542 swig_obj
[0] = args
;
27543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27547 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (long)(arg1
)->GetData();
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= SWIG_From_long(static_cast< long >(result
));
27561 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListItem
*arg1
= (wxListItem
*) 0 ;
27567 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27575 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (int)(arg1
)->GetWidth();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_From_int(static_cast< int >(result
));
27589 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27590 PyObject
*resultobj
= 0;
27591 wxListItem
*arg1
= (wxListItem
*) 0 ;
27592 wxListColumnFormat result
;
27595 PyObject
*swig_obj
[1] ;
27597 if (!args
) SWIG_fail
;
27598 swig_obj
[0] = args
;
27599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27600 if (!SWIG_IsOK(res1
)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27603 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 resultobj
= SWIG_From_int(static_cast< int >(result
));
27617 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27618 PyObject
*resultobj
= 0;
27619 wxListItem
*arg1
= (wxListItem
*) 0 ;
27620 wxListItemAttr
*result
= 0 ;
27623 PyObject
*swig_obj
[1] ;
27625 if (!args
) SWIG_fail
;
27626 swig_obj
[0] = args
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27631 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27645 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27646 PyObject
*resultobj
= 0;
27647 wxListItem
*arg1
= (wxListItem
*) 0 ;
27651 PyObject
*swig_obj
[1] ;
27653 if (!args
) SWIG_fail
;
27654 swig_obj
[0] = args
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (bool)(arg1
)->HasAttributes();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27675 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 PyObject
*resultobj
= 0;
27677 wxListItem
*arg1
= (wxListItem
*) 0 ;
27681 PyObject
*swig_obj
[1] ;
27683 if (!args
) SWIG_fail
;
27684 swig_obj
[0] = args
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27689 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27703 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27704 PyObject
*resultobj
= 0;
27705 wxListItem
*arg1
= (wxListItem
*) 0 ;
27709 PyObject
*swig_obj
[1] ;
27711 if (!args
) SWIG_fail
;
27712 swig_obj
[0] = args
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27717 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27731 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27732 PyObject
*resultobj
= 0;
27733 wxListItem
*arg1
= (wxListItem
*) 0 ;
27737 PyObject
*swig_obj
[1] ;
27739 if (!args
) SWIG_fail
;
27740 swig_obj
[0] = args
;
27741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27742 if (!SWIG_IsOK(res1
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27745 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= ((wxListItem
const *)arg1
)->GetFont();
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27759 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27760 PyObject
*resultobj
= 0;
27761 wxListItem
*arg1
= (wxListItem
*) 0 ;
27767 PyObject
*swig_obj
[2] ;
27769 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27771 if (!SWIG_IsOK(res1
)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27774 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27775 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27776 if (!SWIG_IsOK(ecode2
)) {
27777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27779 arg2
= static_cast< long >(val2
);
27780 if (arg1
) (arg1
)->m_mask
= arg2
;
27782 resultobj
= SWIG_Py_Void();
27789 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27790 PyObject
*resultobj
= 0;
27791 wxListItem
*arg1
= (wxListItem
*) 0 ;
27795 PyObject
*swig_obj
[1] ;
27797 if (!args
) SWIG_fail
;
27798 swig_obj
[0] = args
;
27799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27803 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27804 result
= (long) ((arg1
)->m_mask
);
27805 resultobj
= SWIG_From_long(static_cast< long >(result
));
27812 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 PyObject
*resultobj
= 0;
27814 wxListItem
*arg1
= (wxListItem
*) 0 ;
27820 PyObject
*swig_obj
[2] ;
27822 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27824 if (!SWIG_IsOK(res1
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27827 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27828 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27829 if (!SWIG_IsOK(ecode2
)) {
27830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27832 arg2
= static_cast< long >(val2
);
27833 if (arg1
) (arg1
)->m_itemId
= arg2
;
27835 resultobj
= SWIG_Py_Void();
27842 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxListItem
*arg1
= (wxListItem
*) 0 ;
27848 PyObject
*swig_obj
[1] ;
27850 if (!args
) SWIG_fail
;
27851 swig_obj
[0] = args
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27856 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27857 result
= (long) ((arg1
)->m_itemId
);
27858 resultobj
= SWIG_From_long(static_cast< long >(result
));
27865 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27866 PyObject
*resultobj
= 0;
27867 wxListItem
*arg1
= (wxListItem
*) 0 ;
27873 PyObject
*swig_obj
[2] ;
27875 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27880 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27881 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27882 if (!SWIG_IsOK(ecode2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27885 arg2
= static_cast< int >(val2
);
27886 if (arg1
) (arg1
)->m_col
= arg2
;
27888 resultobj
= SWIG_Py_Void();
27895 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListItem
*arg1
= (wxListItem
*) 0 ;
27901 PyObject
*swig_obj
[1] ;
27903 if (!args
) SWIG_fail
;
27904 swig_obj
[0] = args
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27909 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27910 result
= (int) ((arg1
)->m_col
);
27911 resultobj
= SWIG_From_int(static_cast< int >(result
));
27918 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxListItem
*arg1
= (wxListItem
*) 0 ;
27926 PyObject
*swig_obj
[2] ;
27928 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27933 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27934 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27935 if (!SWIG_IsOK(ecode2
)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27938 arg2
= static_cast< long >(val2
);
27939 if (arg1
) (arg1
)->m_state
= arg2
;
27941 resultobj
= SWIG_Py_Void();
27948 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27949 PyObject
*resultobj
= 0;
27950 wxListItem
*arg1
= (wxListItem
*) 0 ;
27954 PyObject
*swig_obj
[1] ;
27956 if (!args
) SWIG_fail
;
27957 swig_obj
[0] = args
;
27958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27959 if (!SWIG_IsOK(res1
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27962 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27963 result
= (long) ((arg1
)->m_state
);
27964 resultobj
= SWIG_From_long(static_cast< long >(result
));
27971 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27972 PyObject
*resultobj
= 0;
27973 wxListItem
*arg1
= (wxListItem
*) 0 ;
27979 PyObject
*swig_obj
[2] ;
27981 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27987 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27988 if (!SWIG_IsOK(ecode2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27991 arg2
= static_cast< long >(val2
);
27992 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxListItem
*arg1
= (wxListItem
*) 0 ;
28007 PyObject
*swig_obj
[1] ;
28009 if (!args
) SWIG_fail
;
28010 swig_obj
[0] = args
;
28011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28012 if (!SWIG_IsOK(res1
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28015 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28016 result
= (long) ((arg1
)->m_stateMask
);
28017 resultobj
= SWIG_From_long(static_cast< long >(result
));
28024 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28025 PyObject
*resultobj
= 0;
28026 wxListItem
*arg1
= (wxListItem
*) 0 ;
28027 wxString
*arg2
= (wxString
*) 0 ;
28030 bool temp2
= false ;
28031 PyObject
*swig_obj
[2] ;
28033 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28038 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28040 arg2
= wxString_in_helper(swig_obj
[1]);
28041 if (arg2
== NULL
) SWIG_fail
;
28044 if (arg1
) (arg1
)->m_text
= *arg2
;
28046 resultobj
= SWIG_Py_Void();
28061 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28062 PyObject
*resultobj
= 0;
28063 wxListItem
*arg1
= (wxListItem
*) 0 ;
28064 wxString
*result
= 0 ;
28067 PyObject
*swig_obj
[1] ;
28069 if (!args
) SWIG_fail
;
28070 swig_obj
[0] = args
;
28071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28075 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28076 result
= (wxString
*)& ((arg1
)->m_text
);
28079 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28081 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28090 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28091 PyObject
*resultobj
= 0;
28092 wxListItem
*arg1
= (wxListItem
*) 0 ;
28098 PyObject
*swig_obj
[2] ;
28100 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28105 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28106 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28107 if (!SWIG_IsOK(ecode2
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28110 arg2
= static_cast< int >(val2
);
28111 if (arg1
) (arg1
)->m_image
= arg2
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28122 wxListItem
*arg1
= (wxListItem
*) 0 ;
28126 PyObject
*swig_obj
[1] ;
28128 if (!args
) SWIG_fail
;
28129 swig_obj
[0] = args
;
28130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28131 if (!SWIG_IsOK(res1
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28134 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28135 result
= (int) ((arg1
)->m_image
);
28136 resultobj
= SWIG_From_int(static_cast< int >(result
));
28143 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28144 PyObject
*resultobj
= 0;
28145 wxListItem
*arg1
= (wxListItem
*) 0 ;
28151 PyObject
*swig_obj
[2] ;
28153 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28158 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28159 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28160 if (!SWIG_IsOK(ecode2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28163 arg2
= static_cast< long >(val2
);
28164 if (arg1
) (arg1
)->m_data
= arg2
;
28166 resultobj
= SWIG_Py_Void();
28173 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28174 PyObject
*resultobj
= 0;
28175 wxListItem
*arg1
= (wxListItem
*) 0 ;
28179 PyObject
*swig_obj
[1] ;
28181 if (!args
) SWIG_fail
;
28182 swig_obj
[0] = args
;
28183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28184 if (!SWIG_IsOK(res1
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28187 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28188 result
= (long) ((arg1
)->m_data
);
28189 resultobj
= SWIG_From_long(static_cast< long >(result
));
28196 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28197 PyObject
*resultobj
= 0;
28198 wxListItem
*arg1
= (wxListItem
*) 0 ;
28204 PyObject
*swig_obj
[2] ;
28206 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28208 if (!SWIG_IsOK(res1
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28211 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28212 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28213 if (!SWIG_IsOK(ecode2
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28216 arg2
= static_cast< int >(val2
);
28217 if (arg1
) (arg1
)->m_format
= arg2
;
28219 resultobj
= SWIG_Py_Void();
28226 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 PyObject
*resultobj
= 0;
28228 wxListItem
*arg1
= (wxListItem
*) 0 ;
28232 PyObject
*swig_obj
[1] ;
28234 if (!args
) SWIG_fail
;
28235 swig_obj
[0] = args
;
28236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28240 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28241 result
= (int) ((arg1
)->m_format
);
28242 resultobj
= SWIG_From_int(static_cast< int >(result
));
28249 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28250 PyObject
*resultobj
= 0;
28251 wxListItem
*arg1
= (wxListItem
*) 0 ;
28257 PyObject
*swig_obj
[2] ;
28259 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28261 if (!SWIG_IsOK(res1
)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28264 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28265 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28266 if (!SWIG_IsOK(ecode2
)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28269 arg2
= static_cast< int >(val2
);
28270 if (arg1
) (arg1
)->m_width
= arg2
;
28272 resultobj
= SWIG_Py_Void();
28279 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28281 wxListItem
*arg1
= (wxListItem
*) 0 ;
28285 PyObject
*swig_obj
[1] ;
28287 if (!args
) SWIG_fail
;
28288 swig_obj
[0] = args
;
28289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28293 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28294 result
= (int) ((arg1
)->m_width
);
28295 resultobj
= SWIG_From_int(static_cast< int >(result
));
28302 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28305 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28306 return SWIG_Py_Void();
28309 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28310 return SWIG_Python_InitShadowInstance(args
);
28313 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
= 0;
28315 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28316 int arg2
= (int) 0 ;
28317 wxListEvent
*result
= 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char * kwnames
[] = {
28325 (char *) "commandType",(char *) "id", NULL
28328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28331 if (!SWIG_IsOK(ecode1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28334 arg1
= static_cast< wxEventType
>(val1
);
28337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28338 if (!SWIG_IsOK(ecode2
)) {
28339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28341 arg2
= static_cast< int >(val2
);
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28356 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28357 PyObject
*resultobj
= 0;
28358 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28364 PyObject
*swig_obj
[2] ;
28366 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28371 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28372 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28373 if (!SWIG_IsOK(ecode2
)) {
28374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28376 arg2
= static_cast< int >(val2
);
28377 if (arg1
) (arg1
)->m_code
= arg2
;
28379 resultobj
= SWIG_Py_Void();
28386 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28387 PyObject
*resultobj
= 0;
28388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28392 PyObject
*swig_obj
[1] ;
28394 if (!args
) SWIG_fail
;
28395 swig_obj
[0] = args
;
28396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28397 if (!SWIG_IsOK(res1
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28400 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28401 result
= (int) ((arg1
)->m_code
);
28402 resultobj
= SWIG_From_int(static_cast< int >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28417 PyObject
*swig_obj
[2] ;
28419 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28424 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28426 if (!SWIG_IsOK(ecode2
)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28429 arg2
= static_cast< long >(val2
);
28430 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28432 resultobj
= SWIG_Py_Void();
28439 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 PyObject
*resultobj
= 0;
28441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28445 PyObject
*swig_obj
[1] ;
28447 if (!args
) SWIG_fail
;
28448 swig_obj
[0] = args
;
28449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28453 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28454 result
= (long) ((arg1
)->m_oldItemIndex
);
28455 resultobj
= SWIG_From_long(static_cast< long >(result
));
28462 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 PyObject
*resultobj
= 0;
28464 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28470 PyObject
*swig_obj
[2] ;
28472 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28477 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28478 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28479 if (!SWIG_IsOK(ecode2
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28482 arg2
= static_cast< long >(val2
);
28483 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28485 resultobj
= SWIG_Py_Void();
28492 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28493 PyObject
*resultobj
= 0;
28494 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28498 PyObject
*swig_obj
[1] ;
28500 if (!args
) SWIG_fail
;
28501 swig_obj
[0] = args
;
28502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28506 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28507 result
= (long) ((arg1
)->m_itemIndex
);
28508 resultobj
= SWIG_From_long(static_cast< long >(result
));
28515 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28516 PyObject
*resultobj
= 0;
28517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28523 PyObject
*swig_obj
[2] ;
28525 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28527 if (!SWIG_IsOK(res1
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28530 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28531 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28532 if (!SWIG_IsOK(ecode2
)) {
28533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28535 arg2
= static_cast< int >(val2
);
28536 if (arg1
) (arg1
)->m_col
= arg2
;
28538 resultobj
= SWIG_Py_Void();
28545 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28546 PyObject
*resultobj
= 0;
28547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28551 PyObject
*swig_obj
[1] ;
28553 if (!args
) SWIG_fail
;
28554 swig_obj
[0] = args
;
28555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28556 if (!SWIG_IsOK(res1
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28559 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28560 result
= (int) ((arg1
)->m_col
);
28561 resultobj
= SWIG_From_int(static_cast< int >(result
));
28568 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28569 PyObject
*resultobj
= 0;
28570 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28571 wxPoint
*arg2
= (wxPoint
*) 0 ;
28576 PyObject
*swig_obj
[2] ;
28578 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28583 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28584 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28585 if (!SWIG_IsOK(res2
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28588 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28589 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28591 resultobj
= SWIG_Py_Void();
28598 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28599 PyObject
*resultobj
= 0;
28600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28601 wxPoint
*result
= 0 ;
28604 PyObject
*swig_obj
[1] ;
28606 if (!args
) SWIG_fail
;
28607 swig_obj
[0] = args
;
28608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28612 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28613 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28621 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28622 PyObject
*resultobj
= 0;
28623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28624 wxListItem
*result
= 0 ;
28627 PyObject
*swig_obj
[1] ;
28629 if (!args
) SWIG_fail
;
28630 swig_obj
[0] = args
;
28631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28632 if (!SWIG_IsOK(res1
)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28635 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28636 result
= (wxListItem
*)& ((arg1
)->m_item
);
28638 resultobj
= wxPyMake_wxObject(result
, 0);
28646 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28647 PyObject
*resultobj
= 0;
28648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28652 PyObject
*swig_obj
[1] ;
28654 if (!args
) SWIG_fail
;
28655 swig_obj
[0] = args
;
28656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28660 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= (int)(arg1
)->GetKeyCode();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_From_int(static_cast< int >(result
));
28674 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28675 PyObject
*resultobj
= 0;
28676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28680 PyObject
*swig_obj
[1] ;
28682 if (!args
) SWIG_fail
;
28683 swig_obj
[0] = args
;
28684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28688 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= (long)(arg1
)->GetIndex();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_From_long(static_cast< long >(result
));
28702 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 PyObject
*resultobj
= 0;
28704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28708 PyObject
*swig_obj
[1] ;
28710 if (!args
) SWIG_fail
;
28711 swig_obj
[0] = args
;
28712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28716 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (int)(arg1
)->GetColumn();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_From_int(static_cast< int >(result
));
28730 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28732 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28736 PyObject
*swig_obj
[1] ;
28738 if (!args
) SWIG_fail
;
28739 swig_obj
[0] = args
;
28740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28741 if (!SWIG_IsOK(res1
)) {
28742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28744 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 result
= (arg1
)->GetPoint();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28758 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28759 PyObject
*resultobj
= 0;
28760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28761 wxString
*result
= 0 ;
28764 PyObject
*swig_obj
[1] ;
28766 if (!args
) SWIG_fail
;
28767 swig_obj
[0] = args
;
28768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28769 if (!SWIG_IsOK(res1
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28772 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 wxString
const &_result_ref
= (arg1
)->GetLabel();
28777 result
= (wxString
*) &_result_ref
;
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28786 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28795 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28796 PyObject
*resultobj
= 0;
28797 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28798 wxString
*result
= 0 ;
28801 PyObject
*swig_obj
[1] ;
28803 if (!args
) SWIG_fail
;
28804 swig_obj
[0] = args
;
28805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28809 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 wxString
const &_result_ref
= (arg1
)->GetText();
28814 result
= (wxString
*) &_result_ref
;
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28832 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 PyObject
*resultobj
= 0;
28834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28838 PyObject
*swig_obj
[1] ;
28840 if (!args
) SWIG_fail
;
28841 swig_obj
[0] = args
;
28842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28846 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (int)(arg1
)->GetImage();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_From_int(static_cast< int >(result
));
28860 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28861 PyObject
*resultobj
= 0;
28862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28866 PyObject
*swig_obj
[1] ;
28868 if (!args
) SWIG_fail
;
28869 swig_obj
[0] = args
;
28870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28871 if (!SWIG_IsOK(res1
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28874 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (long)(arg1
)->GetData();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_From_long(static_cast< long >(result
));
28888 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28894 PyObject
*swig_obj
[1] ;
28896 if (!args
) SWIG_fail
;
28897 swig_obj
[0] = args
;
28898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28902 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (long)(arg1
)->GetMask();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 resultobj
= SWIG_From_long(static_cast< long >(result
));
28916 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28917 PyObject
*resultobj
= 0;
28918 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28919 wxListItem
*result
= 0 ;
28922 PyObject
*swig_obj
[1] ;
28924 if (!args
) SWIG_fail
;
28925 swig_obj
[0] = args
;
28926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28927 if (!SWIG_IsOK(res1
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28930 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28935 result
= (wxListItem
*) &_result_ref
;
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28947 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28948 PyObject
*resultobj
= 0;
28949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28953 PyObject
*swig_obj
[1] ;
28955 if (!args
) SWIG_fail
;
28956 swig_obj
[0] = args
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28961 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (long)(arg1
)->GetCacheFrom();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_From_long(static_cast< long >(result
));
28975 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 PyObject
*resultobj
= 0;
28977 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28981 PyObject
*swig_obj
[1] ;
28983 if (!args
) SWIG_fail
;
28984 swig_obj
[0] = args
;
28985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28986 if (!SWIG_IsOK(res1
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28989 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 result
= (long)(arg1
)->GetCacheTo();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_From_long(static_cast< long >(result
));
29003 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29004 PyObject
*resultobj
= 0;
29005 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29009 PyObject
*swig_obj
[1] ;
29011 if (!args
) SWIG_fail
;
29012 swig_obj
[0] = args
;
29013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29014 if (!SWIG_IsOK(res1
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29017 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29033 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29035 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 PyObject
* obj1
= 0 ;
29043 char * kwnames
[] = {
29044 (char *) "self",(char *) "editCancelled", NULL
29047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29052 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29053 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29054 if (!SWIG_IsOK(ecode2
)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29057 arg2
= static_cast< bool >(val2
);
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 (arg1
)->SetEditCanceled(arg2
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_Py_Void();
29071 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29074 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29075 return SWIG_Py_Void();
29078 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29079 return SWIG_Python_InitShadowInstance(args
);
29082 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
= 0;
29084 wxWindow
*arg1
= (wxWindow
*) 0 ;
29085 int arg2
= (int) -1 ;
29086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29090 long arg5
= (long) wxLC_ICON
;
29091 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29092 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29093 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29095 wxPyListCtrl
*result
= 0 ;
29106 bool temp7
= false ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 PyObject
* obj3
= 0 ;
29111 PyObject
* obj4
= 0 ;
29112 PyObject
* obj5
= 0 ;
29113 PyObject
* obj6
= 0 ;
29114 char * kwnames
[] = {
29115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29120 if (!SWIG_IsOK(res1
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29126 if (!SWIG_IsOK(ecode2
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29129 arg2
= static_cast< int >(val2
);
29134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29140 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29144 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29145 if (!SWIG_IsOK(ecode5
)) {
29146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29148 arg5
= static_cast< long >(val5
);
29151 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29152 if (!SWIG_IsOK(res6
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29158 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29162 arg7
= wxString_in_helper(obj6
);
29163 if (arg7
== NULL
) SWIG_fail
;
29168 if (!wxPyCheckForApp()) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29189 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 PyObject
*resultobj
= 0;
29191 wxPyListCtrl
*result
= 0 ;
29193 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29195 if (!wxPyCheckForApp()) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29208 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= 0;
29210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29211 wxWindow
*arg2
= (wxWindow
*) 0 ;
29212 int arg3
= (int) -1 ;
29213 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29214 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29215 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29216 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29217 long arg6
= (long) wxLC_ICON
;
29218 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29219 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29220 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29221 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29235 bool temp8
= false ;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 PyObject
* obj2
= 0 ;
29239 PyObject
* obj3
= 0 ;
29240 PyObject
* obj4
= 0 ;
29241 PyObject
* obj5
= 0 ;
29242 PyObject
* obj6
= 0 ;
29243 PyObject
* obj7
= 0 ;
29244 char * kwnames
[] = {
29245 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29250 if (!SWIG_IsOK(res1
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29255 if (!SWIG_IsOK(res2
)) {
29256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29261 if (!SWIG_IsOK(ecode3
)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29264 arg3
= static_cast< int >(val3
);
29269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29279 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29280 if (!SWIG_IsOK(ecode6
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29283 arg6
= static_cast< long >(val6
);
29286 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29287 if (!SWIG_IsOK(res7
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29293 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29297 arg8
= wxString_in_helper(obj7
);
29298 if (arg8
== NULL
) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29325 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
= 0;
29327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29328 PyObject
*arg2
= (PyObject
*) 0 ;
29329 PyObject
*arg3
= (PyObject
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 char * kwnames
[] = {
29336 (char *) "self",(char *) "self",(char *) "_class", NULL
29339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29344 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_Py_Void();
29360 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
= 0;
29362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29364 wxListItem
*result
= 0 ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 char * kwnames
[] = {
29372 (char *) "self",(char *) "col", NULL
29375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29377 if (!SWIG_IsOK(res1
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29380 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29382 if (!SWIG_IsOK(ecode2
)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29385 arg2
= static_cast< int >(val2
);
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= wxPyMake_wxObject(result
, 0);
29401 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
= 0;
29403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29405 wxListItem
*arg3
= 0 ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 PyObject
* obj2
= 0 ;
29416 char * kwnames
[] = {
29417 (char *) "self",(char *) "col",(char *) "item", NULL
29420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29422 if (!SWIG_IsOK(res1
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29427 if (!SWIG_IsOK(ecode2
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29430 arg2
= static_cast< int >(val2
);
29431 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29432 if (!SWIG_IsOK(res3
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29438 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29454 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
= 0;
29456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 char * kwnames
[] = {
29466 (char *) "self",(char *) "col", NULL
29469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29476 if (!SWIG_IsOK(ecode2
)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29479 arg2
= static_cast< int >(val2
);
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29483 wxPyEndAllowThreads(__tstate
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= SWIG_From_int(static_cast< int >(result
));
29493 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
= 0;
29495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 PyObject
* obj2
= 0 ;
29508 char * kwnames
[] = {
29509 (char *) "self",(char *) "col",(char *) "width", NULL
29512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29514 if (!SWIG_IsOK(res1
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29517 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29519 if (!SWIG_IsOK(ecode2
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29522 arg2
= static_cast< int >(val2
);
29523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29524 if (!SWIG_IsOK(ecode3
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29527 arg3
= static_cast< int >(val3
);
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29543 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29544 PyObject
*resultobj
= 0;
29545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29549 PyObject
*swig_obj
[1] ;
29551 if (!args
) SWIG_fail
;
29552 swig_obj
[0] = args
;
29553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29557 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_From_int(static_cast< int >(result
));
29571 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29585 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29599 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29602 wxTextCtrl
*result
= 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29613 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= wxPyMake_wxObject(result
, 0);
29629 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
= 0;
29631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29633 int arg3
= (int) 0 ;
29634 wxListItem
*result
= 0 ;
29641 PyObject
* obj0
= 0 ;
29642 PyObject
* obj1
= 0 ;
29643 PyObject
* obj2
= 0 ;
29644 char * kwnames
[] = {
29645 (char *) "self",(char *) "itemId",(char *) "col", NULL
29648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29650 if (!SWIG_IsOK(res1
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29653 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29654 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29655 if (!SWIG_IsOK(ecode2
)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29658 arg2
= static_cast< long >(val2
);
29660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29661 if (!SWIG_IsOK(ecode3
)) {
29662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29664 arg3
= static_cast< int >(val3
);
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= wxPyMake_wxObject(result
, 0);
29681 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29684 wxListItem
*arg2
= 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char * kwnames
[] = {
29693 (char *) "self",(char *) "info", NULL
29696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29701 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29703 if (!SWIG_IsOK(res2
)) {
29704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29709 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (bool)(arg1
)->SetItem(*arg2
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29725 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29730 wxString
*arg4
= 0 ;
29731 int arg5
= (int) -1 ;
29739 bool temp4
= false ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 PyObject
* obj2
= 0 ;
29745 PyObject
* obj3
= 0 ;
29746 PyObject
* obj4
= 0 ;
29747 char * kwnames
[] = {
29748 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29756 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29757 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29758 if (!SWIG_IsOK(ecode2
)) {
29759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29761 arg2
= static_cast< long >(val2
);
29762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29763 if (!SWIG_IsOK(ecode3
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29766 arg3
= static_cast< int >(val3
);
29768 arg4
= wxString_in_helper(obj3
);
29769 if (arg4
== NULL
) SWIG_fail
;
29773 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29774 if (!SWIG_IsOK(ecode5
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29777 arg5
= static_cast< int >(val5
);
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= SWIG_From_long(static_cast< long >(result
));
29800 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
= 0;
29802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 PyObject
* obj1
= 0 ;
29814 PyObject
* obj2
= 0 ;
29815 char * kwnames
[] = {
29816 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29821 if (!SWIG_IsOK(res1
)) {
29822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29824 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29825 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29826 if (!SWIG_IsOK(ecode2
)) {
29827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29829 arg2
= static_cast< long >(val2
);
29830 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29831 if (!SWIG_IsOK(ecode3
)) {
29832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29834 arg3
= static_cast< long >(val3
);
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= SWIG_From_int(static_cast< int >(result
));
29848 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29849 PyObject
*resultobj
= 0;
29850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 PyObject
* obj1
= 0 ;
29865 PyObject
* obj2
= 0 ;
29866 PyObject
* obj3
= 0 ;
29867 char * kwnames
[] = {
29868 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29878 if (!SWIG_IsOK(ecode2
)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29881 arg2
= static_cast< long >(val2
);
29882 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29883 if (!SWIG_IsOK(ecode3
)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29886 arg3
= static_cast< long >(val3
);
29887 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29888 if (!SWIG_IsOK(ecode4
)) {
29889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29891 arg4
= static_cast< long >(val4
);
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29907 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
= 0;
29909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29912 int arg4
= (int) -1 ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 PyObject
* obj2
= 0 ;
29925 PyObject
* obj3
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29940 arg2
= static_cast< long >(val2
);
29941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29942 if (!SWIG_IsOK(ecode3
)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29945 arg3
= static_cast< int >(val3
);
29947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29948 if (!SWIG_IsOK(ecode4
)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29951 arg4
= static_cast< int >(val4
);
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29968 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
= 0;
29970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 PyObject
* obj2
= 0 ;
29986 PyObject
* obj3
= 0 ;
29987 char * kwnames
[] = {
29988 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29993 if (!SWIG_IsOK(res1
)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29996 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29998 if (!SWIG_IsOK(ecode2
)) {
29999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30001 arg2
= static_cast< long >(val2
);
30002 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30003 if (!SWIG_IsOK(ecode3
)) {
30004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30006 arg3
= static_cast< long >(val3
);
30007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30008 if (!SWIG_IsOK(ecode4
)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30011 arg4
= static_cast< int >(val4
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30027 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
= 0;
30029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char * kwnames
[] = {
30039 (char *) "self",(char *) "item", NULL
30042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30047 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30048 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30049 if (!SWIG_IsOK(ecode2
)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30052 arg2
= static_cast< long >(val2
);
30054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30055 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30072 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30076 wxString
*arg3
= 0 ;
30081 bool temp3
= false ;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 PyObject
* obj2
= 0 ;
30085 char * kwnames
[] = {
30086 (char *) "self",(char *) "item",(char *) "str", NULL
30089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30091 if (!SWIG_IsOK(res1
)) {
30092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30094 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30096 if (!SWIG_IsOK(ecode2
)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30099 arg2
= static_cast< long >(val2
);
30101 arg3
= wxString_in_helper(obj2
);
30102 if (arg3
== NULL
) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_Py_Void();
30126 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char * kwnames
[] = {
30138 (char *) "self",(char *) "item", NULL
30141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30148 if (!SWIG_IsOK(ecode2
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30151 arg2
= static_cast< long >(val2
);
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= SWIG_From_long(static_cast< long >(result
));
30165 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
= 0;
30167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "item",(char *) "data", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30191 if (!SWIG_IsOK(ecode2
)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30194 arg2
= static_cast< long >(val2
);
30195 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30196 if (!SWIG_IsOK(ecode3
)) {
30197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30199 arg3
= static_cast< long >(val3
);
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30215 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
= 0;
30217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "item", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30236 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30237 if (!SWIG_IsOK(ecode2
)) {
30238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30240 arg2
= static_cast< long >(val2
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30254 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
= 0;
30256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30258 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 PyObject
* obj2
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "item",(char *) "code", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30278 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30280 if (!SWIG_IsOK(ecode2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30283 arg2
= static_cast< long >(val2
);
30285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30286 if (!SWIG_IsOK(ecode3
)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30289 arg3
= static_cast< int >(val3
);
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30304 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30308 wxPoint
*arg3
= 0 ;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 PyObject
* obj2
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "item",(char *) "pos", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30329 if (!SWIG_IsOK(ecode2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30332 arg2
= static_cast< long >(val2
);
30335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30353 PyObject
*resultobj
= 0;
30354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30358 PyObject
*swig_obj
[1] ;
30360 if (!args
) SWIG_fail
;
30361 swig_obj
[0] = args
;
30362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30366 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_From_int(static_cast< int >(result
));
30380 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30381 PyObject
*resultobj
= 0;
30382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30386 PyObject
*swig_obj
[1] ;
30388 if (!args
) SWIG_fail
;
30389 swig_obj
[0] = args
;
30390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30391 if (!SWIG_IsOK(res1
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30394 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_From_int(static_cast< int >(result
));
30408 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 PyObject
*resultobj
= 0;
30410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30414 PyObject
*swig_obj
[1] ;
30416 if (!args
) SWIG_fail
;
30417 swig_obj
[0] = args
;
30418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30436 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= 0;
30438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30440 bool arg3
= (bool) false ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 char * kwnames
[] = {
30451 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30459 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30461 if (!SWIG_IsOK(ecode2
)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30464 arg2
= static_cast< int >(val2
);
30466 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30467 if (!SWIG_IsOK(ecode3
)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30470 arg3
= static_cast< bool >(val3
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 (arg1
)->SetItemSpacing(arg2
,arg3
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_Py_Void();
30485 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30486 PyObject
*resultobj
= 0;
30487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30491 PyObject
*swig_obj
[1] ;
30493 if (!args
) SWIG_fail
;
30494 swig_obj
[0] = args
;
30495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30499 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= SWIG_From_int(static_cast< int >(result
));
30513 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30514 PyObject
*resultobj
= 0;
30515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30519 PyObject
*swig_obj
[1] ;
30521 if (!args
) SWIG_fail
;
30522 swig_obj
[0] = args
;
30523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30524 if (!SWIG_IsOK(res1
)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30527 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30541 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30544 wxColour
*arg2
= 0 ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char * kwnames
[] = {
30551 (char *) "self",(char *) "col", NULL
30554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30556 if (!SWIG_IsOK(res1
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= SWIG_Py_Void();
30577 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30578 PyObject
*resultobj
= 0;
30579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30583 PyObject
*swig_obj
[1] ;
30585 if (!args
) SWIG_fail
;
30586 swig_obj
[0] = args
;
30587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30591 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_From_long(static_cast< long >(result
));
30605 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
= 0;
30607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30609 bool arg3
= (bool) true ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 PyObject
* obj2
= 0 ;
30619 char * kwnames
[] = {
30620 (char *) "self",(char *) "style",(char *) "add", NULL
30623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30629 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30630 if (!SWIG_IsOK(ecode2
)) {
30631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30633 arg2
= static_cast< long >(val2
);
30635 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30636 if (!SWIG_IsOK(ecode3
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30639 arg3
= static_cast< bool >(val3
);
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 (arg1
)->SetSingleStyle(arg2
,arg3
);
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30647 resultobj
= SWIG_Py_Void();
30654 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
= 0;
30656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30658 int arg3
= (int) wxLIST_NEXT_ALL
;
30659 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 PyObject
* obj2
= 0 ;
30672 PyObject
* obj3
= 0 ;
30673 char * kwnames
[] = {
30674 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30679 if (!SWIG_IsOK(res1
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30682 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30683 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30684 if (!SWIG_IsOK(ecode2
)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30687 arg2
= static_cast< long >(val2
);
30689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30690 if (!SWIG_IsOK(ecode3
)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30693 arg3
= static_cast< int >(val3
);
30696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30697 if (!SWIG_IsOK(ecode4
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30700 arg4
= static_cast< int >(val4
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_From_long(static_cast< long >(result
));
30715 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
= 0;
30717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30719 wxImageList
*result
= 0 ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char * kwnames
[] = {
30727 (char *) "self",(char *) "which", NULL
30730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30732 if (!SWIG_IsOK(res1
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30737 if (!SWIG_IsOK(ecode2
)) {
30738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30740 arg2
= static_cast< int >(val2
);
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30756 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
= 0;
30758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30759 wxImageList
*arg2
= (wxImageList
*) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 char * kwnames
[] = {
30771 (char *) "self",(char *) "imageList",(char *) "which", NULL
30774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30781 if (!SWIG_IsOK(res2
)) {
30782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30784 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30786 if (!SWIG_IsOK(ecode3
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30789 arg3
= static_cast< int >(val3
);
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->SetImageList(arg2
,arg3
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= SWIG_Py_Void();
30803 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
= 0;
30805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30806 wxImageList
*arg2
= (wxImageList
*) 0 ;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 PyObject
* obj2
= 0 ;
30816 char * kwnames
[] = {
30817 (char *) "self",(char *) "imageList",(char *) "which", NULL
30820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30822 if (!SWIG_IsOK(res1
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30826 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30827 if (!SWIG_IsOK(res2
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30831 if (!SWIG_IsOK(ecode3
)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30834 arg3
= static_cast< int >(val3
);
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 (arg1
)->AssignImageList(arg2
,arg3
);
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= SWIG_Py_Void();
30848 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30849 PyObject
*resultobj
= 0;
30850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30854 PyObject
*swig_obj
[1] ;
30856 if (!args
) SWIG_fail
;
30857 swig_obj
[0] = args
;
30858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30862 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30878 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30879 PyObject
*resultobj
= 0;
30880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30884 PyObject
*swig_obj
[1] ;
30886 if (!args
) SWIG_fail
;
30887 swig_obj
[0] = args
;
30888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30889 if (!SWIG_IsOK(res1
)) {
30890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30892 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
= 0;
30910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 char * kwnames
[] = {
30919 (char *) "self",(char *) "item", NULL
30922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30927 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30929 if (!SWIG_IsOK(ecode2
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30932 arg2
= static_cast< long >(val2
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->RefreshItem(arg2
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_Py_Void();
30946 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 PyObject
* obj2
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30971 if (!SWIG_IsOK(ecode2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30974 arg2
= static_cast< long >(val2
);
30975 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30976 if (!SWIG_IsOK(ecode3
)) {
30977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30979 arg3
= static_cast< long >(val3
);
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 (arg1
)->RefreshItems(arg2
,arg3
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 resultobj
= SWIG_Py_Void();
30993 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
= 0;
30995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30996 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char * kwnames
[] = {
31005 (char *) "self",(char *) "flag", NULL
31008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31010 if (!SWIG_IsOK(res1
)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31013 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31016 if (!SWIG_IsOK(ecode2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31019 arg2
= static_cast< int >(val2
);
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 result
= (bool)(arg1
)->Arrange(arg2
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31036 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char * kwnames
[] = {
31048 (char *) "self",(char *) "item", NULL
31051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31053 if (!SWIG_IsOK(res1
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31056 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31057 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31058 if (!SWIG_IsOK(ecode2
)) {
31059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31061 arg2
= static_cast< long >(val2
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (bool)(arg1
)->DeleteItem(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31077 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31078 PyObject
*resultobj
= 0;
31079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31083 PyObject
*swig_obj
[1] ;
31085 if (!args
) SWIG_fail
;
31086 swig_obj
[0] = args
;
31087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31088 if (!SWIG_IsOK(res1
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31091 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (bool)(arg1
)->DeleteAllItems();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31107 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= 0;
31109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "col", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31127 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31129 if (!SWIG_IsOK(ecode2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31132 arg2
= static_cast< int >(val2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31148 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31149 PyObject
*resultobj
= 0;
31150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31154 PyObject
*swig_obj
[1] ;
31156 if (!args
) SWIG_fail
;
31157 swig_obj
[0] = args
;
31158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31159 if (!SWIG_IsOK(res1
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31162 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (bool)(arg1
)->DeleteAllColumns();
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31178 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31179 PyObject
*resultobj
= 0;
31180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31183 PyObject
*swig_obj
[1] ;
31185 if (!args
) SWIG_fail
;
31186 swig_obj
[0] = args
;
31187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31188 if (!SWIG_IsOK(res1
)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31191 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 (arg1
)->ClearAll();
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 resultobj
= SWIG_Py_Void();
31205 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
= 0;
31207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "item", NULL
31219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31224 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31225 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31226 if (!SWIG_IsOK(ecode2
)) {
31227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31229 arg2
= static_cast< long >(val2
);
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 (arg1
)->EditLabel(arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= SWIG_Py_Void();
31243 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
= 0;
31245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 char * kwnames
[] = {
31255 (char *) "self",(char *) "item", NULL
31258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31260 if (!SWIG_IsOK(res1
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31265 if (!SWIG_IsOK(ecode2
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31268 arg2
= static_cast< long >(val2
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31284 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
= 0;
31286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31288 wxString
*arg3
= 0 ;
31289 bool arg4
= (bool) false ;
31295 bool temp3
= false ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 PyObject
* obj2
= 0 ;
31301 PyObject
* obj3
= 0 ;
31302 char * kwnames
[] = {
31303 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31308 if (!SWIG_IsOK(res1
)) {
31309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31311 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31312 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31313 if (!SWIG_IsOK(ecode2
)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31316 arg2
= static_cast< long >(val2
);
31318 arg3
= wxString_in_helper(obj2
);
31319 if (arg3
== NULL
) SWIG_fail
;
31323 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31324 if (!SWIG_IsOK(ecode4
)) {
31325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31327 arg4
= static_cast< bool >(val4
);
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_From_long(static_cast< long >(result
));
31350 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 PyObject
* obj2
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "self",(char *) "start",(char *) "data", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31375 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31376 if (!SWIG_IsOK(ecode2
)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31379 arg2
= static_cast< long >(val2
);
31380 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31381 if (!SWIG_IsOK(ecode3
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31384 arg3
= static_cast< long >(val3
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= SWIG_From_long(static_cast< long >(result
));
31398 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
= 0;
31400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31402 wxPoint
*arg3
= 0 ;
31412 PyObject
* obj0
= 0 ;
31413 PyObject
* obj1
= 0 ;
31414 PyObject
* obj2
= 0 ;
31415 PyObject
* obj3
= 0 ;
31416 char * kwnames
[] = {
31417 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31422 if (!SWIG_IsOK(res1
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31426 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31427 if (!SWIG_IsOK(ecode2
)) {
31428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31430 arg2
= static_cast< long >(val2
);
31433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31436 if (!SWIG_IsOK(ecode4
)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31439 arg4
= static_cast< int >(val4
);
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= SWIG_From_long(static_cast< long >(result
));
31453 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
= 0;
31455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31456 wxPoint
*arg2
= 0 ;
31463 int res3
= SWIG_TMPOBJ
;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 char * kwnames
[] = {
31467 (char *) "self",(char *) "point", NULL
31471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31473 if (!SWIG_IsOK(res1
)) {
31474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31476 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_From_long(static_cast< long >(result
));
31488 if (SWIG_IsTmpObj(res3
)) {
31489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31491 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31500 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
= 0;
31502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31503 wxPoint
*arg2
= 0 ;
31505 long *arg4
= (long *) 0 ;
31511 int res3
= SWIG_TMPOBJ
;
31513 int res4
= SWIG_TMPOBJ
;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 char * kwnames
[] = {
31517 (char *) "self",(char *) "point", NULL
31522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31524 if (!SWIG_IsOK(res1
)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31527 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= SWIG_From_long(static_cast< long >(result
));
31539 if (SWIG_IsTmpObj(res3
)) {
31540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31545 if (SWIG_IsTmpObj(res4
)) {
31546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31548 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31557 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
= 0;
31559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31560 wxListItem
*arg2
= 0 ;
31566 PyObject
* obj0
= 0 ;
31567 PyObject
* obj1
= 0 ;
31568 char * kwnames
[] = {
31569 (char *) "self",(char *) "info", NULL
31572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31574 if (!SWIG_IsOK(res1
)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31577 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31579 if (!SWIG_IsOK(res2
)) {
31580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31585 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 result
= (long)(arg1
)->InsertItem(*arg2
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= SWIG_From_long(static_cast< long >(result
));
31599 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
= 0;
31601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31603 wxString
*arg3
= 0 ;
31604 int arg4
= (int) -1 ;
31610 bool temp3
= false ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 PyObject
* obj2
= 0 ;
31616 PyObject
* obj3
= 0 ;
31617 char * kwnames
[] = {
31618 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31626 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31627 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31628 if (!SWIG_IsOK(ecode2
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31631 arg2
= static_cast< long >(val2
);
31633 arg3
= wxString_in_helper(obj2
);
31634 if (arg3
== NULL
) SWIG_fail
;
31638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31639 if (!SWIG_IsOK(ecode4
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31642 arg4
= static_cast< int >(val4
);
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_From_long(static_cast< long >(result
));
31665 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
= 0;
31667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 PyObject
* obj2
= 0 ;
31680 char * kwnames
[] = {
31681 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31686 if (!SWIG_IsOK(res1
)) {
31687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31689 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31690 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31691 if (!SWIG_IsOK(ecode2
)) {
31692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31694 arg2
= static_cast< long >(val2
);
31695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31696 if (!SWIG_IsOK(ecode3
)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31699 arg3
= static_cast< int >(val3
);
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31706 resultobj
= SWIG_From_long(static_cast< long >(result
));
31713 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
= 0;
31715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31717 wxString
*arg3
= 0 ;
31724 bool temp3
= false ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 PyObject
* obj2
= 0 ;
31730 PyObject
* obj3
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31745 arg2
= static_cast< long >(val2
);
31747 arg3
= wxString_in_helper(obj2
);
31748 if (arg3
== NULL
) SWIG_fail
;
31751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31752 if (!SWIG_IsOK(ecode4
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31755 arg4
= static_cast< int >(val4
);
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_From_long(static_cast< long >(result
));
31777 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
= 0;
31779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31781 wxListItem
*arg3
= 0 ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 PyObject
* obj2
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "self",(char *) "col",(char *) "info", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31801 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31803 if (!SWIG_IsOK(ecode2
)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31806 arg2
= static_cast< long >(val2
);
31807 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31808 if (!SWIG_IsOK(res3
)) {
31809 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31814 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_From_long(static_cast< long >(result
));
31828 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
= 0;
31830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31832 wxString
*arg3
= 0 ;
31833 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31834 int arg5
= (int) -1 ;
31840 bool temp3
= false ;
31845 PyObject
* obj0
= 0 ;
31846 PyObject
* obj1
= 0 ;
31847 PyObject
* obj2
= 0 ;
31848 PyObject
* obj3
= 0 ;
31849 PyObject
* obj4
= 0 ;
31850 char * kwnames
[] = {
31851 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31856 if (!SWIG_IsOK(res1
)) {
31857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31861 if (!SWIG_IsOK(ecode2
)) {
31862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31864 arg2
= static_cast< long >(val2
);
31866 arg3
= wxString_in_helper(obj2
);
31867 if (arg3
== NULL
) SWIG_fail
;
31871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31872 if (!SWIG_IsOK(ecode4
)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31875 arg4
= static_cast< int >(val4
);
31878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31879 if (!SWIG_IsOK(ecode5
)) {
31880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31882 arg5
= static_cast< int >(val5
);
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_From_long(static_cast< long >(result
));
31905 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
= 0;
31907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31913 PyObject
* obj0
= 0 ;
31914 PyObject
* obj1
= 0 ;
31915 char * kwnames
[] = {
31916 (char *) "self",(char *) "count", NULL
31919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31921 if (!SWIG_IsOK(res1
)) {
31922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31924 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31926 if (!SWIG_IsOK(ecode2
)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31929 arg2
= static_cast< long >(val2
);
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 (arg1
)->SetItemCount(arg2
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_Py_Void();
31943 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "self",(char *) "dx",(char *) "dy", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31964 if (!SWIG_IsOK(res1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31967 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31969 if (!SWIG_IsOK(ecode2
)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31972 arg2
= static_cast< int >(val2
);
31973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31974 if (!SWIG_IsOK(ecode3
)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31977 arg3
= static_cast< int >(val3
);
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31993 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
= 0;
31995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31997 wxColour
*arg3
= 0 ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 PyObject
* obj2
= 0 ;
32006 char * kwnames
[] = {
32007 (char *) "self",(char *) "item",(char *) "col", NULL
32010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32012 if (!SWIG_IsOK(res1
)) {
32013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32015 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32016 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32017 if (!SWIG_IsOK(ecode2
)) {
32018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32020 arg2
= static_cast< long >(val2
);
32023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 resultobj
= SWIG_Py_Void();
32038 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
= 0;
32040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "item", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32058 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32059 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32063 arg2
= static_cast< long >(val2
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32077 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
= 0;
32079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32081 wxColour
*arg3
= 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 PyObject
* obj2
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "item",(char *) "col", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32099 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32101 if (!SWIG_IsOK(ecode2
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32104 arg2
= static_cast< long >(val2
);
32107 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_Py_Void();
32122 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
= 0;
32124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32131 PyObject
* obj0
= 0 ;
32132 PyObject
* obj1
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "self",(char *) "item", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32143 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32144 if (!SWIG_IsOK(ecode2
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32147 arg2
= static_cast< long >(val2
);
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32161 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 PyObject
* obj2
= 0 ;
32175 char * kwnames
[] = {
32176 (char *) "self",(char *) "item",(char *) "f", NULL
32179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32181 if (!SWIG_IsOK(res1
)) {
32182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32184 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32185 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32186 if (!SWIG_IsOK(ecode2
)) {
32187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32189 arg2
= static_cast< long >(val2
);
32190 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32191 if (!SWIG_IsOK(res3
)) {
32192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32197 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 char * kwnames
[] = {
32223 (char *) "self",(char *) "item", NULL
32226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32228 if (!SWIG_IsOK(res1
)) {
32229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32231 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32232 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32233 if (!SWIG_IsOK(ecode2
)) {
32234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32236 arg2
= static_cast< long >(val2
);
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32250 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32251 PyObject
*resultobj
= 0;
32252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32253 PyObject
*arg2
= (PyObject
*) 0 ;
32257 PyObject
* obj0
= 0 ;
32258 PyObject
* obj1
= 0 ;
32259 char * kwnames
[] = {
32260 (char *) "self",(char *) "func", NULL
32263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32286 PyObject
*resultobj
= 0;
32287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32288 wxWindow
*result
= 0 ;
32291 PyObject
*swig_obj
[1] ;
32293 if (!args
) SWIG_fail
;
32294 swig_obj
[0] = args
;
32295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= wxPyMake_wxObject(result
, 0);
32315 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
= 0;
32317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32318 SwigValueWrapper
<wxVisualAttributes
> result
;
32321 PyObject
* obj0
= 0 ;
32322 char * kwnames
[] = {
32323 (char *) "variant", NULL
32326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32329 if (!SWIG_IsOK(ecode1
)) {
32330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32332 arg1
= static_cast< wxWindowVariant
>(val1
);
32335 if (!wxPyCheckForApp()) SWIG_fail
;
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32348 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32352 return SWIG_Py_Void();
32355 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32356 return SWIG_Python_InitShadowInstance(args
);
32359 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
= 0;
32361 wxWindow
*arg1
= (wxWindow
*) 0 ;
32362 int arg2
= (int) -1 ;
32363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32367 long arg5
= (long) wxLC_REPORT
;
32368 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32369 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32370 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32372 wxListView
*result
= 0 ;
32383 bool temp7
= false ;
32384 PyObject
* obj0
= 0 ;
32385 PyObject
* obj1
= 0 ;
32386 PyObject
* obj2
= 0 ;
32387 PyObject
* obj3
= 0 ;
32388 PyObject
* obj4
= 0 ;
32389 PyObject
* obj5
= 0 ;
32390 PyObject
* obj6
= 0 ;
32391 char * kwnames
[] = {
32392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32397 if (!SWIG_IsOK(res1
)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32403 if (!SWIG_IsOK(ecode2
)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32406 arg2
= static_cast< int >(val2
);
32411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32421 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32422 if (!SWIG_IsOK(ecode5
)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32425 arg5
= static_cast< long >(val5
);
32428 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32429 if (!SWIG_IsOK(res6
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32435 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32439 arg7
= wxString_in_helper(obj6
);
32440 if (arg7
== NULL
) SWIG_fail
;
32445 if (!wxPyCheckForApp()) SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32466 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32467 PyObject
*resultobj
= 0;
32468 wxListView
*result
= 0 ;
32470 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32472 if (!wxPyCheckForApp()) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 result
= (wxListView
*)new wxListView();
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32485 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
= 0;
32487 wxListView
*arg1
= (wxListView
*) 0 ;
32488 wxWindow
*arg2
= (wxWindow
*) 0 ;
32489 int arg3
= (int) -1 ;
32490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32494 long arg6
= (long) wxLC_REPORT
;
32495 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32496 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32497 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32512 bool temp8
= false ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 PyObject
* obj2
= 0 ;
32516 PyObject
* obj3
= 0 ;
32517 PyObject
* obj4
= 0 ;
32518 PyObject
* obj5
= 0 ;
32519 PyObject
* obj6
= 0 ;
32520 PyObject
* obj7
= 0 ;
32521 char * kwnames
[] = {
32522 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32527 if (!SWIG_IsOK(res1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32530 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32532 if (!SWIG_IsOK(res2
)) {
32533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32538 if (!SWIG_IsOK(ecode3
)) {
32539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32541 arg3
= static_cast< int >(val3
);
32546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32556 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32557 if (!SWIG_IsOK(ecode6
)) {
32558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32560 arg6
= static_cast< long >(val6
);
32563 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32564 if (!SWIG_IsOK(res7
)) {
32565 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32570 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32574 arg8
= wxString_in_helper(obj7
);
32575 if (arg8
== NULL
) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32602 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
= 0;
32604 wxListView
*arg1
= (wxListView
*) 0 ;
32606 bool arg3
= (bool) true ;
32613 PyObject
* obj0
= 0 ;
32614 PyObject
* obj1
= 0 ;
32615 PyObject
* obj2
= 0 ;
32616 char * kwnames
[] = {
32617 (char *) "self",(char *) "n",(char *) "on", NULL
32620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32622 if (!SWIG_IsOK(res1
)) {
32623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32625 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32627 if (!SWIG_IsOK(ecode2
)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32630 arg2
= static_cast< long >(val2
);
32632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32633 if (!SWIG_IsOK(ecode3
)) {
32634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32636 arg3
= static_cast< bool >(val3
);
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 (arg1
)->Select(arg2
,arg3
);
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= SWIG_Py_Void();
32651 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32652 PyObject
*resultobj
= 0;
32653 wxListView
*arg1
= (wxListView
*) 0 ;
32659 PyObject
* obj0
= 0 ;
32660 PyObject
* obj1
= 0 ;
32661 char * kwnames
[] = {
32662 (char *) "self",(char *) "index", NULL
32665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32667 if (!SWIG_IsOK(res1
)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32670 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32672 if (!SWIG_IsOK(ecode2
)) {
32673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32675 arg2
= static_cast< long >(val2
);
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 (arg1
)->Focus(arg2
);
32679 wxPyEndAllowThreads(__tstate
);
32680 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= SWIG_Py_Void();
32689 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32690 PyObject
*resultobj
= 0;
32691 wxListView
*arg1
= (wxListView
*) 0 ;
32695 PyObject
*swig_obj
[1] ;
32697 if (!args
) SWIG_fail
;
32698 swig_obj
[0] = args
;
32699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32700 if (!SWIG_IsOK(res1
)) {
32701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32703 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32706 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32707 wxPyEndAllowThreads(__tstate
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32710 resultobj
= SWIG_From_long(static_cast< long >(result
));
32717 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32718 PyObject
*resultobj
= 0;
32719 wxListView
*arg1
= (wxListView
*) 0 ;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 char * kwnames
[] = {
32729 (char *) "self",(char *) "item", NULL
32732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32734 if (!SWIG_IsOK(res1
)) {
32735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32737 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32739 if (!SWIG_IsOK(ecode2
)) {
32740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32742 arg2
= static_cast< long >(val2
);
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= SWIG_From_long(static_cast< long >(result
));
32756 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxListView
*arg1
= (wxListView
*) 0 ;
32762 PyObject
*swig_obj
[1] ;
32764 if (!args
) SWIG_fail
;
32765 swig_obj
[0] = args
;
32766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32767 if (!SWIG_IsOK(res1
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32770 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_From_long(static_cast< long >(result
));
32784 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
= 0;
32786 wxListView
*arg1
= (wxListView
*) 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 char * kwnames
[] = {
32796 (char *) "self",(char *) "index", NULL
32799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32801 if (!SWIG_IsOK(res1
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32804 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32806 if (!SWIG_IsOK(ecode2
)) {
32807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32809 arg2
= static_cast< long >(val2
);
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= (bool)(arg1
)->IsSelected(arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32825 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
= 0;
32827 wxListView
*arg1
= (wxListView
*) 0 ;
32836 PyObject
* obj0
= 0 ;
32837 PyObject
* obj1
= 0 ;
32838 PyObject
* obj2
= 0 ;
32839 char * kwnames
[] = {
32840 (char *) "self",(char *) "col",(char *) "image", NULL
32843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32845 if (!SWIG_IsOK(res1
)) {
32846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32848 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32850 if (!SWIG_IsOK(ecode2
)) {
32851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32853 arg2
= static_cast< int >(val2
);
32854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32855 if (!SWIG_IsOK(ecode3
)) {
32856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32858 arg3
= static_cast< int >(val3
);
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 (arg1
)->SetColumnImage(arg2
,arg3
);
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= SWIG_Py_Void();
32872 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
= 0;
32874 wxListView
*arg1
= (wxListView
*) 0 ;
32880 PyObject
* obj0
= 0 ;
32881 PyObject
* obj1
= 0 ;
32882 char * kwnames
[] = {
32883 (char *) "self",(char *) "col", NULL
32886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32888 if (!SWIG_IsOK(res1
)) {
32889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32891 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32893 if (!SWIG_IsOK(ecode2
)) {
32894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32896 arg2
= static_cast< int >(val2
);
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->ClearColumnImage(arg2
);
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_Py_Void();
32910 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32913 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32914 return SWIG_Py_Void();
32917 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32918 return SWIG_Python_InitShadowInstance(args
);
32921 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32922 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32927 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32928 PyObject
*pyobj
= 0;
32932 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32934 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32941 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32942 PyObject
*resultobj
= 0;
32943 wxTreeItemId
*result
= 0 ;
32945 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (wxTreeItemId
*)new wxTreeItemId();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32959 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32960 PyObject
*resultobj
= 0;
32961 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32964 PyObject
*swig_obj
[1] ;
32966 if (!args
) SWIG_fail
;
32967 swig_obj
[0] = args
;
32968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32972 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= SWIG_Py_Void();
32987 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 PyObject
*resultobj
= 0;
32989 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32993 PyObject
*swig_obj
[1] ;
32995 if (!args
) SWIG_fail
;
32996 swig_obj
[0] = args
;
32997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32998 if (!SWIG_IsOK(res1
)) {
32999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33001 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33005 wxPyEndAllowThreads(__tstate
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33017 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33020 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 char * kwnames
[] = {
33029 (char *) "self",(char *) "other", NULL
33032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33037 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33039 if (!SWIG_IsOK(res2
)) {
33040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33042 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33058 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
= 0;
33060 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33061 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33067 PyObject
* obj0
= 0 ;
33068 PyObject
* obj1
= 0 ;
33069 char * kwnames
[] = {
33070 (char *) "self",(char *) "other", NULL
33073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33075 if (!SWIG_IsOK(res1
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33078 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33080 if (!SWIG_IsOK(res2
)) {
33081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33099 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33100 PyObject
*resultobj
= 0;
33101 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33102 void *arg2
= (void *) 0 ;
33106 PyObject
*swig_obj
[2] ;
33108 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33113 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33114 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33115 if (!SWIG_IsOK(res2
)) {
33116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33118 if (arg1
) (arg1
)->m_pItem
= arg2
;
33120 resultobj
= SWIG_Py_Void();
33127 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33128 PyObject
*resultobj
= 0;
33129 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33133 PyObject
*swig_obj
[1] ;
33135 if (!args
) SWIG_fail
;
33136 swig_obj
[0] = args
;
33137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33138 if (!SWIG_IsOK(res1
)) {
33139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33141 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33142 result
= (void *) ((arg1
)->m_pItem
);
33143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33150 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33153 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33154 return SWIG_Py_Void();
33157 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33158 return SWIG_Python_InitShadowInstance(args
);
33161 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33162 PyObject
*resultobj
= 0;
33163 PyObject
*arg1
= (PyObject
*) NULL
;
33164 wxPyTreeItemData
*result
= 0 ;
33165 PyObject
* obj0
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "obj", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33187 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33188 PyObject
*resultobj
= 0;
33189 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33192 PyObject
*swig_obj
[1] ;
33194 if (!args
) SWIG_fail
;
33195 swig_obj
[0] = args
;
33196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33200 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_Py_Void();
33215 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33216 PyObject
*resultobj
= 0;
33217 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33218 PyObject
*result
= 0 ;
33221 PyObject
*swig_obj
[1] ;
33223 if (!args
) SWIG_fail
;
33224 swig_obj
[0] = args
;
33225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33226 if (!SWIG_IsOK(res1
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33229 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= (PyObject
*)(arg1
)->GetData();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= result
;
33243 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33244 PyObject
*resultobj
= 0;
33245 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33246 PyObject
*arg2
= (PyObject
*) 0 ;
33249 PyObject
* obj0
= 0 ;
33250 PyObject
* obj1
= 0 ;
33251 char * kwnames
[] = {
33252 (char *) "self",(char *) "obj", NULL
33255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33257 if (!SWIG_IsOK(res1
)) {
33258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33260 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 (arg1
)->SetData(arg2
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_Py_Void();
33275 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33276 PyObject
*resultobj
= 0;
33277 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33278 wxTreeItemId
*result
= 0 ;
33281 PyObject
*swig_obj
[1] ;
33283 if (!args
) SWIG_fail
;
33284 swig_obj
[0] = args
;
33285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33286 if (!SWIG_IsOK(res1
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33289 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33294 result
= (wxTreeItemId
*) &_result_ref
;
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33306 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33309 wxTreeItemId
*arg2
= 0 ;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char * kwnames
[] = {
33317 (char *) "self",(char *) "id", NULL
33320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33325 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33327 if (!SWIG_IsOK(res2
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33333 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_Py_Void();
33347 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33348 PyObject
*resultobj
= 0;
33349 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33352 PyObject
*swig_obj
[1] ;
33354 if (!args
) SWIG_fail
;
33355 swig_obj
[0] = args
;
33356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33360 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 wxPyTreeItemData_Destroy(arg1
);
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_Py_Void();
33374 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33377 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33378 return SWIG_Py_Void();
33381 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33382 return SWIG_Python_InitShadowInstance(args
);
33385 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33388 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33389 if (!SWIG_IsOK(res
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33395 wxTreeItemId
* temp
;
33396 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33397 wxNullTreeItemId
= *temp
;
33398 if (SWIG_IsNewObj(res
)) delete temp
;
33407 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33408 PyObject
*pyobj
= 0;
33410 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33415 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33416 PyObject
*resultobj
= 0;
33417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33418 int arg2
= (int) 0 ;
33419 wxTreeEvent
*result
= 0 ;
33425 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33427 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33428 if (!SWIG_IsOK(ecode1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33431 arg1
= static_cast< wxEventType
>(val1
);
33434 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33435 if (!SWIG_IsOK(ecode2
)) {
33436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33438 arg2
= static_cast< int >(val2
);
33441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33443 wxPyEndAllowThreads(__tstate
);
33444 if (PyErr_Occurred()) SWIG_fail
;
33446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33453 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33454 PyObject
*resultobj
= 0;
33456 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33457 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33458 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33459 wxTreeEvent
*result
= 0 ;
33467 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33468 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33469 if (!SWIG_IsOK(ecode1
)) {
33470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33472 arg1
= static_cast< wxEventType
>(val1
);
33473 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33474 if (!SWIG_IsOK(res2
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33477 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33479 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33480 if (!SWIG_IsOK(res3
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33486 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33501 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33505 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33507 if ((argc
>= 0) && (argc
<= 2)) {
33512 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33513 _v
= SWIG_CheckState(res
);
33516 if (!_v
) goto check_1
;
33518 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33522 if ((argc
>= 2) && (argc
<= 3)) {
33523 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33527 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33532 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33533 PyObject
*resultobj
= 0;
33534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33535 wxTreeItemId result
;
33538 PyObject
*swig_obj
[1] ;
33540 if (!args
) SWIG_fail
;
33541 swig_obj
[0] = args
;
33542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33543 if (!SWIG_IsOK(res1
)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33546 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33560 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
= 0;
33562 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33563 wxTreeItemId
*arg2
= 0 ;
33568 PyObject
* obj0
= 0 ;
33569 PyObject
* obj1
= 0 ;
33570 char * kwnames
[] = {
33571 (char *) "self",(char *) "item", NULL
33574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33576 if (!SWIG_IsOK(res1
)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33579 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33581 if (!SWIG_IsOK(res2
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33587 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_Py_Void();
33601 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 PyObject
*resultobj
= 0;
33603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33604 wxTreeItemId result
;
33607 PyObject
*swig_obj
[1] ;
33609 if (!args
) SWIG_fail
;
33610 swig_obj
[0] = args
;
33611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33612 if (!SWIG_IsOK(res1
)) {
33613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33615 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33629 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
= 0;
33631 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33632 wxTreeItemId
*arg2
= 0 ;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 char * kwnames
[] = {
33640 (char *) "self",(char *) "item", NULL
33643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33645 if (!SWIG_IsOK(res1
)) {
33646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33648 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33650 if (!SWIG_IsOK(res2
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33656 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 PyObject
*resultobj
= 0;
33672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33684 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33698 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
= 0;
33700 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33701 wxPoint
*arg2
= 0 ;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 char * kwnames
[] = {
33708 (char *) "self",(char *) "pt", NULL
33711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33713 if (!SWIG_IsOK(res1
)) {
33714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33716 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= SWIG_Py_Void();
33734 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33735 PyObject
*resultobj
= 0;
33736 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33737 wxKeyEvent
*result
= 0 ;
33740 PyObject
*swig_obj
[1] ;
33742 if (!args
) SWIG_fail
;
33743 swig_obj
[0] = args
;
33744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33745 if (!SWIG_IsOK(res1
)) {
33746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33748 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33753 result
= (wxKeyEvent
*) &_result_ref
;
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33765 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33766 PyObject
*resultobj
= 0;
33767 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33771 PyObject
*swig_obj
[1] ;
33773 if (!args
) SWIG_fail
;
33774 swig_obj
[0] = args
;
33775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33779 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_From_int(static_cast< int >(result
));
33793 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
= 0;
33795 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33796 wxKeyEvent
*arg2
= 0 ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 char * kwnames
[] = {
33804 (char *) "self",(char *) "evt", NULL
33807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33809 if (!SWIG_IsOK(res1
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33812 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33814 if (!SWIG_IsOK(res2
)) {
33815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33820 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_Py_Void();
33834 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33835 PyObject
*resultobj
= 0;
33836 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33837 wxString
*result
= 0 ;
33840 PyObject
*swig_obj
[1] ;
33842 if (!args
) SWIG_fail
;
33843 swig_obj
[0] = args
;
33844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33845 if (!SWIG_IsOK(res1
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33848 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33853 result
= (wxString
*) &_result_ref
;
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33862 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33871 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
= 0;
33873 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33874 wxString
*arg2
= 0 ;
33877 bool temp2
= false ;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 char * kwnames
[] = {
33881 (char *) "self",(char *) "label", NULL
33884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33889 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33891 arg2
= wxString_in_helper(obj1
);
33892 if (arg2
== NULL
) SWIG_fail
;
33896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33897 (arg1
)->SetLabel((wxString
const &)*arg2
);
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= SWIG_Py_Void();
33916 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33917 PyObject
*resultobj
= 0;
33918 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33922 PyObject
*swig_obj
[1] ;
33924 if (!args
) SWIG_fail
;
33925 swig_obj
[0] = args
;
33926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33927 if (!SWIG_IsOK(res1
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33930 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33946 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= 0;
33948 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 char * kwnames
[] = {
33957 (char *) "self",(char *) "editCancelled", NULL
33960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33962 if (!SWIG_IsOK(res1
)) {
33963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33965 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33966 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33967 if (!SWIG_IsOK(ecode2
)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33970 arg2
= static_cast< bool >(val2
);
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 (arg1
)->SetEditCanceled(arg2
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_Py_Void();
33984 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33985 PyObject
*resultobj
= 0;
33986 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33987 wxString
*arg2
= 0 ;
33990 bool temp2
= false ;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 char * kwnames
[] = {
33994 (char *) "self",(char *) "toolTip", NULL
33997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34002 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34004 arg2
= wxString_in_helper(obj1
);
34005 if (arg2
== NULL
) SWIG_fail
;
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34014 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34030 PyObject
*resultobj
= 0;
34031 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34035 PyObject
*swig_obj
[1] ;
34037 if (!args
) SWIG_fail
;
34038 swig_obj
[0] = args
;
34039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34043 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (arg1
)->GetToolTip();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34063 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34066 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34067 return SWIG_Py_Void();
34070 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34071 return SWIG_Python_InitShadowInstance(args
);
34074 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
= 0;
34076 wxWindow
*arg1
= (wxWindow
*) 0 ;
34077 int arg2
= (int) -1 ;
34078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34082 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34083 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34084 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34085 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34087 wxPyTreeCtrl
*result
= 0 ;
34098 bool temp7
= false ;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 PyObject
* obj2
= 0 ;
34102 PyObject
* obj3
= 0 ;
34103 PyObject
* obj4
= 0 ;
34104 PyObject
* obj5
= 0 ;
34105 PyObject
* obj6
= 0 ;
34106 char * kwnames
[] = {
34107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34112 if (!SWIG_IsOK(res1
)) {
34113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34115 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34118 if (!SWIG_IsOK(ecode2
)) {
34119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34121 arg2
= static_cast< int >(val2
);
34126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34136 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34137 if (!SWIG_IsOK(ecode5
)) {
34138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34140 arg5
= static_cast< long >(val5
);
34143 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34144 if (!SWIG_IsOK(res6
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34150 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34154 arg7
= wxString_in_helper(obj6
);
34155 if (arg7
== NULL
) SWIG_fail
;
34160 if (!wxPyCheckForApp()) SWIG_fail
;
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34163 wxPyEndAllowThreads(__tstate
);
34164 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34181 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34182 PyObject
*resultobj
= 0;
34183 wxPyTreeCtrl
*result
= 0 ;
34185 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34187 if (!wxPyCheckForApp()) SWIG_fail
;
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34200 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34203 wxWindow
*arg2
= (wxWindow
*) 0 ;
34204 int arg3
= (int) -1 ;
34205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34209 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34210 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34211 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34212 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34213 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34227 bool temp8
= false ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 PyObject
* obj2
= 0 ;
34231 PyObject
* obj3
= 0 ;
34232 PyObject
* obj4
= 0 ;
34233 PyObject
* obj5
= 0 ;
34234 PyObject
* obj6
= 0 ;
34235 PyObject
* obj7
= 0 ;
34236 char * kwnames
[] = {
34237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34242 if (!SWIG_IsOK(res1
)) {
34243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34245 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34247 if (!SWIG_IsOK(res2
)) {
34248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34253 if (!SWIG_IsOK(ecode3
)) {
34254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34256 arg3
= static_cast< int >(val3
);
34261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34271 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34272 if (!SWIG_IsOK(ecode6
)) {
34273 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34275 arg6
= static_cast< long >(val6
);
34278 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34279 if (!SWIG_IsOK(res7
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34285 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34289 arg8
= wxString_in_helper(obj7
);
34290 if (arg8
== NULL
) SWIG_fail
;
34295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34297 wxPyEndAllowThreads(__tstate
);
34298 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34317 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34320 PyObject
*arg2
= (PyObject
*) 0 ;
34321 PyObject
*arg3
= (PyObject
*) 0 ;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 PyObject
* obj2
= 0 ;
34327 char * kwnames
[] = {
34328 (char *) "self",(char *) "self",(char *) "_class", NULL
34331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_Py_Void();
34352 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34355 unsigned int result
;
34358 PyObject
*swig_obj
[1] ;
34360 if (!args
) SWIG_fail
;
34361 swig_obj
[0] = args
;
34362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34363 if (!SWIG_IsOK(res1
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34380 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34381 PyObject
*resultobj
= 0;
34382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34383 unsigned int result
;
34386 PyObject
*swig_obj
[1] ;
34388 if (!args
) SWIG_fail
;
34389 swig_obj
[0] = args
;
34390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34391 if (!SWIG_IsOK(res1
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34394 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34398 wxPyEndAllowThreads(__tstate
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34408 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34409 PyObject
*resultobj
= 0;
34410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34411 unsigned int arg2
;
34414 unsigned int val2
;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 char * kwnames
[] = {
34419 (char *) "self",(char *) "indent", NULL
34422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34428 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34429 if (!SWIG_IsOK(ecode2
)) {
34430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34432 arg2
= static_cast< unsigned int >(val2
);
34434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34435 (arg1
)->SetIndent(arg2
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= SWIG_Py_Void();
34446 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34447 PyObject
*resultobj
= 0;
34448 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34449 unsigned int result
;
34452 PyObject
*swig_obj
[1] ;
34454 if (!args
) SWIG_fail
;
34455 swig_obj
[0] = args
;
34456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34467 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34474 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
= 0;
34476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34477 unsigned int arg2
;
34480 unsigned int val2
;
34482 PyObject
* obj0
= 0 ;
34483 PyObject
* obj1
= 0 ;
34484 char * kwnames
[] = {
34485 (char *) "self",(char *) "spacing", NULL
34488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34490 if (!SWIG_IsOK(res1
)) {
34491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34494 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34495 if (!SWIG_IsOK(ecode2
)) {
34496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34498 arg2
= static_cast< unsigned int >(val2
);
34500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34501 (arg1
)->SetSpacing(arg2
);
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34505 resultobj
= SWIG_Py_Void();
34512 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34513 PyObject
*resultobj
= 0;
34514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34515 wxImageList
*result
= 0 ;
34518 PyObject
*swig_obj
[1] ;
34520 if (!args
) SWIG_fail
;
34521 swig_obj
[0] = args
;
34522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34523 if (!SWIG_IsOK(res1
)) {
34524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34542 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34543 PyObject
*resultobj
= 0;
34544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34545 wxImageList
*result
= 0 ;
34548 PyObject
*swig_obj
[1] ;
34550 if (!args
) SWIG_fail
;
34551 swig_obj
[0] = args
;
34552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34553 if (!SWIG_IsOK(res1
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34572 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
= 0;
34574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34575 wxImageList
*arg2
= (wxImageList
*) 0 ;
34580 PyObject
* obj0
= 0 ;
34581 PyObject
* obj1
= 0 ;
34582 char * kwnames
[] = {
34583 (char *) "self",(char *) "imageList", NULL
34586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34588 if (!SWIG_IsOK(res1
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34593 if (!SWIG_IsOK(res2
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34596 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 (arg1
)->SetImageList(arg2
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 resultobj
= SWIG_Py_Void();
34610 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
= 0;
34612 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34613 wxImageList
*arg2
= (wxImageList
*) 0 ;
34618 PyObject
* obj0
= 0 ;
34619 PyObject
* obj1
= 0 ;
34620 char * kwnames
[] = {
34621 (char *) "self",(char *) "imageList", NULL
34624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34629 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34631 if (!SWIG_IsOK(res2
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34634 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->SetStateImageList(arg2
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34651 wxImageList
*arg2
= (wxImageList
*) 0 ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 char * kwnames
[] = {
34658 (char *) "self",(char *) "imageList", NULL
34661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34663 if (!SWIG_IsOK(res1
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34666 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34667 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34668 if (!SWIG_IsOK(res2
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34673 (arg1
)->AssignImageList(arg2
);
34674 wxPyEndAllowThreads(__tstate
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34677 resultobj
= SWIG_Py_Void();
34684 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34685 PyObject
*resultobj
= 0;
34686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34687 wxImageList
*arg2
= (wxImageList
*) 0 ;
34691 PyObject
* obj0
= 0 ;
34692 PyObject
* obj1
= 0 ;
34693 char * kwnames
[] = {
34694 (char *) "self",(char *) "imageList", NULL
34697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34699 if (!SWIG_IsOK(res1
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34702 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34703 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34704 if (!SWIG_IsOK(res2
)) {
34705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34709 (arg1
)->AssignStateImageList(arg2
);
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 resultobj
= SWIG_Py_Void();
34720 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
= 0;
34722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34723 wxTreeItemId
*arg2
= 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 char * kwnames
[] = {
34732 (char *) "self",(char *) "item", NULL
34735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34742 if (!SWIG_IsOK(res2
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34768 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
= 0;
34770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34771 wxTreeItemId
*arg2
= 0 ;
34772 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "item",(char *) "which", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34803 if (!SWIG_IsOK(ecode3
)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34806 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_From_int(static_cast< int >(result
));
34821 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
= 0;
34823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34824 wxTreeItemId
*arg2
= 0 ;
34825 wxPyTreeItemData
*result
= 0 ;
34830 PyObject
* obj0
= 0 ;
34831 PyObject
* obj1
= 0 ;
34832 char * kwnames
[] = {
34833 (char *) "self",(char *) "item", NULL
34836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34838 if (!SWIG_IsOK(res1
)) {
34839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34843 if (!SWIG_IsOK(res2
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34863 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
= 0;
34865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34866 wxTreeItemId
*arg2
= 0 ;
34867 PyObject
*result
= 0 ;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "self",(char *) "item", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34885 if (!SWIG_IsOK(res2
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34895 wxPyEndAllowThreads(__tstate
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34898 resultobj
= result
;
34905 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
= 0;
34907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34908 wxTreeItemId
*arg2
= 0 ;
34914 PyObject
* obj0
= 0 ;
34915 PyObject
* obj1
= 0 ;
34916 char * kwnames
[] = {
34917 (char *) "self",(char *) "item", NULL
34920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34925 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34927 if (!SWIG_IsOK(res2
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34933 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34947 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
= 0;
34949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34950 wxTreeItemId
*arg2
= 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 char * kwnames
[] = {
34959 (char *) "self",(char *) "item", NULL
34962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34964 if (!SWIG_IsOK(res1
)) {
34965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34967 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34969 if (!SWIG_IsOK(res2
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34975 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34979 wxPyEndAllowThreads(__tstate
);
34980 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34989 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
= 0;
34991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34992 wxTreeItemId
*arg2
= 0 ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 char * kwnames
[] = {
35001 (char *) "self",(char *) "item", NULL
35004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35011 if (!SWIG_IsOK(res2
)) {
35012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35017 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35031 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
= 0;
35033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35034 wxTreeItemId
*arg2
= 0 ;
35035 wxString
*arg3
= 0 ;
35040 bool temp3
= false ;
35041 PyObject
* obj0
= 0 ;
35042 PyObject
* obj1
= 0 ;
35043 PyObject
* obj2
= 0 ;
35044 char * kwnames
[] = {
35045 (char *) "self",(char *) "item",(char *) "text", NULL
35048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35050 if (!SWIG_IsOK(res1
)) {
35051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35053 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35055 if (!SWIG_IsOK(res2
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35063 arg3
= wxString_in_helper(obj2
);
35064 if (arg3
== NULL
) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35088 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35091 wxTreeItemId
*arg2
= 0 ;
35093 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 PyObject
* obj3
= 0 ;
35106 char * kwnames
[] = {
35107 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35112 if (!SWIG_IsOK(res1
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35117 if (!SWIG_IsOK(res2
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35125 if (!SWIG_IsOK(ecode3
)) {
35126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35128 arg3
= static_cast< int >(val3
);
35130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35131 if (!SWIG_IsOK(ecode4
)) {
35132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35134 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= SWIG_Py_Void();
35149 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35150 PyObject
*resultobj
= 0;
35151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35152 wxTreeItemId
*arg2
= 0 ;
35153 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35159 PyObject
* obj0
= 0 ;
35160 PyObject
* obj1
= 0 ;
35161 PyObject
* obj2
= 0 ;
35162 char * kwnames
[] = {
35163 (char *) "self",(char *) "item",(char *) "data", NULL
35166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35168 if (!SWIG_IsOK(res1
)) {
35169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35171 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35173 if (!SWIG_IsOK(res2
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35179 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35180 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35181 if (!SWIG_IsOK(res3
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35186 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35190 resultobj
= SWIG_Py_Void();
35197 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
= 0;
35199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35200 wxTreeItemId
*arg2
= 0 ;
35201 PyObject
*arg3
= (PyObject
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 PyObject
* obj2
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "self",(char *) "item",(char *) "obj", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35215 if (!SWIG_IsOK(res1
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35218 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35220 if (!SWIG_IsOK(res2
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= SWIG_Py_Void();
35241 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35242 PyObject
*resultobj
= 0;
35243 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35244 wxTreeItemId
*arg2
= 0 ;
35245 bool arg3
= (bool) true ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 PyObject
* obj2
= 0 ;
35255 char * kwnames
[] = {
35256 (char *) "self",(char *) "item",(char *) "has", NULL
35259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35261 if (!SWIG_IsOK(res1
)) {
35262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35266 if (!SWIG_IsOK(res2
)) {
35267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35272 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35274 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35275 if (!SWIG_IsOK(ecode3
)) {
35276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35278 arg3
= static_cast< bool >(val3
);
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= SWIG_Py_Void();
35293 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
= 0;
35295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35296 wxTreeItemId
*arg2
= 0 ;
35297 bool arg3
= (bool) true ;
35304 PyObject
* obj0
= 0 ;
35305 PyObject
* obj1
= 0 ;
35306 PyObject
* obj2
= 0 ;
35307 char * kwnames
[] = {
35308 (char *) "self",(char *) "item",(char *) "bold", NULL
35311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35313 if (!SWIG_IsOK(res1
)) {
35314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35316 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35318 if (!SWIG_IsOK(res2
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35324 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35326 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35327 if (!SWIG_IsOK(ecode3
)) {
35328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35330 arg3
= static_cast< bool >(val3
);
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= SWIG_Py_Void();
35345 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
= 0;
35347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35348 wxTreeItemId
*arg2
= 0 ;
35349 bool arg3
= (bool) true ;
35356 PyObject
* obj0
= 0 ;
35357 PyObject
* obj1
= 0 ;
35358 PyObject
* obj2
= 0 ;
35359 char * kwnames
[] = {
35360 (char *) "self",(char *) "item",(char *) "highlight", NULL
35363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35365 if (!SWIG_IsOK(res1
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35368 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35370 if (!SWIG_IsOK(res2
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35376 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35378 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35379 if (!SWIG_IsOK(ecode3
)) {
35380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35382 arg3
= static_cast< bool >(val3
);
35385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35386 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35387 wxPyEndAllowThreads(__tstate
);
35388 if (PyErr_Occurred()) SWIG_fail
;
35390 resultobj
= SWIG_Py_Void();
35397 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35398 PyObject
*resultobj
= 0;
35399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35400 wxTreeItemId
*arg2
= 0 ;
35401 wxColour
*arg3
= 0 ;
35407 PyObject
* obj0
= 0 ;
35408 PyObject
* obj1
= 0 ;
35409 PyObject
* obj2
= 0 ;
35410 char * kwnames
[] = {
35411 (char *) "self",(char *) "item",(char *) "col", NULL
35414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35416 if (!SWIG_IsOK(res1
)) {
35417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35421 if (!SWIG_IsOK(res2
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35427 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35434 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= SWIG_Py_Void();
35445 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
= 0;
35447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35448 wxTreeItemId
*arg2
= 0 ;
35449 wxColour
*arg3
= 0 ;
35455 PyObject
* obj0
= 0 ;
35456 PyObject
* obj1
= 0 ;
35457 PyObject
* obj2
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "item",(char *) "col", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35467 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35469 if (!SWIG_IsOK(res2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35475 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35478 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_Py_Void();
35493 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35496 wxTreeItemId
*arg2
= 0 ;
35504 PyObject
* obj0
= 0 ;
35505 PyObject
* obj1
= 0 ;
35506 PyObject
* obj2
= 0 ;
35507 char * kwnames
[] = {
35508 (char *) "self",(char *) "item",(char *) "font", NULL
35511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35513 if (!SWIG_IsOK(res1
)) {
35514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35518 if (!SWIG_IsOK(res2
)) {
35519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35525 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35526 if (!SWIG_IsOK(res3
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35532 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= SWIG_Py_Void();
35546 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
= 0;
35548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35549 wxTreeItemId
*arg2
= 0 ;
35555 PyObject
* obj0
= 0 ;
35556 PyObject
* obj1
= 0 ;
35557 char * kwnames
[] = {
35558 (char *) "self",(char *) "item", NULL
35561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35563 if (!SWIG_IsOK(res1
)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35566 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35568 if (!SWIG_IsOK(res2
)) {
35569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35574 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35590 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35591 PyObject
*resultobj
= 0;
35592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35593 wxTreeItemId
*arg2
= 0 ;
35599 PyObject
* obj0
= 0 ;
35600 PyObject
* obj1
= 0 ;
35601 char * kwnames
[] = {
35602 (char *) "self",(char *) "item", NULL
35605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35607 if (!SWIG_IsOK(res1
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35612 if (!SWIG_IsOK(res2
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35618 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35622 wxPyEndAllowThreads(__tstate
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35634 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35635 PyObject
*resultobj
= 0;
35636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35637 wxTreeItemId
*arg2
= 0 ;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 char * kwnames
[] = {
35646 (char *) "self",(char *) "item", NULL
35649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35651 if (!SWIG_IsOK(res1
)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35654 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35656 if (!SWIG_IsOK(res2
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35662 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35665 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35678 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
= 0;
35680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35681 wxTreeItemId
*arg2
= 0 ;
35687 PyObject
* obj0
= 0 ;
35688 PyObject
* obj1
= 0 ;
35689 char * kwnames
[] = {
35690 (char *) "self",(char *) "item", NULL
35693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35695 if (!SWIG_IsOK(res1
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35700 if (!SWIG_IsOK(res2
)) {
35701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35706 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35709 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35722 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35725 wxTreeItemId
*arg2
= 0 ;
35731 PyObject
* obj0
= 0 ;
35732 PyObject
* obj1
= 0 ;
35733 char * kwnames
[] = {
35734 (char *) "self",(char *) "item", NULL
35737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35739 if (!SWIG_IsOK(res1
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35742 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35744 if (!SWIG_IsOK(res2
)) {
35745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35750 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35753 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35766 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35767 PyObject
*resultobj
= 0;
35768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35772 PyObject
*swig_obj
[1] ;
35774 if (!args
) SWIG_fail
;
35775 swig_obj
[0] = args
;
35776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35796 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35797 PyObject
*resultobj
= 0;
35798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35799 wxTreeItemId
*arg2
= 0 ;
35800 bool arg3
= (bool) true ;
35808 PyObject
* obj0
= 0 ;
35809 PyObject
* obj1
= 0 ;
35810 PyObject
* obj2
= 0 ;
35811 char * kwnames
[] = {
35812 (char *) "self",(char *) "item",(char *) "recursively", NULL
35815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35817 if (!SWIG_IsOK(res1
)) {
35818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35822 if (!SWIG_IsOK(res2
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35828 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35830 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35831 if (!SWIG_IsOK(ecode3
)) {
35832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35834 arg3
= static_cast< bool >(val3
);
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35849 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35850 PyObject
*resultobj
= 0;
35851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35852 wxTreeItemId result
;
35855 PyObject
*swig_obj
[1] ;
35857 if (!args
) SWIG_fail
;
35858 swig_obj
[0] = args
;
35859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35860 if (!SWIG_IsOK(res1
)) {
35861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35870 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35877 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35878 PyObject
*resultobj
= 0;
35879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35880 wxTreeItemId result
;
35883 PyObject
*swig_obj
[1] ;
35885 if (!args
) SWIG_fail
;
35886 swig_obj
[0] = args
;
35887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35888 if (!SWIG_IsOK(res1
)) {
35889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35891 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35905 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35906 PyObject
*resultobj
= 0;
35907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35908 PyObject
*result
= 0 ;
35911 PyObject
*swig_obj
[1] ;
35913 if (!args
) SWIG_fail
;
35914 swig_obj
[0] = args
;
35915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35916 if (!SWIG_IsOK(res1
)) {
35917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= result
;
35933 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= 0;
35935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35936 wxTreeItemId
*arg2
= 0 ;
35937 wxTreeItemId result
;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 char * kwnames
[] = {
35945 (char *) "self",(char *) "item", NULL
35948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35950 if (!SWIG_IsOK(res1
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35955 if (!SWIG_IsOK(res2
)) {
35956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35961 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35975 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35978 wxTreeItemId
*arg2
= 0 ;
35979 PyObject
*result
= 0 ;
35984 PyObject
* obj0
= 0 ;
35985 PyObject
* obj1
= 0 ;
35986 char * kwnames
[] = {
35987 (char *) "self",(char *) "item", NULL
35990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35992 if (!SWIG_IsOK(res1
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35997 if (!SWIG_IsOK(res2
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= result
;
36017 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36020 wxTreeItemId
*arg2
= 0 ;
36021 void *arg3
= (void *) 0 ;
36022 PyObject
*result
= 0 ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 PyObject
* obj2
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "item",(char *) "cookie", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36040 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36042 if (!SWIG_IsOK(res2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36049 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36050 if (!SWIG_IsOK(res3
)) {
36051 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= result
;
36066 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
= 0;
36068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36069 wxTreeItemId
*arg2
= 0 ;
36070 wxTreeItemId result
;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 char * kwnames
[] = {
36078 (char *) "self",(char *) "item", NULL
36081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36083 if (!SWIG_IsOK(res1
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36088 if (!SWIG_IsOK(res2
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36101 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36108 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
= 0;
36110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36111 wxTreeItemId
*arg2
= 0 ;
36112 wxTreeItemId result
;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char * kwnames
[] = {
36120 (char *) "self",(char *) "item", NULL
36123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36125 if (!SWIG_IsOK(res1
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36130 if (!SWIG_IsOK(res2
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36150 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
= 0;
36152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36153 wxTreeItemId
*arg2
= 0 ;
36154 wxTreeItemId result
;
36159 PyObject
* obj0
= 0 ;
36160 PyObject
* obj1
= 0 ;
36161 char * kwnames
[] = {
36162 (char *) "self",(char *) "item", NULL
36165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36167 if (!SWIG_IsOK(res1
)) {
36168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36172 if (!SWIG_IsOK(res2
)) {
36173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36178 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36182 wxPyEndAllowThreads(__tstate
);
36183 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36192 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36193 PyObject
*resultobj
= 0;
36194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36195 wxTreeItemId result
;
36198 PyObject
*swig_obj
[1] ;
36200 if (!args
) SWIG_fail
;
36201 swig_obj
[0] = args
;
36202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36203 if (!SWIG_IsOK(res1
)) {
36204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36206 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36209 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36213 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36220 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36221 PyObject
*resultobj
= 0;
36222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36223 wxTreeItemId
*arg2
= 0 ;
36224 wxTreeItemId result
;
36229 PyObject
* obj0
= 0 ;
36230 PyObject
* obj1
= 0 ;
36231 char * kwnames
[] = {
36232 (char *) "self",(char *) "item", NULL
36235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36237 if (!SWIG_IsOK(res1
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36240 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36242 if (!SWIG_IsOK(res2
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36248 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36251 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36252 wxPyEndAllowThreads(__tstate
);
36253 if (PyErr_Occurred()) SWIG_fail
;
36255 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36262 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
= 0;
36264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36265 wxTreeItemId
*arg2
= 0 ;
36266 wxTreeItemId result
;
36271 PyObject
* obj0
= 0 ;
36272 PyObject
* obj1
= 0 ;
36273 char * kwnames
[] = {
36274 (char *) "self",(char *) "item", NULL
36277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36279 if (!SWIG_IsOK(res1
)) {
36280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36284 if (!SWIG_IsOK(res2
)) {
36285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36304 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36305 PyObject
*resultobj
= 0;
36306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36307 wxString
*arg2
= 0 ;
36308 int arg3
= (int) -1 ;
36309 int arg4
= (int) -1 ;
36310 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36311 wxTreeItemId result
;
36314 bool temp2
= false ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 PyObject
* obj2
= 0 ;
36323 PyObject
* obj3
= 0 ;
36324 PyObject
* obj4
= 0 ;
36325 char * kwnames
[] = {
36326 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36331 if (!SWIG_IsOK(res1
)) {
36332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36336 arg2
= wxString_in_helper(obj1
);
36337 if (arg2
== NULL
) SWIG_fail
;
36341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36342 if (!SWIG_IsOK(ecode3
)) {
36343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36345 arg3
= static_cast< int >(val3
);
36348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36349 if (!SWIG_IsOK(ecode4
)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36352 arg4
= static_cast< int >(val4
);
36355 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36356 if (!SWIG_IsOK(res5
)) {
36357 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36381 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36382 PyObject
*resultobj
= 0;
36383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36384 wxTreeItemId
*arg2
= 0 ;
36385 wxString
*arg3
= 0 ;
36386 int arg4
= (int) -1 ;
36387 int arg5
= (int) -1 ;
36388 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36389 wxTreeItemId result
;
36394 bool temp3
= false ;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 PyObject
* obj2
= 0 ;
36403 PyObject
* obj3
= 0 ;
36404 PyObject
* obj4
= 0 ;
36405 PyObject
* obj5
= 0 ;
36406 char * kwnames
[] = {
36407 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36412 if (!SWIG_IsOK(res1
)) {
36413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36417 if (!SWIG_IsOK(res2
)) {
36418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36425 arg3
= wxString_in_helper(obj2
);
36426 if (arg3
== NULL
) SWIG_fail
;
36430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36431 if (!SWIG_IsOK(ecode4
)) {
36432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36434 arg4
= static_cast< int >(val4
);
36437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36438 if (!SWIG_IsOK(ecode5
)) {
36439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36441 arg5
= static_cast< int >(val5
);
36444 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36445 if (!SWIG_IsOK(res6
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36470 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
= 0;
36472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36473 wxTreeItemId
*arg2
= 0 ;
36474 wxTreeItemId
*arg3
= 0 ;
36475 wxString
*arg4
= 0 ;
36476 int arg5
= (int) -1 ;
36477 int arg6
= (int) -1 ;
36478 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36479 wxTreeItemId result
;
36486 bool temp4
= false ;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 PyObject
* obj2
= 0 ;
36495 PyObject
* obj3
= 0 ;
36496 PyObject
* obj4
= 0 ;
36497 PyObject
* obj5
= 0 ;
36498 PyObject
* obj6
= 0 ;
36499 char * kwnames
[] = {
36500 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36505 if (!SWIG_IsOK(res1
)) {
36506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36508 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36510 if (!SWIG_IsOK(res2
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36516 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36517 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36518 if (!SWIG_IsOK(res3
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36524 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36526 arg4
= wxString_in_helper(obj3
);
36527 if (arg4
== NULL
) SWIG_fail
;
36531 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36532 if (!SWIG_IsOK(ecode5
)) {
36533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36535 arg5
= static_cast< int >(val5
);
36538 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36539 if (!SWIG_IsOK(ecode6
)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36542 arg6
= static_cast< int >(val6
);
36545 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36546 if (!SWIG_IsOK(res7
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36553 wxPyEndAllowThreads(__tstate
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36556 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36571 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36574 wxTreeItemId
*arg2
= 0 ;
36576 wxString
*arg4
= 0 ;
36577 int arg5
= (int) -1 ;
36578 int arg6
= (int) -1 ;
36579 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36580 wxTreeItemId result
;
36587 bool temp4
= false ;
36593 PyObject
* obj0
= 0 ;
36594 PyObject
* obj1
= 0 ;
36595 PyObject
* obj2
= 0 ;
36596 PyObject
* obj3
= 0 ;
36597 PyObject
* obj4
= 0 ;
36598 PyObject
* obj5
= 0 ;
36599 PyObject
* obj6
= 0 ;
36600 char * kwnames
[] = {
36601 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36606 if (!SWIG_IsOK(res1
)) {
36607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36611 if (!SWIG_IsOK(res2
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36617 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36618 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36619 if (!SWIG_IsOK(ecode3
)) {
36620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36622 arg3
= static_cast< size_t >(val3
);
36624 arg4
= wxString_in_helper(obj3
);
36625 if (arg4
== NULL
) SWIG_fail
;
36629 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36630 if (!SWIG_IsOK(ecode5
)) {
36631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36633 arg5
= static_cast< int >(val5
);
36636 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36637 if (!SWIG_IsOK(ecode6
)) {
36638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36640 arg6
= static_cast< int >(val6
);
36643 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36644 if (!SWIG_IsOK(res7
)) {
36645 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36651 wxPyEndAllowThreads(__tstate
);
36652 if (PyErr_Occurred()) SWIG_fail
;
36654 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36669 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36670 PyObject
*resultobj
= 0;
36671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36672 wxTreeItemId
*arg2
= 0 ;
36673 wxString
*arg3
= 0 ;
36674 int arg4
= (int) -1 ;
36675 int arg5
= (int) -1 ;
36676 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36677 wxTreeItemId result
;
36682 bool temp3
= false ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 PyObject
* obj2
= 0 ;
36691 PyObject
* obj3
= 0 ;
36692 PyObject
* obj4
= 0 ;
36693 PyObject
* obj5
= 0 ;
36694 char * kwnames
[] = {
36695 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36700 if (!SWIG_IsOK(res1
)) {
36701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36705 if (!SWIG_IsOK(res2
)) {
36706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36711 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36713 arg3
= wxString_in_helper(obj2
);
36714 if (arg3
== NULL
) SWIG_fail
;
36718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36719 if (!SWIG_IsOK(ecode4
)) {
36720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36722 arg4
= static_cast< int >(val4
);
36725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36726 if (!SWIG_IsOK(ecode5
)) {
36727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36729 arg5
= static_cast< int >(val5
);
36732 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36733 if (!SWIG_IsOK(res6
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36758 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36761 wxTreeItemId
*arg2
= 0 ;
36766 PyObject
* obj0
= 0 ;
36767 PyObject
* obj1
= 0 ;
36768 char * kwnames
[] = {
36769 (char *) "self",(char *) "item", NULL
36772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36774 if (!SWIG_IsOK(res1
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36777 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36779 if (!SWIG_IsOK(res2
)) {
36780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36785 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= SWIG_Py_Void();
36799 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
= 0;
36801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36802 wxTreeItemId
*arg2
= 0 ;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 char * kwnames
[] = {
36810 (char *) "self",(char *) "item", NULL
36813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36815 if (!SWIG_IsOK(res1
)) {
36816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36818 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36820 if (!SWIG_IsOK(res2
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36826 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36829 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= SWIG_Py_Void();
36840 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36841 PyObject
*resultobj
= 0;
36842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36845 PyObject
*swig_obj
[1] ;
36847 if (!args
) SWIG_fail
;
36848 swig_obj
[0] = args
;
36849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36850 if (!SWIG_IsOK(res1
)) {
36851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36856 (arg1
)->DeleteAllItems();
36857 wxPyEndAllowThreads(__tstate
);
36858 if (PyErr_Occurred()) SWIG_fail
;
36860 resultobj
= SWIG_Py_Void();
36867 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36868 PyObject
*resultobj
= 0;
36869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36870 wxTreeItemId
*arg2
= 0 ;
36875 PyObject
* obj0
= 0 ;
36876 PyObject
* obj1
= 0 ;
36877 char * kwnames
[] = {
36878 (char *) "self",(char *) "item", NULL
36881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36883 if (!SWIG_IsOK(res1
)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36888 if (!SWIG_IsOK(res2
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 resultobj
= SWIG_Py_Void();
36908 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
= 0;
36910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36911 wxTreeItemId
*arg2
= 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "item", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36924 if (!SWIG_IsOK(res1
)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36929 if (!SWIG_IsOK(res2
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= SWIG_Py_Void();
36949 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36950 PyObject
*resultobj
= 0;
36951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36954 PyObject
*swig_obj
[1] ;
36956 if (!args
) SWIG_fail
;
36957 swig_obj
[0] = args
;
36958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 (arg1
)->ExpandAll();
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36969 resultobj
= SWIG_Py_Void();
36976 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
= 0;
36978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36979 wxTreeItemId
*arg2
= 0 ;
36984 PyObject
* obj0
= 0 ;
36985 PyObject
* obj1
= 0 ;
36986 char * kwnames
[] = {
36987 (char *) "self",(char *) "item", NULL
36990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36992 if (!SWIG_IsOK(res1
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36997 if (!SWIG_IsOK(res2
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37007 wxPyEndAllowThreads(__tstate
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37010 resultobj
= SWIG_Py_Void();
37017 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37018 PyObject
*resultobj
= 0;
37019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37020 wxTreeItemId
*arg2
= 0 ;
37025 PyObject
* obj0
= 0 ;
37026 PyObject
* obj1
= 0 ;
37027 char * kwnames
[] = {
37028 (char *) "self",(char *) "item", NULL
37031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37033 if (!SWIG_IsOK(res1
)) {
37034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37038 if (!SWIG_IsOK(res2
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37044 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37047 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= SWIG_Py_Void();
37058 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37059 PyObject
*resultobj
= 0;
37060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37063 PyObject
*swig_obj
[1] ;
37065 if (!args
) SWIG_fail
;
37066 swig_obj
[0] = args
;
37067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37068 if (!SWIG_IsOK(res1
)) {
37069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37074 (arg1
)->CollapseAll();
37075 wxPyEndAllowThreads(__tstate
);
37076 if (PyErr_Occurred()) SWIG_fail
;
37078 resultobj
= SWIG_Py_Void();
37085 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37086 PyObject
*resultobj
= 0;
37087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37088 wxTreeItemId
*arg2
= 0 ;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 char * kwnames
[] = {
37096 (char *) "self",(char *) "item", NULL
37099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37101 if (!SWIG_IsOK(res1
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37104 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37106 if (!SWIG_IsOK(res2
)) {
37107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37112 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_Py_Void();
37126 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
= 0;
37128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37129 wxTreeItemId
*arg2
= 0 ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 char * kwnames
[] = {
37137 (char *) "self",(char *) "item", NULL
37140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37142 if (!SWIG_IsOK(res1
)) {
37143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37147 if (!SWIG_IsOK(res2
)) {
37148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37156 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37157 wxPyEndAllowThreads(__tstate
);
37158 if (PyErr_Occurred()) SWIG_fail
;
37160 resultobj
= SWIG_Py_Void();
37167 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37168 PyObject
*resultobj
= 0;
37169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37172 PyObject
*swig_obj
[1] ;
37174 if (!args
) SWIG_fail
;
37175 swig_obj
[0] = args
;
37176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37177 if (!SWIG_IsOK(res1
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37180 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37183 (arg1
)->Unselect();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_Py_Void();
37194 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
= 0;
37196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37197 wxTreeItemId
*arg2
= 0 ;
37202 PyObject
* obj0
= 0 ;
37203 PyObject
* obj1
= 0 ;
37204 char * kwnames
[] = {
37205 (char *) "self",(char *) "item", NULL
37208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37210 if (!SWIG_IsOK(res1
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37213 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37215 if (!SWIG_IsOK(res2
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37221 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37224 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37225 wxPyEndAllowThreads(__tstate
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37228 resultobj
= SWIG_Py_Void();
37235 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37236 PyObject
*resultobj
= 0;
37237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37240 PyObject
*swig_obj
[1] ;
37242 if (!args
) SWIG_fail
;
37243 swig_obj
[0] = args
;
37244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37245 if (!SWIG_IsOK(res1
)) {
37246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 (arg1
)->UnselectAll();
37252 wxPyEndAllowThreads(__tstate
);
37253 if (PyErr_Occurred()) SWIG_fail
;
37255 resultobj
= SWIG_Py_Void();
37262 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
= 0;
37264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37265 wxTreeItemId
*arg2
= 0 ;
37266 bool arg3
= (bool) true ;
37273 PyObject
* obj0
= 0 ;
37274 PyObject
* obj1
= 0 ;
37275 PyObject
* obj2
= 0 ;
37276 char * kwnames
[] = {
37277 (char *) "self",(char *) "item",(char *) "select", NULL
37280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37282 if (!SWIG_IsOK(res1
)) {
37283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37285 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37287 if (!SWIG_IsOK(res2
)) {
37288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37293 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37295 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37296 if (!SWIG_IsOK(ecode3
)) {
37297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37299 arg3
= static_cast< bool >(val3
);
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37304 wxPyEndAllowThreads(__tstate
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= SWIG_Py_Void();
37314 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37315 PyObject
*resultobj
= 0;
37316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37317 wxTreeItemId
*arg2
= 0 ;
37322 PyObject
* obj0
= 0 ;
37323 PyObject
* obj1
= 0 ;
37324 char * kwnames
[] = {
37325 (char *) "self",(char *) "item", NULL
37328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37330 if (!SWIG_IsOK(res1
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37335 if (!SWIG_IsOK(res2
)) {
37336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37341 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37344 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37345 wxPyEndAllowThreads(__tstate
);
37346 if (PyErr_Occurred()) SWIG_fail
;
37348 resultobj
= SWIG_Py_Void();
37355 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
= 0;
37357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37358 wxTreeItemId
*arg2
= 0 ;
37363 PyObject
* obj0
= 0 ;
37364 PyObject
* obj1
= 0 ;
37365 char * kwnames
[] = {
37366 (char *) "self",(char *) "item", NULL
37369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37371 if (!SWIG_IsOK(res1
)) {
37372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37374 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37376 if (!SWIG_IsOK(res2
)) {
37377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37382 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_Py_Void();
37396 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37397 PyObject
*resultobj
= 0;
37398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37399 wxTreeItemId
*arg2
= 0 ;
37404 PyObject
* obj0
= 0 ;
37405 PyObject
* obj1
= 0 ;
37406 char * kwnames
[] = {
37407 (char *) "self",(char *) "item", NULL
37410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37412 if (!SWIG_IsOK(res1
)) {
37413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37417 if (!SWIG_IsOK(res2
)) {
37418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37426 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 resultobj
= SWIG_Py_Void();
37437 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37438 PyObject
*resultobj
= 0;
37439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37440 wxTreeItemId
*arg2
= 0 ;
37445 PyObject
* obj0
= 0 ;
37446 PyObject
* obj1
= 0 ;
37447 char * kwnames
[] = {
37448 (char *) "self",(char *) "item", NULL
37451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37453 if (!SWIG_IsOK(res1
)) {
37454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37456 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37458 if (!SWIG_IsOK(res2
)) {
37459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37464 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37467 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 resultobj
= SWIG_Py_Void();
37478 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37479 PyObject
*resultobj
= 0;
37480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37481 wxTextCtrl
*result
= 0 ;
37484 PyObject
*swig_obj
[1] ;
37486 if (!args
) SWIG_fail
;
37487 swig_obj
[0] = args
;
37488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37489 if (!SWIG_IsOK(res1
)) {
37490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37495 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37500 resultobj
= wxPyMake_wxObject(result
, 0);
37508 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
= 0;
37510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37511 wxTreeItemId
*arg2
= 0 ;
37516 PyObject
* obj0
= 0 ;
37517 PyObject
* obj1
= 0 ;
37518 char * kwnames
[] = {
37519 (char *) "self",(char *) "item", NULL
37522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37524 if (!SWIG_IsOK(res1
)) {
37525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37527 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37529 if (!SWIG_IsOK(res2
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37535 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_Py_Void();
37549 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
= 0;
37551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37552 wxPoint
*arg2
= 0 ;
37554 wxTreeItemId result
;
37559 int res3
= SWIG_TMPOBJ
;
37560 PyObject
* obj0
= 0 ;
37561 PyObject
* obj1
= 0 ;
37562 char * kwnames
[] = {
37563 (char *) "self",(char *) "point", NULL
37567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37569 if (!SWIG_IsOK(res1
)) {
37570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37579 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37584 if (SWIG_IsTmpObj(res3
)) {
37585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37587 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37596 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37597 PyObject
*resultobj
= 0;
37598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37599 wxTreeItemId
*arg2
= 0 ;
37600 bool arg3
= (bool) false ;
37601 PyObject
*result
= 0 ;
37608 PyObject
* obj0
= 0 ;
37609 PyObject
* obj1
= 0 ;
37610 PyObject
* obj2
= 0 ;
37611 char * kwnames
[] = {
37612 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37617 if (!SWIG_IsOK(res1
)) {
37618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37622 if (!SWIG_IsOK(res2
)) {
37623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37628 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37630 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37631 if (!SWIG_IsOK(ecode3
)) {
37632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37634 arg3
= static_cast< bool >(val3
);
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37639 wxPyEndAllowThreads(__tstate
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= result
;
37649 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37650 PyObject
*resultobj
= 0;
37651 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37652 SwigValueWrapper
<wxVisualAttributes
> result
;
37655 PyObject
* obj0
= 0 ;
37656 char * kwnames
[] = {
37657 (char *) "variant", NULL
37660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37662 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37663 if (!SWIG_IsOK(ecode1
)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37666 arg1
= static_cast< wxWindowVariant
>(val1
);
37669 if (!wxPyCheckForApp()) SWIG_fail
;
37670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37671 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37682 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37683 PyObject
*resultobj
= 0;
37684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37690 PyObject
* obj0
= 0 ;
37691 PyObject
* obj1
= 0 ;
37692 char * kwnames
[] = {
37693 (char *) "self",(char *) "q", NULL
37696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37698 if (!SWIG_IsOK(res1
)) {
37699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37703 if (!SWIG_IsOK(ecode2
)) {
37704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37706 arg2
= static_cast< bool >(val2
);
37708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37709 (arg1
)->SetQuickBestSize(arg2
);
37710 wxPyEndAllowThreads(__tstate
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= SWIG_Py_Void();
37720 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37721 PyObject
*resultobj
= 0;
37722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37726 PyObject
*swig_obj
[1] ;
37728 if (!args
) SWIG_fail
;
37729 swig_obj
[0] = args
;
37730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37731 if (!SWIG_IsOK(res1
)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37750 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37753 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37754 return SWIG_Py_Void();
37757 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37758 return SWIG_Python_InitShadowInstance(args
);
37761 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37762 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37767 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37768 PyObject
*pyobj
= 0;
37772 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37774 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37781 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37782 PyObject
*resultobj
= 0;
37783 wxWindow
*arg1
= (wxWindow
*) 0 ;
37784 int arg2
= (int) (int)-1 ;
37785 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37791 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37792 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37793 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37794 int arg8
= (int) 0 ;
37795 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37796 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37797 wxGenericDirCtrl
*result
= 0 ;
37802 bool temp3
= false ;
37807 bool temp7
= false ;
37810 bool temp9
= false ;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 PyObject
* obj2
= 0 ;
37814 PyObject
* obj3
= 0 ;
37815 PyObject
* obj4
= 0 ;
37816 PyObject
* obj5
= 0 ;
37817 PyObject
* obj6
= 0 ;
37818 PyObject
* obj7
= 0 ;
37819 PyObject
* obj8
= 0 ;
37820 char * kwnames
[] = {
37821 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37826 if (!SWIG_IsOK(res1
)) {
37827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37832 if (!SWIG_IsOK(ecode2
)) {
37833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37835 arg2
= static_cast< int >(val2
);
37839 arg3
= wxString_in_helper(obj2
);
37840 if (arg3
== NULL
) SWIG_fail
;
37847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37857 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37858 if (!SWIG_IsOK(ecode6
)) {
37859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37861 arg6
= static_cast< long >(val6
);
37865 arg7
= wxString_in_helper(obj6
);
37866 if (arg7
== NULL
) SWIG_fail
;
37871 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37872 if (!SWIG_IsOK(ecode8
)) {
37873 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37875 arg8
= static_cast< int >(val8
);
37879 arg9
= wxString_in_helper(obj8
);
37880 if (arg9
== NULL
) SWIG_fail
;
37885 if (!wxPyCheckForApp()) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37888 wxPyEndAllowThreads(__tstate
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37922 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37923 PyObject
*resultobj
= 0;
37924 wxGenericDirCtrl
*result
= 0 ;
37926 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37928 if (!wxPyCheckForApp()) SWIG_fail
;
37929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37930 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37941 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37942 PyObject
*resultobj
= 0;
37943 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37944 wxWindow
*arg2
= (wxWindow
*) 0 ;
37945 int arg3
= (int) (int)-1 ;
37946 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37952 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37953 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37955 int arg9
= (int) 0 ;
37956 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37957 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37965 bool temp4
= false ;
37970 bool temp8
= false ;
37973 bool temp10
= false ;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 PyObject
* obj2
= 0 ;
37977 PyObject
* obj3
= 0 ;
37978 PyObject
* obj4
= 0 ;
37979 PyObject
* obj5
= 0 ;
37980 PyObject
* obj6
= 0 ;
37981 PyObject
* obj7
= 0 ;
37982 PyObject
* obj8
= 0 ;
37983 PyObject
* obj9
= 0 ;
37984 char * kwnames
[] = {
37985 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37990 if (!SWIG_IsOK(res1
)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37993 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37995 if (!SWIG_IsOK(res2
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38001 if (!SWIG_IsOK(ecode3
)) {
38002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38004 arg3
= static_cast< int >(val3
);
38008 arg4
= wxString_in_helper(obj3
);
38009 if (arg4
== NULL
) SWIG_fail
;
38016 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38022 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38026 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38027 if (!SWIG_IsOK(ecode7
)) {
38028 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38030 arg7
= static_cast< long >(val7
);
38034 arg8
= wxString_in_helper(obj7
);
38035 if (arg8
== NULL
) SWIG_fail
;
38040 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38041 if (!SWIG_IsOK(ecode9
)) {
38042 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38044 arg9
= static_cast< int >(val9
);
38048 arg10
= wxString_in_helper(obj9
);
38049 if (arg10
== NULL
) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38056 wxPyEndAllowThreads(__tstate
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38092 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38093 PyObject
*resultobj
= 0;
38094 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38095 wxString
*arg2
= 0 ;
38099 bool temp2
= false ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char * kwnames
[] = {
38103 (char *) "self",(char *) "path", NULL
38106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38108 if (!SWIG_IsOK(res1
)) {
38109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38111 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38113 arg2
= wxString_in_helper(obj1
);
38114 if (arg2
== NULL
) SWIG_fail
;
38118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38119 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38140 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38143 wxString
*arg2
= 0 ;
38147 bool temp2
= false ;
38148 PyObject
* obj0
= 0 ;
38149 PyObject
* obj1
= 0 ;
38150 char * kwnames
[] = {
38151 (char *) "self",(char *) "path", NULL
38154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38156 if (!SWIG_IsOK(res1
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38159 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38161 arg2
= wxString_in_helper(obj1
);
38162 if (arg2
== NULL
) SWIG_fail
;
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38188 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38189 PyObject
*resultobj
= 0;
38190 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38194 PyObject
*swig_obj
[1] ;
38196 if (!args
) SWIG_fail
;
38197 swig_obj
[0] = args
;
38198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38199 if (!SWIG_IsOK(res1
)) {
38200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38202 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38222 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38223 PyObject
*resultobj
= 0;
38224 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38225 wxString
*arg2
= 0 ;
38228 bool temp2
= false ;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 char * kwnames
[] = {
38232 (char *) "self",(char *) "path", NULL
38235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38240 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38242 arg2
= wxString_in_helper(obj1
);
38243 if (arg2
== NULL
) SWIG_fail
;
38247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38248 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38252 resultobj
= SWIG_Py_Void();
38267 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38268 PyObject
*resultobj
= 0;
38269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38273 PyObject
*swig_obj
[1] ;
38275 if (!args
) SWIG_fail
;
38276 swig_obj
[0] = args
;
38277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38281 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38301 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38302 PyObject
*resultobj
= 0;
38303 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38307 PyObject
*swig_obj
[1] ;
38309 if (!args
) SWIG_fail
;
38310 swig_obj
[0] = args
;
38311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38312 if (!SWIG_IsOK(res1
)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38315 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38335 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38336 PyObject
*resultobj
= 0;
38337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38338 wxString
*arg2
= 0 ;
38341 bool temp2
= false ;
38342 PyObject
* obj0
= 0 ;
38343 PyObject
* obj1
= 0 ;
38344 char * kwnames
[] = {
38345 (char *) "self",(char *) "path", NULL
38348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38350 if (!SWIG_IsOK(res1
)) {
38351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38353 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38355 arg2
= wxString_in_helper(obj1
);
38356 if (arg2
== NULL
) SWIG_fail
;
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 (arg1
)->SetPath((wxString
const &)*arg2
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 resultobj
= SWIG_Py_Void();
38380 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38381 PyObject
*resultobj
= 0;
38382 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38388 PyObject
* obj0
= 0 ;
38389 PyObject
* obj1
= 0 ;
38390 char * kwnames
[] = {
38391 (char *) "self",(char *) "show", NULL
38394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38396 if (!SWIG_IsOK(res1
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38399 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38400 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38401 if (!SWIG_IsOK(ecode2
)) {
38402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38404 arg2
= static_cast< bool >(val2
);
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 (arg1
)->ShowHidden(arg2
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_Py_Void();
38418 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38419 PyObject
*resultobj
= 0;
38420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38424 PyObject
*swig_obj
[1] ;
38426 if (!args
) SWIG_fail
;
38427 swig_obj
[0] = args
;
38428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38429 if (!SWIG_IsOK(res1
)) {
38430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38432 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38435 result
= (bool)(arg1
)->GetShowHidden();
38436 wxPyEndAllowThreads(__tstate
);
38437 if (PyErr_Occurred()) SWIG_fail
;
38440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38448 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38449 PyObject
*resultobj
= 0;
38450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38454 PyObject
*swig_obj
[1] ;
38456 if (!args
) SWIG_fail
;
38457 swig_obj
[0] = args
;
38458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38459 if (!SWIG_IsOK(res1
)) {
38460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38462 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38465 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38466 wxPyEndAllowThreads(__tstate
);
38467 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38482 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38483 PyObject
*resultobj
= 0;
38484 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38485 wxString
*arg2
= 0 ;
38488 bool temp2
= false ;
38489 PyObject
* obj0
= 0 ;
38490 PyObject
* obj1
= 0 ;
38491 char * kwnames
[] = {
38492 (char *) "self",(char *) "filter", NULL
38495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38497 if (!SWIG_IsOK(res1
)) {
38498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38500 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38502 arg2
= wxString_in_helper(obj1
);
38503 if (arg2
== NULL
) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 (arg1
)->SetFilter((wxString
const &)*arg2
);
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_Py_Void();
38527 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38528 PyObject
*resultobj
= 0;
38529 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38533 PyObject
*swig_obj
[1] ;
38535 if (!args
) SWIG_fail
;
38536 swig_obj
[0] = args
;
38537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38538 if (!SWIG_IsOK(res1
)) {
38539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38541 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38544 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38545 wxPyEndAllowThreads(__tstate
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38548 resultobj
= SWIG_From_int(static_cast< int >(result
));
38555 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38556 PyObject
*resultobj
= 0;
38557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38563 PyObject
* obj0
= 0 ;
38564 PyObject
* obj1
= 0 ;
38565 char * kwnames
[] = {
38566 (char *) "self",(char *) "n", NULL
38569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38571 if (!SWIG_IsOK(res1
)) {
38572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38574 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38576 if (!SWIG_IsOK(ecode2
)) {
38577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38579 arg2
= static_cast< int >(val2
);
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 (arg1
)->SetFilterIndex(arg2
);
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= SWIG_Py_Void();
38593 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38594 PyObject
*resultobj
= 0;
38595 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38596 wxTreeItemId result
;
38599 PyObject
*swig_obj
[1] ;
38601 if (!args
) SWIG_fail
;
38602 swig_obj
[0] = args
;
38603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38604 if (!SWIG_IsOK(res1
)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38607 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 result
= (arg1
)->GetRootId();
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38621 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38622 PyObject
*resultobj
= 0;
38623 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38624 wxPyTreeCtrl
*result
= 0 ;
38627 PyObject
*swig_obj
[1] ;
38629 if (!args
) SWIG_fail
;
38630 swig_obj
[0] = args
;
38631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38632 if (!SWIG_IsOK(res1
)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38635 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= wxPyMake_wxObject(result
, 0);
38651 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38652 PyObject
*resultobj
= 0;
38653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38654 wxDirFilterListCtrl
*result
= 0 ;
38657 PyObject
*swig_obj
[1] ;
38659 if (!args
) SWIG_fail
;
38660 swig_obj
[0] = args
;
38661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38662 if (!SWIG_IsOK(res1
)) {
38663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38665 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38668 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38669 wxPyEndAllowThreads(__tstate
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38679 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38680 PyObject
*resultobj
= 0;
38681 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38682 wxTreeItemId arg2
;
38683 wxString
*arg3
= 0 ;
38685 wxTreeItemId result
;
38690 bool temp3
= false ;
38692 int res4
= SWIG_TMPOBJ
;
38693 PyObject
* obj0
= 0 ;
38694 PyObject
* obj1
= 0 ;
38695 PyObject
* obj2
= 0 ;
38696 char * kwnames
[] = {
38697 (char *) "self",(char *) "parentId",(char *) "path", NULL
38701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38703 if (!SWIG_IsOK(res1
)) {
38704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38706 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38709 if (!SWIG_IsOK(res2
)) {
38710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38715 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38717 if (SWIG_IsNewObj(res2
)) delete temp
;
38721 arg3
= wxString_in_helper(obj2
);
38722 if (arg3
== NULL
) SWIG_fail
;
38726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38728 wxPyEndAllowThreads(__tstate
);
38729 if (PyErr_Occurred()) SWIG_fail
;
38731 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38732 if (SWIG_IsTmpObj(res4
)) {
38733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38735 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38752 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38753 PyObject
*resultobj
= 0;
38754 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38757 PyObject
*swig_obj
[1] ;
38759 if (!args
) SWIG_fail
;
38760 swig_obj
[0] = args
;
38761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38762 if (!SWIG_IsOK(res1
)) {
38763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38765 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 (arg1
)->DoResize();
38769 wxPyEndAllowThreads(__tstate
);
38770 if (PyErr_Occurred()) SWIG_fail
;
38772 resultobj
= SWIG_Py_Void();
38779 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38780 PyObject
*resultobj
= 0;
38781 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38784 PyObject
*swig_obj
[1] ;
38786 if (!args
) SWIG_fail
;
38787 swig_obj
[0] = args
;
38788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38789 if (!SWIG_IsOK(res1
)) {
38790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38792 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->ReCreateTree();
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38806 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38809 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38810 return SWIG_Py_Void();
38813 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38814 return SWIG_Python_InitShadowInstance(args
);
38817 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38818 PyObject
*resultobj
= 0;
38819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38820 int arg2
= (int) (int)-1 ;
38821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38825 long arg5
= (long) 0 ;
38826 wxDirFilterListCtrl
*result
= 0 ;
38835 PyObject
* obj0
= 0 ;
38836 PyObject
* obj1
= 0 ;
38837 PyObject
* obj2
= 0 ;
38838 PyObject
* obj3
= 0 ;
38839 PyObject
* obj4
= 0 ;
38840 char * kwnames
[] = {
38841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38846 if (!SWIG_IsOK(res1
)) {
38847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38849 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38852 if (!SWIG_IsOK(ecode2
)) {
38853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38855 arg2
= static_cast< int >(val2
);
38860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38870 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38871 if (!SWIG_IsOK(ecode5
)) {
38872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38874 arg5
= static_cast< long >(val5
);
38877 if (!wxPyCheckForApp()) SWIG_fail
;
38878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38879 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38890 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38891 PyObject
*resultobj
= 0;
38892 wxDirFilterListCtrl
*result
= 0 ;
38894 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38896 if (!wxPyCheckForApp()) SWIG_fail
;
38897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38898 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38909 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
= 0;
38911 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38912 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38913 int arg3
= (int) (int)-1 ;
38914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38918 long arg6
= (long) 0 ;
38930 PyObject
* obj0
= 0 ;
38931 PyObject
* obj1
= 0 ;
38932 PyObject
* obj2
= 0 ;
38933 PyObject
* obj3
= 0 ;
38934 PyObject
* obj4
= 0 ;
38935 PyObject
* obj5
= 0 ;
38936 char * kwnames
[] = {
38937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38942 if (!SWIG_IsOK(res1
)) {
38943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38945 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38947 if (!SWIG_IsOK(res2
)) {
38948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38950 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38953 if (!SWIG_IsOK(ecode3
)) {
38954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38956 arg3
= static_cast< int >(val3
);
38961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38971 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38972 if (!SWIG_IsOK(ecode6
)) {
38973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38975 arg6
= static_cast< long >(val6
);
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38992 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
= 0;
38994 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38995 wxString
*arg2
= 0 ;
38999 bool temp2
= false ;
39002 PyObject
* obj0
= 0 ;
39003 PyObject
* obj1
= 0 ;
39004 PyObject
* obj2
= 0 ;
39005 char * kwnames
[] = {
39006 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39011 if (!SWIG_IsOK(res1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39014 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39016 arg2
= wxString_in_helper(obj1
);
39017 if (arg2
== NULL
) SWIG_fail
;
39020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39021 if (!SWIG_IsOK(ecode3
)) {
39022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39024 arg3
= static_cast< int >(val3
);
39026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39027 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39028 wxPyEndAllowThreads(__tstate
);
39029 if (PyErr_Occurred()) SWIG_fail
;
39031 resultobj
= SWIG_Py_Void();
39046 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39049 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39050 return SWIG_Py_Void();
39053 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39054 return SWIG_Python_InitShadowInstance(args
);
39057 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
= 0;
39059 wxWindow
*arg1
= (wxWindow
*) 0 ;
39060 int arg2
= (int) (int)-1 ;
39061 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39062 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39063 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39064 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39065 long arg5
= (long) 0 ;
39066 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39067 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39068 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39069 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39070 wxPyControl
*result
= 0 ;
39081 bool temp7
= false ;
39082 PyObject
* obj0
= 0 ;
39083 PyObject
* obj1
= 0 ;
39084 PyObject
* obj2
= 0 ;
39085 PyObject
* obj3
= 0 ;
39086 PyObject
* obj4
= 0 ;
39087 PyObject
* obj5
= 0 ;
39088 PyObject
* obj6
= 0 ;
39089 char * kwnames
[] = {
39090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39095 if (!SWIG_IsOK(res1
)) {
39096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39101 if (!SWIG_IsOK(ecode2
)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39104 arg2
= static_cast< int >(val2
);
39109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39115 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39119 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39120 if (!SWIG_IsOK(ecode5
)) {
39121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39123 arg5
= static_cast< long >(val5
);
39126 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39127 if (!SWIG_IsOK(res6
)) {
39128 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39133 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39137 arg7
= wxString_in_helper(obj6
);
39138 if (arg7
== NULL
) SWIG_fail
;
39143 if (!wxPyCheckForApp()) SWIG_fail
;
39144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39145 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39146 wxPyEndAllowThreads(__tstate
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39164 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39165 PyObject
*resultobj
= 0;
39166 wxPyControl
*result
= 0 ;
39168 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39170 if (!wxPyCheckForApp()) SWIG_fail
;
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 result
= (wxPyControl
*)new wxPyControl();
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39183 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
= 0;
39185 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39186 PyObject
*arg2
= (PyObject
*) 0 ;
39187 PyObject
*arg3
= (PyObject
*) 0 ;
39190 PyObject
* obj0
= 0 ;
39191 PyObject
* obj1
= 0 ;
39192 PyObject
* obj2
= 0 ;
39193 char * kwnames
[] = {
39194 (char *) "self",(char *) "self",(char *) "_class", NULL
39197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39199 if (!SWIG_IsOK(res1
)) {
39200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39202 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39208 wxPyEndAllowThreads(__tstate
);
39209 if (PyErr_Occurred()) SWIG_fail
;
39211 resultobj
= SWIG_Py_Void();
39218 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39219 PyObject
*resultobj
= 0;
39220 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39221 wxDC
*arg2
= (wxDC
*) 0 ;
39227 PyObject
* obj0
= 0 ;
39228 PyObject
* obj1
= 0 ;
39229 char * kwnames
[] = {
39230 (char *) "self",(char *) "dc", NULL
39233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39235 if (!SWIG_IsOK(res1
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39238 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39240 if (!SWIG_IsOK(res2
)) {
39241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39243 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39247 wxPyEndAllowThreads(__tstate
);
39248 if (PyErr_Occurred()) SWIG_fail
;
39251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39259 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39260 PyObject
*resultobj
= 0;
39261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39278 PyObject
* obj2
= 0 ;
39279 PyObject
* obj3
= 0 ;
39280 PyObject
* obj4
= 0 ;
39281 char * kwnames
[] = {
39282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39287 if (!SWIG_IsOK(res1
)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39290 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39292 if (!SWIG_IsOK(ecode2
)) {
39293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39295 arg2
= static_cast< int >(val2
);
39296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39297 if (!SWIG_IsOK(ecode3
)) {
39298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39300 arg3
= static_cast< int >(val3
);
39301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39302 if (!SWIG_IsOK(ecode4
)) {
39303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39305 arg4
= static_cast< int >(val4
);
39306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39307 if (!SWIG_IsOK(ecode5
)) {
39308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39310 arg5
= static_cast< int >(val5
);
39312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39313 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39314 wxPyEndAllowThreads(__tstate
);
39315 if (PyErr_Occurred()) SWIG_fail
;
39317 resultobj
= SWIG_Py_Void();
39324 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39325 PyObject
*resultobj
= 0;
39326 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39331 int arg6
= (int) wxSIZE_AUTO
;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 PyObject
* obj2
= 0 ;
39347 PyObject
* obj3
= 0 ;
39348 PyObject
* obj4
= 0 ;
39349 PyObject
* obj5
= 0 ;
39350 char * kwnames
[] = {
39351 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39356 if (!SWIG_IsOK(res1
)) {
39357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39359 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39361 if (!SWIG_IsOK(ecode2
)) {
39362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39364 arg2
= static_cast< int >(val2
);
39365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39366 if (!SWIG_IsOK(ecode3
)) {
39367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39369 arg3
= static_cast< int >(val3
);
39370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39371 if (!SWIG_IsOK(ecode4
)) {
39372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39374 arg4
= static_cast< int >(val4
);
39375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39376 if (!SWIG_IsOK(ecode5
)) {
39377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39379 arg5
= static_cast< int >(val5
);
39381 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39382 if (!SWIG_IsOK(ecode6
)) {
39383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39385 arg6
= static_cast< int >(val6
);
39388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39389 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39390 wxPyEndAllowThreads(__tstate
);
39391 if (PyErr_Occurred()) SWIG_fail
;
39393 resultobj
= SWIG_Py_Void();
39400 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39401 PyObject
*resultobj
= 0;
39402 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39411 PyObject
* obj0
= 0 ;
39412 PyObject
* obj1
= 0 ;
39413 PyObject
* obj2
= 0 ;
39414 char * kwnames
[] = {
39415 (char *) "self",(char *) "width",(char *) "height", NULL
39418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39420 if (!SWIG_IsOK(res1
)) {
39421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39423 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39425 if (!SWIG_IsOK(ecode2
)) {
39426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39428 arg2
= static_cast< int >(val2
);
39429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39430 if (!SWIG_IsOK(ecode3
)) {
39431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39433 arg3
= static_cast< int >(val3
);
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 (arg1
)->DoSetClientSize(arg2
,arg3
);
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= SWIG_Py_Void();
39447 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39448 PyObject
*resultobj
= 0;
39449 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39458 PyObject
* obj0
= 0 ;
39459 PyObject
* obj1
= 0 ;
39460 PyObject
* obj2
= 0 ;
39461 char * kwnames
[] = {
39462 (char *) "self",(char *) "x",(char *) "y", NULL
39465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39467 if (!SWIG_IsOK(res1
)) {
39468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39470 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39472 if (!SWIG_IsOK(ecode2
)) {
39473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39475 arg2
= static_cast< int >(val2
);
39476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39477 if (!SWIG_IsOK(ecode3
)) {
39478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39480 arg3
= static_cast< int >(val3
);
39482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39483 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39487 resultobj
= SWIG_Py_Void();
39494 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39495 PyObject
*resultobj
= 0;
39496 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39497 int *arg2
= (int *) 0 ;
39498 int *arg3
= (int *) 0 ;
39502 int res2
= SWIG_TMPOBJ
;
39504 int res3
= SWIG_TMPOBJ
;
39505 PyObject
*swig_obj
[1] ;
39509 if (!args
) SWIG_fail
;
39510 swig_obj
[0] = args
;
39511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39512 if (!SWIG_IsOK(res1
)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39515 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39522 resultobj
= SWIG_Py_Void();
39523 if (SWIG_IsTmpObj(res2
)) {
39524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39526 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39529 if (SWIG_IsTmpObj(res3
)) {
39530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39532 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39541 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39542 PyObject
*resultobj
= 0;
39543 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39544 int *arg2
= (int *) 0 ;
39545 int *arg3
= (int *) 0 ;
39549 int res2
= SWIG_TMPOBJ
;
39551 int res3
= SWIG_TMPOBJ
;
39552 PyObject
*swig_obj
[1] ;
39556 if (!args
) SWIG_fail
;
39557 swig_obj
[0] = args
;
39558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39559 if (!SWIG_IsOK(res1
)) {
39560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39562 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39565 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39566 wxPyEndAllowThreads(__tstate
);
39567 if (PyErr_Occurred()) SWIG_fail
;
39569 resultobj
= SWIG_Py_Void();
39570 if (SWIG_IsTmpObj(res2
)) {
39571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39573 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39576 if (SWIG_IsTmpObj(res3
)) {
39577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39579 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39588 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39589 PyObject
*resultobj
= 0;
39590 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39591 int *arg2
= (int *) 0 ;
39592 int *arg3
= (int *) 0 ;
39596 int res2
= SWIG_TMPOBJ
;
39598 int res3
= SWIG_TMPOBJ
;
39599 PyObject
*swig_obj
[1] ;
39603 if (!args
) SWIG_fail
;
39604 swig_obj
[0] = args
;
39605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39606 if (!SWIG_IsOK(res1
)) {
39607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39609 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39612 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39613 wxPyEndAllowThreads(__tstate
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39616 resultobj
= SWIG_Py_Void();
39617 if (SWIG_IsTmpObj(res2
)) {
39618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39620 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39623 if (SWIG_IsTmpObj(res3
)) {
39624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39626 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39635 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39636 PyObject
*resultobj
= 0;
39637 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39641 PyObject
*swig_obj
[1] ;
39643 if (!args
) SWIG_fail
;
39644 swig_obj
[0] = args
;
39645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39646 if (!SWIG_IsOK(res1
)) {
39647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39649 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39652 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39663 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39664 PyObject
*resultobj
= 0;
39665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39669 PyObject
*swig_obj
[1] ;
39671 if (!args
) SWIG_fail
;
39672 swig_obj
[0] = args
;
39673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39674 if (!SWIG_IsOK(res1
)) {
39675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39677 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39680 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39681 wxPyEndAllowThreads(__tstate
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39684 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39691 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39692 PyObject
*resultobj
= 0;
39693 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39694 SwigValueWrapper
<wxVisualAttributes
> result
;
39697 PyObject
*swig_obj
[1] ;
39699 if (!args
) SWIG_fail
;
39700 swig_obj
[0] = args
;
39701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39702 if (!SWIG_IsOK(res1
)) {
39703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39705 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39708 result
= (arg1
)->GetDefaultAttributes();
39709 wxPyEndAllowThreads(__tstate
);
39710 if (PyErr_Occurred()) SWIG_fail
;
39712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39719 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39720 PyObject
*resultobj
= 0;
39721 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39724 PyObject
*swig_obj
[1] ;
39726 if (!args
) SWIG_fail
;
39727 swig_obj
[0] = args
;
39728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39729 if (!SWIG_IsOK(res1
)) {
39730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39732 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 (arg1
)->OnInternalIdle();
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 resultobj
= SWIG_Py_Void();
39746 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39749 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39750 return SWIG_Py_Void();
39753 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39754 return SWIG_Python_InitShadowInstance(args
);
39757 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39758 PyObject
*resultobj
= 0;
39759 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39760 int arg2
= (int) 0 ;
39761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39763 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39764 wxHelpEvent
*result
= 0 ;
39772 PyObject
* obj0
= 0 ;
39773 PyObject
* obj1
= 0 ;
39774 PyObject
* obj2
= 0 ;
39775 PyObject
* obj3
= 0 ;
39776 char * kwnames
[] = {
39777 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39783 if (!SWIG_IsOK(ecode1
)) {
39784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39786 arg1
= static_cast< wxEventType
>(val1
);
39789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39790 if (!SWIG_IsOK(ecode2
)) {
39791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39793 arg2
= static_cast< int >(val2
);
39798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39803 if (!SWIG_IsOK(ecode4
)) {
39804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39806 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39811 wxPyEndAllowThreads(__tstate
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39821 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39822 PyObject
*resultobj
= 0;
39823 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39827 PyObject
*swig_obj
[1] ;
39829 if (!args
) SWIG_fail
;
39830 swig_obj
[0] = args
;
39831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39832 if (!SWIG_IsOK(res1
)) {
39833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39835 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39838 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39842 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39849 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39850 PyObject
*resultobj
= 0;
39851 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39852 wxPoint
*arg2
= 0 ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 char * kwnames
[] = {
39859 (char *) "self",(char *) "pos", NULL
39862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39864 if (!SWIG_IsOK(res1
)) {
39865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39867 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= SWIG_Py_Void();
39885 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39886 PyObject
*resultobj
= 0;
39887 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39888 wxString
*result
= 0 ;
39891 PyObject
*swig_obj
[1] ;
39893 if (!args
) SWIG_fail
;
39894 swig_obj
[0] = args
;
39895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39896 if (!SWIG_IsOK(res1
)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39899 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39904 result
= (wxString
*) &_result_ref
;
39906 wxPyEndAllowThreads(__tstate
);
39907 if (PyErr_Occurred()) SWIG_fail
;
39911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39922 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
= 0;
39924 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39925 wxString
*arg2
= 0 ;
39928 bool temp2
= false ;
39929 PyObject
* obj0
= 0 ;
39930 PyObject
* obj1
= 0 ;
39931 char * kwnames
[] = {
39932 (char *) "self",(char *) "link", NULL
39935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39937 if (!SWIG_IsOK(res1
)) {
39938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39940 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39942 arg2
= wxString_in_helper(obj1
);
39943 if (arg2
== NULL
) SWIG_fail
;
39947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39948 (arg1
)->SetLink((wxString
const &)*arg2
);
39949 wxPyEndAllowThreads(__tstate
);
39950 if (PyErr_Occurred()) SWIG_fail
;
39952 resultobj
= SWIG_Py_Void();
39967 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39968 PyObject
*resultobj
= 0;
39969 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39970 wxString
*result
= 0 ;
39973 PyObject
*swig_obj
[1] ;
39975 if (!args
) SWIG_fail
;
39976 swig_obj
[0] = args
;
39977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39978 if (!SWIG_IsOK(res1
)) {
39979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39981 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39986 result
= (wxString
*) &_result_ref
;
39988 wxPyEndAllowThreads(__tstate
);
39989 if (PyErr_Occurred()) SWIG_fail
;
39993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40004 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40005 PyObject
*resultobj
= 0;
40006 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40007 wxString
*arg2
= 0 ;
40010 bool temp2
= false ;
40011 PyObject
* obj0
= 0 ;
40012 PyObject
* obj1
= 0 ;
40013 char * kwnames
[] = {
40014 (char *) "self",(char *) "target", NULL
40017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40019 if (!SWIG_IsOK(res1
)) {
40020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40022 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40024 arg2
= wxString_in_helper(obj1
);
40025 if (arg2
== NULL
) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->SetTarget((wxString
const &)*arg2
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 resultobj
= SWIG_Py_Void();
40049 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40050 PyObject
*resultobj
= 0;
40051 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40052 wxHelpEvent::Origin result
;
40055 PyObject
*swig_obj
[1] ;
40057 if (!args
) SWIG_fail
;
40058 swig_obj
[0] = args
;
40059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40060 if (!SWIG_IsOK(res1
)) {
40061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40063 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40066 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40067 wxPyEndAllowThreads(__tstate
);
40068 if (PyErr_Occurred()) SWIG_fail
;
40070 resultobj
= SWIG_From_int(static_cast< int >(result
));
40077 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40078 PyObject
*resultobj
= 0;
40079 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40080 wxHelpEvent::Origin arg2
;
40085 PyObject
* obj0
= 0 ;
40086 PyObject
* obj1
= 0 ;
40087 char * kwnames
[] = {
40088 (char *) "self",(char *) "origin", NULL
40091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40093 if (!SWIG_IsOK(res1
)) {
40094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40096 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40098 if (!SWIG_IsOK(ecode2
)) {
40099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40101 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40104 (arg1
)->SetOrigin(arg2
);
40105 wxPyEndAllowThreads(__tstate
);
40106 if (PyErr_Occurred()) SWIG_fail
;
40108 resultobj
= SWIG_Py_Void();
40115 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40118 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40119 return SWIG_Py_Void();
40122 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40123 return SWIG_Python_InitShadowInstance(args
);
40126 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40127 PyObject
*resultobj
= 0;
40128 wxWindow
*arg1
= (wxWindow
*) NULL
;
40129 bool arg2
= (bool) true ;
40130 wxContextHelp
*result
= 0 ;
40135 PyObject
* obj0
= 0 ;
40136 PyObject
* obj1
= 0 ;
40137 char * kwnames
[] = {
40138 (char *) "window",(char *) "doNow", NULL
40141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40144 if (!SWIG_IsOK(res1
)) {
40145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40151 if (!SWIG_IsOK(ecode2
)) {
40152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40154 arg2
= static_cast< bool >(val2
);
40157 if (!wxPyCheckForApp()) SWIG_fail
;
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40170 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40171 PyObject
*resultobj
= 0;
40172 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40175 PyObject
*swig_obj
[1] ;
40177 if (!args
) SWIG_fail
;
40178 swig_obj
[0] = args
;
40179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40180 if (!SWIG_IsOK(res1
)) {
40181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40183 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40188 wxPyEndAllowThreads(__tstate
);
40189 if (PyErr_Occurred()) SWIG_fail
;
40191 resultobj
= SWIG_Py_Void();
40198 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40199 PyObject
*resultobj
= 0;
40200 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40201 wxWindow
*arg2
= (wxWindow
*) NULL
;
40207 PyObject
* obj0
= 0 ;
40208 PyObject
* obj1
= 0 ;
40209 char * kwnames
[] = {
40210 (char *) "self",(char *) "window", NULL
40213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40215 if (!SWIG_IsOK(res1
)) {
40216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40218 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40221 if (!SWIG_IsOK(res2
)) {
40222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40228 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40229 wxPyEndAllowThreads(__tstate
);
40230 if (PyErr_Occurred()) SWIG_fail
;
40233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40241 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40242 PyObject
*resultobj
= 0;
40243 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40247 PyObject
*swig_obj
[1] ;
40249 if (!args
) SWIG_fail
;
40250 swig_obj
[0] = args
;
40251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40252 if (!SWIG_IsOK(res1
)) {
40253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40255 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40258 result
= (bool)(arg1
)->EndContextHelp();
40259 wxPyEndAllowThreads(__tstate
);
40260 if (PyErr_Occurred()) SWIG_fail
;
40263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40271 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40274 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40275 return SWIG_Py_Void();
40278 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40279 return SWIG_Python_InitShadowInstance(args
);
40282 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40283 PyObject
*resultobj
= 0;
40284 wxWindow
*arg1
= (wxWindow
*) 0 ;
40285 int arg2
= (int) wxID_CONTEXT_HELP
;
40286 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40287 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40288 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40289 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40290 long arg5
= (long) wxBU_AUTODRAW
;
40291 wxContextHelpButton
*result
= 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 PyObject
* obj2
= 0 ;
40303 PyObject
* obj3
= 0 ;
40304 PyObject
* obj4
= 0 ;
40305 char * kwnames
[] = {
40306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40311 if (!SWIG_IsOK(res1
)) {
40312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40317 if (!SWIG_IsOK(ecode2
)) {
40318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40320 arg2
= static_cast< int >(val2
);
40325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40335 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40336 if (!SWIG_IsOK(ecode5
)) {
40337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40339 arg5
= static_cast< long >(val5
);
40342 if (!wxPyCheckForApp()) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40345 wxPyEndAllowThreads(__tstate
);
40346 if (PyErr_Occurred()) SWIG_fail
;
40348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40355 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40358 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40359 return SWIG_Py_Void();
40362 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40363 return SWIG_Python_InitShadowInstance(args
);
40366 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40367 PyObject
*resultobj
= 0;
40368 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40371 PyObject
*swig_obj
[1] ;
40373 if (!args
) SWIG_fail
;
40374 swig_obj
[0] = args
;
40375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40376 if (!SWIG_IsOK(res1
)) {
40377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40379 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40384 wxPyEndAllowThreads(__tstate
);
40385 if (PyErr_Occurred()) SWIG_fail
;
40387 resultobj
= SWIG_Py_Void();
40394 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40395 PyObject
*resultobj
= 0;
40396 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40397 wxHelpProvider
*result
= 0 ;
40399 PyObject
* obj0
= 0 ;
40400 char * kwnames
[] = {
40401 (char *) "helpProvider", NULL
40404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40405 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40406 if (!SWIG_IsOK(res1
)) {
40407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40422 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40423 PyObject
*resultobj
= 0;
40424 wxHelpProvider
*result
= 0 ;
40426 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40429 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40440 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
= 0;
40442 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40443 wxWindow
*arg2
= (wxWindow
*) 0 ;
40449 PyObject
* obj0
= 0 ;
40450 PyObject
* obj1
= 0 ;
40451 char * kwnames
[] = {
40452 (char *) "self",(char *) "window", NULL
40455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40457 if (!SWIG_IsOK(res1
)) {
40458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40460 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40462 if (!SWIG_IsOK(res2
)) {
40463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40465 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40468 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40469 wxPyEndAllowThreads(__tstate
);
40470 if (PyErr_Occurred()) SWIG_fail
;
40474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40485 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
= 0;
40487 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40488 wxWindow
*arg2
= (wxWindow
*) 0 ;
40494 PyObject
* obj0
= 0 ;
40495 PyObject
* obj1
= 0 ;
40496 char * kwnames
[] = {
40497 (char *) "self",(char *) "window", NULL
40500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40502 if (!SWIG_IsOK(res1
)) {
40503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40505 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40507 if (!SWIG_IsOK(res2
)) {
40508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40513 result
= (bool)(arg1
)->ShowHelp(arg2
);
40514 wxPyEndAllowThreads(__tstate
);
40515 if (PyErr_Occurred()) SWIG_fail
;
40518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40526 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40527 PyObject
*resultobj
= 0;
40528 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40529 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40530 wxPoint
*arg3
= 0 ;
40531 wxHelpEvent::Origin arg4
;
40540 PyObject
* obj0
= 0 ;
40541 PyObject
* obj1
= 0 ;
40542 PyObject
* obj2
= 0 ;
40543 PyObject
* obj3
= 0 ;
40544 char * kwnames
[] = {
40545 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40550 if (!SWIG_IsOK(res1
)) {
40551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40553 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40555 if (!SWIG_IsOK(res2
)) {
40556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40558 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40561 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40564 if (!SWIG_IsOK(ecode4
)) {
40565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40567 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40570 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40571 wxPyEndAllowThreads(__tstate
);
40572 if (PyErr_Occurred()) SWIG_fail
;
40575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40583 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40584 PyObject
*resultobj
= 0;
40585 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40586 wxWindow
*arg2
= (wxWindow
*) 0 ;
40587 wxString
*arg3
= 0 ;
40592 bool temp3
= false ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 PyObject
* obj2
= 0 ;
40596 char * kwnames
[] = {
40597 (char *) "self",(char *) "window",(char *) "text", NULL
40600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40602 if (!SWIG_IsOK(res1
)) {
40603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40605 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40607 if (!SWIG_IsOK(res2
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40612 arg3
= wxString_in_helper(obj2
);
40613 if (arg3
== NULL
) SWIG_fail
;
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= SWIG_Py_Void();
40637 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40638 PyObject
*resultobj
= 0;
40639 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40641 wxString
*arg3
= 0 ;
40646 bool temp3
= false ;
40647 PyObject
* obj0
= 0 ;
40648 PyObject
* obj1
= 0 ;
40649 PyObject
* obj2
= 0 ;
40650 char * kwnames
[] = {
40651 (char *) "self",(char *) "id",(char *) "text", NULL
40654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40656 if (!SWIG_IsOK(res1
)) {
40657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40659 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40661 if (!SWIG_IsOK(ecode2
)) {
40662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40664 arg2
= static_cast< int >(val2
);
40666 arg3
= wxString_in_helper(obj2
);
40667 if (arg3
== NULL
) SWIG_fail
;
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40673 wxPyEndAllowThreads(__tstate
);
40674 if (PyErr_Occurred()) SWIG_fail
;
40676 resultobj
= SWIG_Py_Void();
40691 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40692 PyObject
*resultobj
= 0;
40693 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40694 wxWindow
*arg2
= (wxWindow
*) 0 ;
40699 PyObject
* obj0
= 0 ;
40700 PyObject
* obj1
= 0 ;
40701 char * kwnames
[] = {
40702 (char *) "self",(char *) "window", NULL
40705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40707 if (!SWIG_IsOK(res1
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40710 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40712 if (!SWIG_IsOK(res2
)) {
40713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40718 (arg1
)->RemoveHelp(arg2
);
40719 wxPyEndAllowThreads(__tstate
);
40720 if (PyErr_Occurred()) SWIG_fail
;
40722 resultobj
= SWIG_Py_Void();
40729 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40730 PyObject
*resultobj
= 0;
40731 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40734 PyObject
*swig_obj
[1] ;
40736 if (!args
) SWIG_fail
;
40737 swig_obj
[0] = args
;
40738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40739 if (!SWIG_IsOK(res1
)) {
40740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40742 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 wxHelpProvider_Destroy(arg1
);
40746 wxPyEndAllowThreads(__tstate
);
40747 if (PyErr_Occurred()) SWIG_fail
;
40749 resultobj
= SWIG_Py_Void();
40756 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40759 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40760 return SWIG_Py_Void();
40763 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40764 PyObject
*resultobj
= 0;
40765 wxSimpleHelpProvider
*result
= 0 ;
40767 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40770 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40771 wxPyEndAllowThreads(__tstate
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40781 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40784 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40785 return SWIG_Py_Void();
40788 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40789 return SWIG_Python_InitShadowInstance(args
);
40792 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40793 PyObject
*resultobj
= 0;
40794 wxBitmap
*arg1
= 0 ;
40795 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40796 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40797 wxGenericDragImage
*result
= 0 ;
40802 PyObject
* obj0
= 0 ;
40803 PyObject
* obj1
= 0 ;
40804 char * kwnames
[] = {
40805 (char *) "image",(char *) "cursor", NULL
40808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40809 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40810 if (!SWIG_IsOK(res1
)) {
40811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40816 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40819 if (!SWIG_IsOK(res2
)) {
40820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40825 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40828 if (!wxPyCheckForApp()) SWIG_fail
;
40829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40830 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40831 wxPyEndAllowThreads(__tstate
);
40832 if (PyErr_Occurred()) SWIG_fail
;
40834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40841 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40842 PyObject
*resultobj
= 0;
40844 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40845 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40846 wxGenericDragImage
*result
= 0 ;
40851 PyObject
* obj0
= 0 ;
40852 PyObject
* obj1
= 0 ;
40853 char * kwnames
[] = {
40854 (char *) "image",(char *) "cursor", NULL
40857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40858 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40859 if (!SWIG_IsOK(res1
)) {
40860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40865 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40868 if (!SWIG_IsOK(res2
)) {
40869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40874 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40877 if (!wxPyCheckForApp()) SWIG_fail
;
40878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40879 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40880 wxPyEndAllowThreads(__tstate
);
40881 if (PyErr_Occurred()) SWIG_fail
;
40883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40890 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40891 PyObject
*resultobj
= 0;
40892 wxString
*arg1
= 0 ;
40893 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40894 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40895 wxGenericDragImage
*result
= 0 ;
40896 bool temp1
= false ;
40899 PyObject
* obj0
= 0 ;
40900 PyObject
* obj1
= 0 ;
40901 char * kwnames
[] = {
40902 (char *) "str",(char *) "cursor", NULL
40905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40907 arg1
= wxString_in_helper(obj0
);
40908 if (arg1
== NULL
) SWIG_fail
;
40912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40913 if (!SWIG_IsOK(res2
)) {
40914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40919 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40922 if (!wxPyCheckForApp()) SWIG_fail
;
40923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40924 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40925 wxPyEndAllowThreads(__tstate
);
40926 if (PyErr_Occurred()) SWIG_fail
;
40928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40943 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40944 PyObject
*resultobj
= 0;
40945 wxPyTreeCtrl
*arg1
= 0 ;
40946 wxTreeItemId
*arg2
= 0 ;
40947 wxGenericDragImage
*result
= 0 ;
40952 PyObject
* obj0
= 0 ;
40953 PyObject
* obj1
= 0 ;
40954 char * kwnames
[] = {
40955 (char *) "treeCtrl",(char *) "id", NULL
40958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40959 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40960 if (!SWIG_IsOK(res1
)) {
40961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40968 if (!SWIG_IsOK(res2
)) {
40969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40976 if (!wxPyCheckForApp()) SWIG_fail
;
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40979 wxPyEndAllowThreads(__tstate
);
40980 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40989 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40990 PyObject
*resultobj
= 0;
40991 wxPyListCtrl
*arg1
= 0 ;
40993 wxGenericDragImage
*result
= 0 ;
40998 PyObject
* obj0
= 0 ;
40999 PyObject
* obj1
= 0 ;
41000 char * kwnames
[] = {
41001 (char *) "listCtrl",(char *) "id", NULL
41004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41005 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41006 if (!SWIG_IsOK(res1
)) {
41007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41012 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41014 if (!SWIG_IsOK(ecode2
)) {
41015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41017 arg2
= static_cast< long >(val2
);
41019 if (!wxPyCheckForApp()) SWIG_fail
;
41020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41021 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41022 wxPyEndAllowThreads(__tstate
);
41023 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41032 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41033 PyObject
*resultobj
= 0;
41034 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41037 PyObject
*swig_obj
[1] ;
41039 if (!args
) SWIG_fail
;
41040 swig_obj
[0] = args
;
41041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41042 if (!SWIG_IsOK(res1
)) {
41043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41045 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41050 wxPyEndAllowThreads(__tstate
);
41051 if (PyErr_Occurred()) SWIG_fail
;
41053 resultobj
= SWIG_Py_Void();
41060 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41061 PyObject
*resultobj
= 0;
41062 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41063 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 char * kwnames
[] = {
41071 (char *) "self",(char *) "bitmap", NULL
41074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41076 if (!SWIG_IsOK(res1
)) {
41077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41079 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41081 if (!SWIG_IsOK(res2
)) {
41082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41084 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 (arg1
)->SetBackingBitmap(arg2
);
41088 wxPyEndAllowThreads(__tstate
);
41089 if (PyErr_Occurred()) SWIG_fail
;
41091 resultobj
= SWIG_Py_Void();
41098 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41099 PyObject
*resultobj
= 0;
41100 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41101 wxPoint
*arg2
= 0 ;
41102 wxWindow
*arg3
= (wxWindow
*) 0 ;
41103 bool arg4
= (bool) false ;
41104 wxRect
*arg5
= (wxRect
*) NULL
;
41115 PyObject
* obj0
= 0 ;
41116 PyObject
* obj1
= 0 ;
41117 PyObject
* obj2
= 0 ;
41118 PyObject
* obj3
= 0 ;
41119 PyObject
* obj4
= 0 ;
41120 char * kwnames
[] = {
41121 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41126 if (!SWIG_IsOK(res1
)) {
41127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41129 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41134 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41135 if (!SWIG_IsOK(res3
)) {
41136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41138 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41140 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41141 if (!SWIG_IsOK(ecode4
)) {
41142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41144 arg4
= static_cast< bool >(val4
);
41147 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41148 if (!SWIG_IsOK(res5
)) {
41149 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41151 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41155 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41156 wxPyEndAllowThreads(__tstate
);
41157 if (PyErr_Occurred()) SWIG_fail
;
41160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41168 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
= 0;
41170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41171 wxPoint
*arg2
= 0 ;
41172 wxWindow
*arg3
= (wxWindow
*) 0 ;
41173 wxWindow
*arg4
= (wxWindow
*) 0 ;
41182 PyObject
* obj0
= 0 ;
41183 PyObject
* obj1
= 0 ;
41184 PyObject
* obj2
= 0 ;
41185 PyObject
* obj3
= 0 ;
41186 char * kwnames
[] = {
41187 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41192 if (!SWIG_IsOK(res1
)) {
41193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41195 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41200 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41201 if (!SWIG_IsOK(res3
)) {
41202 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41204 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41205 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41206 if (!SWIG_IsOK(res4
)) {
41207 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41209 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41212 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41213 wxPyEndAllowThreads(__tstate
);
41214 if (PyErr_Occurred()) SWIG_fail
;
41217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41225 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41226 PyObject
*resultobj
= 0;
41227 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41231 PyObject
*swig_obj
[1] ;
41233 if (!args
) SWIG_fail
;
41234 swig_obj
[0] = args
;
41235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41236 if (!SWIG_IsOK(res1
)) {
41237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41239 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41242 result
= (bool)(arg1
)->EndDrag();
41243 wxPyEndAllowThreads(__tstate
);
41244 if (PyErr_Occurred()) SWIG_fail
;
41247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41255 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41256 PyObject
*resultobj
= 0;
41257 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41258 wxPoint
*arg2
= 0 ;
41263 PyObject
* obj0
= 0 ;
41264 PyObject
* obj1
= 0 ;
41265 char * kwnames
[] = {
41266 (char *) "self",(char *) "pt", NULL
41269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41271 if (!SWIG_IsOK(res1
)) {
41272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41274 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41277 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41281 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41282 wxPyEndAllowThreads(__tstate
);
41283 if (PyErr_Occurred()) SWIG_fail
;
41286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41294 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41295 PyObject
*resultobj
= 0;
41296 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41300 PyObject
*swig_obj
[1] ;
41302 if (!args
) SWIG_fail
;
41303 swig_obj
[0] = args
;
41304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41305 if (!SWIG_IsOK(res1
)) {
41306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41308 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41311 result
= (bool)(arg1
)->Show();
41312 wxPyEndAllowThreads(__tstate
);
41313 if (PyErr_Occurred()) SWIG_fail
;
41316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41324 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41325 PyObject
*resultobj
= 0;
41326 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41330 PyObject
*swig_obj
[1] ;
41332 if (!args
) SWIG_fail
;
41333 swig_obj
[0] = args
;
41334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41335 if (!SWIG_IsOK(res1
)) {
41336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41338 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41341 result
= (bool)(arg1
)->Hide();
41342 wxPyEndAllowThreads(__tstate
);
41343 if (PyErr_Occurred()) SWIG_fail
;
41346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41354 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41355 PyObject
*resultobj
= 0;
41356 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41357 wxPoint
*arg2
= 0 ;
41362 PyObject
* obj0
= 0 ;
41363 PyObject
* obj1
= 0 ;
41364 char * kwnames
[] = {
41365 (char *) "self",(char *) "pos", NULL
41368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41370 if (!SWIG_IsOK(res1
)) {
41371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41373 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41380 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41384 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41391 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41392 PyObject
*resultobj
= 0;
41393 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41395 wxPoint
*arg3
= 0 ;
41402 PyObject
* obj0
= 0 ;
41403 PyObject
* obj1
= 0 ;
41404 PyObject
* obj2
= 0 ;
41405 char * kwnames
[] = {
41406 (char *) "self",(char *) "dc",(char *) "pos", NULL
41409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41411 if (!SWIG_IsOK(res1
)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41414 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41416 if (!SWIG_IsOK(res2
)) {
41417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41422 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41429 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41430 wxPyEndAllowThreads(__tstate
);
41431 if (PyErr_Occurred()) SWIG_fail
;
41434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41442 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
= 0;
41444 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41446 wxMemoryDC
*arg3
= 0 ;
41458 PyObject
* obj0
= 0 ;
41459 PyObject
* obj1
= 0 ;
41460 PyObject
* obj2
= 0 ;
41461 PyObject
* obj3
= 0 ;
41462 PyObject
* obj4
= 0 ;
41463 char * kwnames
[] = {
41464 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41469 if (!SWIG_IsOK(res1
)) {
41470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41472 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41474 if (!SWIG_IsOK(res2
)) {
41475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41480 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41481 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41482 if (!SWIG_IsOK(res3
)) {
41483 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41488 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41491 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41495 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41499 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41512 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41513 PyObject
*resultobj
= 0;
41514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41515 wxPoint
*arg2
= 0 ;
41516 wxPoint
*arg3
= 0 ;
41528 PyObject
* obj0
= 0 ;
41529 PyObject
* obj1
= 0 ;
41530 PyObject
* obj2
= 0 ;
41531 PyObject
* obj3
= 0 ;
41532 PyObject
* obj4
= 0 ;
41533 char * kwnames
[] = {
41534 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41539 if (!SWIG_IsOK(res1
)) {
41540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41542 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41551 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41552 if (!SWIG_IsOK(ecode4
)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41555 arg4
= static_cast< bool >(val4
);
41556 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41557 if (!SWIG_IsOK(ecode5
)) {
41558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41560 arg5
= static_cast< bool >(val5
);
41562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41563 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41564 wxPyEndAllowThreads(__tstate
);
41565 if (PyErr_Occurred()) SWIG_fail
;
41568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41576 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41579 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41580 return SWIG_Py_Void();
41583 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41584 return SWIG_Python_InitShadowInstance(args
);
41587 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41588 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41593 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41594 PyObject
*pyobj
= 0;
41598 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41600 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41607 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41608 PyObject
*resultobj
= 0;
41609 wxWindow
*arg1
= (wxWindow
*) 0 ;
41610 int arg2
= (int) -1 ;
41611 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41612 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41617 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41618 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41619 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41620 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41622 wxDatePickerCtrl
*result
= 0 ;
41635 bool temp8
= false ;
41636 PyObject
* obj0
= 0 ;
41637 PyObject
* obj1
= 0 ;
41638 PyObject
* obj2
= 0 ;
41639 PyObject
* obj3
= 0 ;
41640 PyObject
* obj4
= 0 ;
41641 PyObject
* obj5
= 0 ;
41642 PyObject
* obj6
= 0 ;
41643 PyObject
* obj7
= 0 ;
41644 char * kwnames
[] = {
41645 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41650 if (!SWIG_IsOK(res1
)) {
41651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41656 if (!SWIG_IsOK(ecode2
)) {
41657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41659 arg2
= static_cast< int >(val2
);
41662 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41663 if (!SWIG_IsOK(res3
)) {
41664 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41669 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41684 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41685 if (!SWIG_IsOK(ecode6
)) {
41686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41688 arg6
= static_cast< long >(val6
);
41691 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41692 if (!SWIG_IsOK(res7
)) {
41693 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41698 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41702 arg8
= wxString_in_helper(obj7
);
41703 if (arg8
== NULL
) SWIG_fail
;
41708 if (!wxPyCheckForApp()) SWIG_fail
;
41709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41710 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41711 wxPyEndAllowThreads(__tstate
);
41712 if (PyErr_Occurred()) SWIG_fail
;
41714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41729 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41730 PyObject
*resultobj
= 0;
41731 wxDatePickerCtrl
*result
= 0 ;
41733 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41735 if (!wxPyCheckForApp()) SWIG_fail
;
41736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41737 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41738 wxPyEndAllowThreads(__tstate
);
41739 if (PyErr_Occurred()) SWIG_fail
;
41741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41748 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41749 PyObject
*resultobj
= 0;
41750 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41751 wxWindow
*arg2
= (wxWindow
*) 0 ;
41752 int arg3
= (int) -1 ;
41753 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41754 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41759 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41760 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41761 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41762 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41763 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41779 bool temp9
= false ;
41780 PyObject
* obj0
= 0 ;
41781 PyObject
* obj1
= 0 ;
41782 PyObject
* obj2
= 0 ;
41783 PyObject
* obj3
= 0 ;
41784 PyObject
* obj4
= 0 ;
41785 PyObject
* obj5
= 0 ;
41786 PyObject
* obj6
= 0 ;
41787 PyObject
* obj7
= 0 ;
41788 PyObject
* obj8
= 0 ;
41789 char * kwnames
[] = {
41790 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41795 if (!SWIG_IsOK(res1
)) {
41796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41798 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41800 if (!SWIG_IsOK(res2
)) {
41801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41803 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41806 if (!SWIG_IsOK(ecode3
)) {
41807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41809 arg3
= static_cast< int >(val3
);
41812 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41813 if (!SWIG_IsOK(res4
)) {
41814 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41819 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41824 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41830 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41834 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41835 if (!SWIG_IsOK(ecode7
)) {
41836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41838 arg7
= static_cast< long >(val7
);
41841 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41842 if (!SWIG_IsOK(res8
)) {
41843 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41848 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41852 arg9
= wxString_in_helper(obj8
);
41853 if (arg9
== NULL
) SWIG_fail
;
41858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41860 wxPyEndAllowThreads(__tstate
);
41861 if (PyErr_Occurred()) SWIG_fail
;
41864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41880 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41881 PyObject
*resultobj
= 0;
41882 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41883 wxDateTime
*arg2
= 0 ;
41888 PyObject
* obj0
= 0 ;
41889 PyObject
* obj1
= 0 ;
41890 char * kwnames
[] = {
41891 (char *) "self",(char *) "dt", NULL
41894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41896 if (!SWIG_IsOK(res1
)) {
41897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41899 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41901 if (!SWIG_IsOK(res2
)) {
41902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41907 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41910 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41911 wxPyEndAllowThreads(__tstate
);
41912 if (PyErr_Occurred()) SWIG_fail
;
41914 resultobj
= SWIG_Py_Void();
41921 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41922 PyObject
*resultobj
= 0;
41923 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41927 PyObject
*swig_obj
[1] ;
41929 if (!args
) SWIG_fail
;
41930 swig_obj
[0] = args
;
41931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41932 if (!SWIG_IsOK(res1
)) {
41933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41935 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41938 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41939 wxPyEndAllowThreads(__tstate
);
41940 if (PyErr_Occurred()) SWIG_fail
;
41942 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41949 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41950 PyObject
*resultobj
= 0;
41951 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41952 wxDateTime
*arg2
= 0 ;
41953 wxDateTime
*arg3
= 0 ;
41960 PyObject
* obj0
= 0 ;
41961 PyObject
* obj1
= 0 ;
41962 PyObject
* obj2
= 0 ;
41963 char * kwnames
[] = {
41964 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41969 if (!SWIG_IsOK(res1
)) {
41970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41972 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41974 if (!SWIG_IsOK(res2
)) {
41975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41980 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41981 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41982 if (!SWIG_IsOK(res3
)) {
41983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41988 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41995 resultobj
= SWIG_Py_Void();
42002 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42003 PyObject
*resultobj
= 0;
42004 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42008 PyObject
*swig_obj
[1] ;
42010 if (!args
) SWIG_fail
;
42011 swig_obj
[0] = args
;
42012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42013 if (!SWIG_IsOK(res1
)) {
42014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42016 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42019 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42023 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42030 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42031 PyObject
*resultobj
= 0;
42032 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42036 PyObject
*swig_obj
[1] ;
42038 if (!args
) SWIG_fail
;
42039 swig_obj
[0] = args
;
42040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42041 if (!SWIG_IsOK(res1
)) {
42042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42044 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42047 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42048 wxPyEndAllowThreads(__tstate
);
42049 if (PyErr_Occurred()) SWIG_fail
;
42051 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42058 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42061 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42062 return SWIG_Py_Void();
42065 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42066 return SWIG_Python_InitShadowInstance(args
);
42069 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42070 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42075 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42076 PyObject
*pyobj
= 0;
42080 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42082 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42089 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42090 PyObject
*resultobj
= 0;
42091 wxWindow
*arg1
= (wxWindow
*) 0 ;
42093 wxString
*arg3
= 0 ;
42094 wxString
*arg4
= 0 ;
42095 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42096 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42097 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42098 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42099 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42100 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42101 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42102 wxHyperlinkCtrl
*result
= 0 ;
42107 bool temp3
= false ;
42108 bool temp4
= false ;
42113 bool temp8
= false ;
42114 PyObject
* obj0
= 0 ;
42115 PyObject
* obj1
= 0 ;
42116 PyObject
* obj2
= 0 ;
42117 PyObject
* obj3
= 0 ;
42118 PyObject
* obj4
= 0 ;
42119 PyObject
* obj5
= 0 ;
42120 PyObject
* obj6
= 0 ;
42121 PyObject
* obj7
= 0 ;
42122 char * kwnames
[] = {
42123 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42128 if (!SWIG_IsOK(res1
)) {
42129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42133 if (!SWIG_IsOK(ecode2
)) {
42134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42136 arg2
= static_cast< int >(val2
);
42138 arg3
= wxString_in_helper(obj2
);
42139 if (arg3
== NULL
) SWIG_fail
;
42143 arg4
= wxString_in_helper(obj3
);
42144 if (arg4
== NULL
) SWIG_fail
;
42150 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42156 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42160 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42161 if (!SWIG_IsOK(ecode7
)) {
42162 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42164 arg7
= static_cast< long >(val7
);
42168 arg8
= wxString_in_helper(obj7
);
42169 if (arg8
== NULL
) SWIG_fail
;
42174 if (!wxPyCheckForApp()) SWIG_fail
;
42175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42176 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42177 wxPyEndAllowThreads(__tstate
);
42178 if (PyErr_Occurred()) SWIG_fail
;
42180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42211 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42212 PyObject
*resultobj
= 0;
42213 wxHyperlinkCtrl
*result
= 0 ;
42215 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42217 if (!wxPyCheckForApp()) SWIG_fail
;
42218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42219 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42220 wxPyEndAllowThreads(__tstate
);
42221 if (PyErr_Occurred()) SWIG_fail
;
42223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42230 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42231 PyObject
*resultobj
= 0;
42232 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42233 wxWindow
*arg2
= (wxWindow
*) 0 ;
42235 wxString
*arg4
= 0 ;
42236 wxString
*arg5
= 0 ;
42237 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42238 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42239 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42240 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42241 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42242 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42243 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42251 bool temp4
= false ;
42252 bool temp5
= false ;
42257 bool temp9
= false ;
42258 PyObject
* obj0
= 0 ;
42259 PyObject
* obj1
= 0 ;
42260 PyObject
* obj2
= 0 ;
42261 PyObject
* obj3
= 0 ;
42262 PyObject
* obj4
= 0 ;
42263 PyObject
* obj5
= 0 ;
42264 PyObject
* obj6
= 0 ;
42265 PyObject
* obj7
= 0 ;
42266 PyObject
* obj8
= 0 ;
42267 char * kwnames
[] = {
42268 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42273 if (!SWIG_IsOK(res1
)) {
42274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42276 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42278 if (!SWIG_IsOK(res2
)) {
42279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42283 if (!SWIG_IsOK(ecode3
)) {
42284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42286 arg3
= static_cast< int >(val3
);
42288 arg4
= wxString_in_helper(obj3
);
42289 if (arg4
== NULL
) SWIG_fail
;
42293 arg5
= wxString_in_helper(obj4
);
42294 if (arg5
== NULL
) SWIG_fail
;
42300 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42306 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42310 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42311 if (!SWIG_IsOK(ecode8
)) {
42312 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42314 arg8
= static_cast< long >(val8
);
42318 arg9
= wxString_in_helper(obj8
);
42319 if (arg9
== NULL
) SWIG_fail
;
42324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42326 wxPyEndAllowThreads(__tstate
);
42327 if (PyErr_Occurred()) SWIG_fail
;
42330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42362 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42363 PyObject
*resultobj
= 0;
42364 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42368 PyObject
*swig_obj
[1] ;
42370 if (!args
) SWIG_fail
;
42371 swig_obj
[0] = args
;
42372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42373 if (!SWIG_IsOK(res1
)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42376 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42379 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42380 wxPyEndAllowThreads(__tstate
);
42381 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42390 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42391 PyObject
*resultobj
= 0;
42392 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42393 wxColour
*arg2
= 0 ;
42397 PyObject
* obj0
= 0 ;
42398 PyObject
* obj1
= 0 ;
42399 char * kwnames
[] = {
42400 (char *) "self",(char *) "colour", NULL
42403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42405 if (!SWIG_IsOK(res1
)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42408 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42415 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42416 wxPyEndAllowThreads(__tstate
);
42417 if (PyErr_Occurred()) SWIG_fail
;
42419 resultobj
= SWIG_Py_Void();
42426 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42427 PyObject
*resultobj
= 0;
42428 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42432 PyObject
*swig_obj
[1] ;
42434 if (!args
) SWIG_fail
;
42435 swig_obj
[0] = args
;
42436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42437 if (!SWIG_IsOK(res1
)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42440 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42443 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42444 wxPyEndAllowThreads(__tstate
);
42445 if (PyErr_Occurred()) SWIG_fail
;
42447 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42454 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42455 PyObject
*resultobj
= 0;
42456 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42457 wxColour
*arg2
= 0 ;
42461 PyObject
* obj0
= 0 ;
42462 PyObject
* obj1
= 0 ;
42463 char * kwnames
[] = {
42464 (char *) "self",(char *) "colour", NULL
42467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42469 if (!SWIG_IsOK(res1
)) {
42470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42472 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42479 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42480 wxPyEndAllowThreads(__tstate
);
42481 if (PyErr_Occurred()) SWIG_fail
;
42483 resultobj
= SWIG_Py_Void();
42490 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42491 PyObject
*resultobj
= 0;
42492 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42496 PyObject
*swig_obj
[1] ;
42498 if (!args
) SWIG_fail
;
42499 swig_obj
[0] = args
;
42500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42501 if (!SWIG_IsOK(res1
)) {
42502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42504 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42507 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42508 wxPyEndAllowThreads(__tstate
);
42509 if (PyErr_Occurred()) SWIG_fail
;
42511 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42518 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42519 PyObject
*resultobj
= 0;
42520 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42521 wxColour
*arg2
= 0 ;
42525 PyObject
* obj0
= 0 ;
42526 PyObject
* obj1
= 0 ;
42527 char * kwnames
[] = {
42528 (char *) "self",(char *) "colour", NULL
42531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42533 if (!SWIG_IsOK(res1
)) {
42534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42536 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42543 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42544 wxPyEndAllowThreads(__tstate
);
42545 if (PyErr_Occurred()) SWIG_fail
;
42547 resultobj
= SWIG_Py_Void();
42554 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42555 PyObject
*resultobj
= 0;
42556 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42560 PyObject
*swig_obj
[1] ;
42562 if (!args
) SWIG_fail
;
42563 swig_obj
[0] = args
;
42564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42565 if (!SWIG_IsOK(res1
)) {
42566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42568 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42571 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42572 wxPyEndAllowThreads(__tstate
);
42573 if (PyErr_Occurred()) SWIG_fail
;
42577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42588 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42589 PyObject
*resultobj
= 0;
42590 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42591 wxString
*arg2
= 0 ;
42594 bool temp2
= false ;
42595 PyObject
* obj0
= 0 ;
42596 PyObject
* obj1
= 0 ;
42597 char * kwnames
[] = {
42598 (char *) "self",(char *) "url", NULL
42601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42603 if (!SWIG_IsOK(res1
)) {
42604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42606 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42608 arg2
= wxString_in_helper(obj1
);
42609 if (arg2
== NULL
) SWIG_fail
;
42613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42614 (arg1
)->SetURL((wxString
const &)*arg2
);
42615 wxPyEndAllowThreads(__tstate
);
42616 if (PyErr_Occurred()) SWIG_fail
;
42618 resultobj
= SWIG_Py_Void();
42633 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42634 PyObject
*resultobj
= 0;
42635 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42636 bool arg2
= (bool) true ;
42641 PyObject
* obj0
= 0 ;
42642 PyObject
* obj1
= 0 ;
42643 char * kwnames
[] = {
42644 (char *) "self",(char *) "visited", NULL
42647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42649 if (!SWIG_IsOK(res1
)) {
42650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42652 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42655 if (!SWIG_IsOK(ecode2
)) {
42656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42658 arg2
= static_cast< bool >(val2
);
42661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42662 (arg1
)->SetVisited(arg2
);
42663 wxPyEndAllowThreads(__tstate
);
42664 if (PyErr_Occurred()) SWIG_fail
;
42666 resultobj
= SWIG_Py_Void();
42673 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42674 PyObject
*resultobj
= 0;
42675 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42679 PyObject
*swig_obj
[1] ;
42681 if (!args
) SWIG_fail
;
42682 swig_obj
[0] = args
;
42683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42684 if (!SWIG_IsOK(res1
)) {
42685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42687 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42690 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42691 wxPyEndAllowThreads(__tstate
);
42692 if (PyErr_Occurred()) SWIG_fail
;
42695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42703 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42706 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42707 return SWIG_Py_Void();
42710 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42711 return SWIG_Python_InitShadowInstance(args
);
42714 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42715 PyObject
*resultobj
= 0;
42716 wxObject
*arg1
= (wxObject
*) 0 ;
42718 wxString
*arg3
= 0 ;
42719 wxHyperlinkEvent
*result
= 0 ;
42724 bool temp3
= false ;
42725 PyObject
* obj0
= 0 ;
42726 PyObject
* obj1
= 0 ;
42727 PyObject
* obj2
= 0 ;
42728 char * kwnames
[] = {
42729 (char *) "generator",(char *) "id",(char *) "url", NULL
42732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42734 if (!SWIG_IsOK(res1
)) {
42735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42737 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42739 if (!SWIG_IsOK(ecode2
)) {
42740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42742 arg2
= static_cast< int >(val2
);
42744 arg3
= wxString_in_helper(obj2
);
42745 if (arg3
== NULL
) SWIG_fail
;
42749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42750 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42751 wxPyEndAllowThreads(__tstate
);
42752 if (PyErr_Occurred()) SWIG_fail
;
42754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42769 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42770 PyObject
*resultobj
= 0;
42771 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42775 PyObject
*swig_obj
[1] ;
42777 if (!args
) SWIG_fail
;
42778 swig_obj
[0] = args
;
42779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42780 if (!SWIG_IsOK(res1
)) {
42781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42783 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42786 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42787 wxPyEndAllowThreads(__tstate
);
42788 if (PyErr_Occurred()) SWIG_fail
;
42792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42803 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42804 PyObject
*resultobj
= 0;
42805 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42806 wxString
*arg2
= 0 ;
42809 bool temp2
= false ;
42810 PyObject
* obj0
= 0 ;
42811 PyObject
* obj1
= 0 ;
42812 char * kwnames
[] = {
42813 (char *) "self",(char *) "url", NULL
42816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42818 if (!SWIG_IsOK(res1
)) {
42819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42821 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42823 arg2
= wxString_in_helper(obj1
);
42824 if (arg2
== NULL
) SWIG_fail
;
42828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42829 (arg1
)->SetURL((wxString
const &)*arg2
);
42830 wxPyEndAllowThreads(__tstate
);
42831 if (PyErr_Occurred()) SWIG_fail
;
42833 resultobj
= SWIG_Py_Void();
42848 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42851 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42852 return SWIG_Py_Void();
42855 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42856 return SWIG_Python_InitShadowInstance(args
);
42859 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42860 PyObject
*resultobj
= 0;
42861 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42862 wxWindow
*arg2
= (wxWindow
*) 0 ;
42864 wxString
const &arg4_defvalue
= wxEmptyString
;
42865 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42866 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42867 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42868 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42869 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42870 long arg7
= (long) 0 ;
42871 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42872 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42873 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42874 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42882 bool temp4
= false ;
42889 bool temp9
= false ;
42890 PyObject
* obj0
= 0 ;
42891 PyObject
* obj1
= 0 ;
42892 PyObject
* obj2
= 0 ;
42893 PyObject
* obj3
= 0 ;
42894 PyObject
* obj4
= 0 ;
42895 PyObject
* obj5
= 0 ;
42896 PyObject
* obj6
= 0 ;
42897 PyObject
* obj7
= 0 ;
42898 PyObject
* obj8
= 0 ;
42899 char * kwnames
[] = {
42900 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42905 if (!SWIG_IsOK(res1
)) {
42906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42908 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42910 if (!SWIG_IsOK(res2
)) {
42911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42915 if (!SWIG_IsOK(ecode3
)) {
42916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42918 arg3
= static_cast< int >(val3
);
42921 arg4
= wxString_in_helper(obj3
);
42922 if (arg4
== NULL
) SWIG_fail
;
42929 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42935 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42939 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42940 if (!SWIG_IsOK(ecode7
)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42943 arg7
= static_cast< long >(val7
);
42946 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42947 if (!SWIG_IsOK(res8
)) {
42948 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42953 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42957 arg9
= wxString_in_helper(obj8
);
42958 if (arg9
== NULL
) SWIG_fail
;
42963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42964 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42965 wxPyEndAllowThreads(__tstate
);
42966 if (PyErr_Occurred()) SWIG_fail
;
42969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42993 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42994 PyObject
*resultobj
= 0;
42995 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43001 PyObject
* obj0
= 0 ;
43002 PyObject
* obj1
= 0 ;
43003 char * kwnames
[] = {
43004 (char *) "self",(char *) "newmargin", NULL
43007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43009 if (!SWIG_IsOK(res1
)) {
43010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43012 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43014 if (!SWIG_IsOK(ecode2
)) {
43015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43017 arg2
= static_cast< int >(val2
);
43019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43020 (arg1
)->SetInternalMargin(arg2
);
43021 wxPyEndAllowThreads(__tstate
);
43022 if (PyErr_Occurred()) SWIG_fail
;
43024 resultobj
= SWIG_Py_Void();
43031 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43032 PyObject
*resultobj
= 0;
43033 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43037 PyObject
*swig_obj
[1] ;
43039 if (!args
) SWIG_fail
;
43040 swig_obj
[0] = args
;
43041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43042 if (!SWIG_IsOK(res1
)) {
43043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43045 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43048 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43049 wxPyEndAllowThreads(__tstate
);
43050 if (PyErr_Occurred()) SWIG_fail
;
43052 resultobj
= SWIG_From_int(static_cast< int >(result
));
43059 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43060 PyObject
*resultobj
= 0;
43061 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43067 PyObject
* obj0
= 0 ;
43068 PyObject
* obj1
= 0 ;
43069 char * kwnames
[] = {
43070 (char *) "self",(char *) "prop", NULL
43073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43075 if (!SWIG_IsOK(res1
)) {
43076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43078 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43080 if (!SWIG_IsOK(ecode2
)) {
43081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43083 arg2
= static_cast< int >(val2
);
43085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43086 (arg1
)->SetTextCtrlProportion(arg2
);
43087 wxPyEndAllowThreads(__tstate
);
43088 if (PyErr_Occurred()) SWIG_fail
;
43090 resultobj
= SWIG_Py_Void();
43097 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43098 PyObject
*resultobj
= 0;
43099 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43103 PyObject
*swig_obj
[1] ;
43105 if (!args
) SWIG_fail
;
43106 swig_obj
[0] = args
;
43107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43108 if (!SWIG_IsOK(res1
)) {
43109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43111 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43114 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43115 wxPyEndAllowThreads(__tstate
);
43116 if (PyErr_Occurred()) SWIG_fail
;
43118 resultobj
= SWIG_From_int(static_cast< int >(result
));
43125 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43126 PyObject
*resultobj
= 0;
43127 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43133 PyObject
* obj0
= 0 ;
43134 PyObject
* obj1
= 0 ;
43135 char * kwnames
[] = {
43136 (char *) "self",(char *) "prop", NULL
43139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43141 if (!SWIG_IsOK(res1
)) {
43142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43144 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43146 if (!SWIG_IsOK(ecode2
)) {
43147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43149 arg2
= static_cast< int >(val2
);
43151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43152 (arg1
)->SetPickerCtrlProportion(arg2
);
43153 wxPyEndAllowThreads(__tstate
);
43154 if (PyErr_Occurred()) SWIG_fail
;
43156 resultobj
= SWIG_Py_Void();
43163 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43164 PyObject
*resultobj
= 0;
43165 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43169 PyObject
*swig_obj
[1] ;
43171 if (!args
) SWIG_fail
;
43172 swig_obj
[0] = args
;
43173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43174 if (!SWIG_IsOK(res1
)) {
43175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43177 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43180 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43181 wxPyEndAllowThreads(__tstate
);
43182 if (PyErr_Occurred()) SWIG_fail
;
43184 resultobj
= SWIG_From_int(static_cast< int >(result
));
43191 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43192 PyObject
*resultobj
= 0;
43193 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43197 PyObject
*swig_obj
[1] ;
43199 if (!args
) SWIG_fail
;
43200 swig_obj
[0] = args
;
43201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43202 if (!SWIG_IsOK(res1
)) {
43203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43205 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43208 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43209 wxPyEndAllowThreads(__tstate
);
43210 if (PyErr_Occurred()) SWIG_fail
;
43213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43221 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43222 PyObject
*resultobj
= 0;
43223 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43224 bool arg2
= (bool) true ;
43229 PyObject
* obj0
= 0 ;
43230 PyObject
* obj1
= 0 ;
43231 char * kwnames
[] = {
43232 (char *) "self",(char *) "grow", NULL
43235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43237 if (!SWIG_IsOK(res1
)) {
43238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43240 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43243 if (!SWIG_IsOK(ecode2
)) {
43244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43246 arg2
= static_cast< bool >(val2
);
43249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43250 (arg1
)->SetTextCtrlGrowable(arg2
);
43251 wxPyEndAllowThreads(__tstate
);
43252 if (PyErr_Occurred()) SWIG_fail
;
43254 resultobj
= SWIG_Py_Void();
43261 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43262 PyObject
*resultobj
= 0;
43263 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43267 PyObject
*swig_obj
[1] ;
43269 if (!args
) SWIG_fail
;
43270 swig_obj
[0] = args
;
43271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43272 if (!SWIG_IsOK(res1
)) {
43273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43275 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43278 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43279 wxPyEndAllowThreads(__tstate
);
43280 if (PyErr_Occurred()) SWIG_fail
;
43283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43291 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43292 PyObject
*resultobj
= 0;
43293 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43294 bool arg2
= (bool) true ;
43299 PyObject
* obj0
= 0 ;
43300 PyObject
* obj1
= 0 ;
43301 char * kwnames
[] = {
43302 (char *) "self",(char *) "grow", NULL
43305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43307 if (!SWIG_IsOK(res1
)) {
43308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43310 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43312 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43313 if (!SWIG_IsOK(ecode2
)) {
43314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43316 arg2
= static_cast< bool >(val2
);
43319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43320 (arg1
)->SetPickerCtrlGrowable(arg2
);
43321 wxPyEndAllowThreads(__tstate
);
43322 if (PyErr_Occurred()) SWIG_fail
;
43324 resultobj
= SWIG_Py_Void();
43331 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43332 PyObject
*resultobj
= 0;
43333 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43337 PyObject
*swig_obj
[1] ;
43339 if (!args
) SWIG_fail
;
43340 swig_obj
[0] = args
;
43341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43342 if (!SWIG_IsOK(res1
)) {
43343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43345 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43348 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43361 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43362 PyObject
*resultobj
= 0;
43363 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43364 wxTextCtrl
*result
= 0 ;
43367 PyObject
*swig_obj
[1] ;
43369 if (!args
) SWIG_fail
;
43370 swig_obj
[0] = args
;
43371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43372 if (!SWIG_IsOK(res1
)) {
43373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43375 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43378 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43379 wxPyEndAllowThreads(__tstate
);
43380 if (PyErr_Occurred()) SWIG_fail
;
43383 resultobj
= wxPyMake_wxObject(result
, 0);
43391 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43392 PyObject
*resultobj
= 0;
43393 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43394 wxControl
*result
= 0 ;
43397 PyObject
*swig_obj
[1] ;
43399 if (!args
) SWIG_fail
;
43400 swig_obj
[0] = args
;
43401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43402 if (!SWIG_IsOK(res1
)) {
43403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43405 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43408 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43409 wxPyEndAllowThreads(__tstate
);
43410 if (PyErr_Occurred()) SWIG_fail
;
43413 resultobj
= wxPyMake_wxObject(result
, 0);
43421 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43425 return SWIG_Py_Void();
43428 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43429 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43434 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43435 PyObject
*pyobj
= 0;
43439 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43441 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43448 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43449 PyObject
*resultobj
= 0;
43450 wxWindow
*arg1
= (wxWindow
*) 0 ;
43451 int arg2
= (int) -1 ;
43452 wxColour
const &arg3_defvalue
= *wxBLACK
;
43453 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43454 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43455 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43456 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43457 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43458 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43459 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43460 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43461 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43463 wxColourPickerCtrl
*result
= 0 ;
43475 bool temp8
= false ;
43476 PyObject
* obj0
= 0 ;
43477 PyObject
* obj1
= 0 ;
43478 PyObject
* obj2
= 0 ;
43479 PyObject
* obj3
= 0 ;
43480 PyObject
* obj4
= 0 ;
43481 PyObject
* obj5
= 0 ;
43482 PyObject
* obj6
= 0 ;
43483 PyObject
* obj7
= 0 ;
43484 char * kwnames
[] = {
43485 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43490 if (!SWIG_IsOK(res1
)) {
43491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43496 if (!SWIG_IsOK(ecode2
)) {
43497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43499 arg2
= static_cast< int >(val2
);
43504 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43520 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43521 if (!SWIG_IsOK(ecode6
)) {
43522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43524 arg6
= static_cast< long >(val6
);
43527 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43528 if (!SWIG_IsOK(res7
)) {
43529 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43534 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43538 arg8
= wxString_in_helper(obj7
);
43539 if (arg8
== NULL
) SWIG_fail
;
43544 if (!wxPyCheckForApp()) SWIG_fail
;
43545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43546 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43547 wxPyEndAllowThreads(__tstate
);
43548 if (PyErr_Occurred()) SWIG_fail
;
43550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43565 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43566 PyObject
*resultobj
= 0;
43567 wxColourPickerCtrl
*result
= 0 ;
43569 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43571 if (!wxPyCheckForApp()) SWIG_fail
;
43572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43573 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43574 wxPyEndAllowThreads(__tstate
);
43575 if (PyErr_Occurred()) SWIG_fail
;
43577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43584 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43585 PyObject
*resultobj
= 0;
43586 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43587 wxWindow
*arg2
= (wxWindow
*) 0 ;
43589 wxColour
const &arg4_defvalue
= *wxBLACK
;
43590 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43591 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43592 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43593 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43594 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43595 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43596 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43597 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43598 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43599 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43614 bool temp9
= false ;
43615 PyObject
* obj0
= 0 ;
43616 PyObject
* obj1
= 0 ;
43617 PyObject
* obj2
= 0 ;
43618 PyObject
* obj3
= 0 ;
43619 PyObject
* obj4
= 0 ;
43620 PyObject
* obj5
= 0 ;
43621 PyObject
* obj6
= 0 ;
43622 PyObject
* obj7
= 0 ;
43623 PyObject
* obj8
= 0 ;
43624 char * kwnames
[] = {
43625 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43630 if (!SWIG_IsOK(res1
)) {
43631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43633 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43635 if (!SWIG_IsOK(res2
)) {
43636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43640 if (!SWIG_IsOK(ecode3
)) {
43641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43643 arg3
= static_cast< int >(val3
);
43647 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43653 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43659 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43663 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43664 if (!SWIG_IsOK(ecode7
)) {
43665 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43667 arg7
= static_cast< long >(val7
);
43670 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43671 if (!SWIG_IsOK(res8
)) {
43672 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43677 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43681 arg9
= wxString_in_helper(obj8
);
43682 if (arg9
== NULL
) SWIG_fail
;
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43709 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43710 PyObject
*resultobj
= 0;
43711 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43715 PyObject
*swig_obj
[1] ;
43717 if (!args
) SWIG_fail
;
43718 swig_obj
[0] = args
;
43719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43720 if (!SWIG_IsOK(res1
)) {
43721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43723 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43726 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43727 wxPyEndAllowThreads(__tstate
);
43728 if (PyErr_Occurred()) SWIG_fail
;
43730 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43737 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43738 PyObject
*resultobj
= 0;
43739 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43740 wxColour
*arg2
= 0 ;
43744 PyObject
* obj0
= 0 ;
43745 PyObject
* obj1
= 0 ;
43746 char * kwnames
[] = {
43747 (char *) "self",(char *) "col", NULL
43750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43752 if (!SWIG_IsOK(res1
)) {
43753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43755 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43762 (arg1
)->SetColour((wxColour
const &)*arg2
);
43763 wxPyEndAllowThreads(__tstate
);
43764 if (PyErr_Occurred()) SWIG_fail
;
43766 resultobj
= SWIG_Py_Void();
43773 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43776 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43777 return SWIG_Py_Void();
43780 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43781 return SWIG_Python_InitShadowInstance(args
);
43784 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43785 PyObject
*resultobj
= 0;
43786 wxObject
*arg1
= (wxObject
*) 0 ;
43788 wxColour
*arg3
= 0 ;
43789 wxColourPickerEvent
*result
= 0 ;
43795 PyObject
* obj0
= 0 ;
43796 PyObject
* obj1
= 0 ;
43797 PyObject
* obj2
= 0 ;
43798 char * kwnames
[] = {
43799 (char *) "generator",(char *) "id",(char *) "col", NULL
43802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43804 if (!SWIG_IsOK(res1
)) {
43805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43807 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43809 if (!SWIG_IsOK(ecode2
)) {
43810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43812 arg2
= static_cast< int >(val2
);
43815 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43819 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43820 wxPyEndAllowThreads(__tstate
);
43821 if (PyErr_Occurred()) SWIG_fail
;
43823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43830 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43831 PyObject
*resultobj
= 0;
43832 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43836 PyObject
*swig_obj
[1] ;
43838 if (!args
) SWIG_fail
;
43839 swig_obj
[0] = args
;
43840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43841 if (!SWIG_IsOK(res1
)) {
43842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43844 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43847 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43848 wxPyEndAllowThreads(__tstate
);
43849 if (PyErr_Occurred()) SWIG_fail
;
43851 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43858 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43859 PyObject
*resultobj
= 0;
43860 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43861 wxColour
*arg2
= 0 ;
43865 PyObject
* obj0
= 0 ;
43866 PyObject
* obj1
= 0 ;
43867 char * kwnames
[] = {
43868 (char *) "self",(char *) "c", NULL
43871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43873 if (!SWIG_IsOK(res1
)) {
43874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43876 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43883 (arg1
)->SetColour((wxColour
const &)*arg2
);
43884 wxPyEndAllowThreads(__tstate
);
43885 if (PyErr_Occurred()) SWIG_fail
;
43887 resultobj
= SWIG_Py_Void();
43894 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43897 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43898 return SWIG_Py_Void();
43901 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43902 return SWIG_Python_InitShadowInstance(args
);
43905 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43906 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43911 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43912 PyObject
*pyobj
= 0;
43916 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43918 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43925 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43926 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43931 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43932 PyObject
*pyobj
= 0;
43936 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43938 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43945 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43946 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43951 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43952 PyObject
*pyobj
= 0;
43956 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43958 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43965 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43966 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43971 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43972 PyObject
*pyobj
= 0;
43976 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43978 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43985 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43986 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43991 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43992 PyObject
*pyobj
= 0;
43996 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43998 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44005 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44006 PyObject
*resultobj
= 0;
44007 wxWindow
*arg1
= (wxWindow
*) 0 ;
44008 int arg2
= (int) -1 ;
44009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44011 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44012 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44013 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44014 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44015 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44016 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44017 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44018 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44019 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44020 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44021 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44022 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44023 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44024 wxFilePickerCtrl
*result
= 0 ;
44029 bool temp3
= false ;
44030 bool temp4
= false ;
44031 bool temp5
= false ;
44038 bool temp10
= false ;
44039 PyObject
* obj0
= 0 ;
44040 PyObject
* obj1
= 0 ;
44041 PyObject
* obj2
= 0 ;
44042 PyObject
* obj3
= 0 ;
44043 PyObject
* obj4
= 0 ;
44044 PyObject
* obj5
= 0 ;
44045 PyObject
* obj6
= 0 ;
44046 PyObject
* obj7
= 0 ;
44047 PyObject
* obj8
= 0 ;
44048 PyObject
* obj9
= 0 ;
44049 char * kwnames
[] = {
44050 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44055 if (!SWIG_IsOK(res1
)) {
44056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44061 if (!SWIG_IsOK(ecode2
)) {
44062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44064 arg2
= static_cast< int >(val2
);
44068 arg3
= wxString_in_helper(obj2
);
44069 if (arg3
== NULL
) SWIG_fail
;
44075 arg4
= wxString_in_helper(obj3
);
44076 if (arg4
== NULL
) SWIG_fail
;
44082 arg5
= wxString_in_helper(obj4
);
44083 if (arg5
== NULL
) SWIG_fail
;
44090 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44096 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44100 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44101 if (!SWIG_IsOK(ecode8
)) {
44102 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44104 arg8
= static_cast< long >(val8
);
44107 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44108 if (!SWIG_IsOK(res9
)) {
44109 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44114 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44118 arg10
= wxString_in_helper(obj9
);
44119 if (arg10
== NULL
) SWIG_fail
;
44124 if (!wxPyCheckForApp()) SWIG_fail
;
44125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44126 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
);
44127 wxPyEndAllowThreads(__tstate
);
44128 if (PyErr_Occurred()) SWIG_fail
;
44130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44169 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44170 PyObject
*resultobj
= 0;
44171 wxFilePickerCtrl
*result
= 0 ;
44173 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44175 if (!wxPyCheckForApp()) SWIG_fail
;
44176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44177 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44178 wxPyEndAllowThreads(__tstate
);
44179 if (PyErr_Occurred()) SWIG_fail
;
44181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44188 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44189 PyObject
*resultobj
= 0;
44190 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44191 wxWindow
*arg2
= (wxWindow
*) 0 ;
44192 int arg3
= (int) -1 ;
44193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44195 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44196 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44197 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44199 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44200 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44201 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44202 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44203 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44204 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44205 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44206 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44207 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44215 bool temp4
= false ;
44216 bool temp5
= false ;
44217 bool temp6
= false ;
44224 bool temp11
= false ;
44225 PyObject
* obj0
= 0 ;
44226 PyObject
* obj1
= 0 ;
44227 PyObject
* obj2
= 0 ;
44228 PyObject
* obj3
= 0 ;
44229 PyObject
* obj4
= 0 ;
44230 PyObject
* obj5
= 0 ;
44231 PyObject
* obj6
= 0 ;
44232 PyObject
* obj7
= 0 ;
44233 PyObject
* obj8
= 0 ;
44234 PyObject
* obj9
= 0 ;
44235 PyObject
* obj10
= 0 ;
44236 char * kwnames
[] = {
44237 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44242 if (!SWIG_IsOK(res1
)) {
44243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44245 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44247 if (!SWIG_IsOK(res2
)) {
44248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44253 if (!SWIG_IsOK(ecode3
)) {
44254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44256 arg3
= static_cast< int >(val3
);
44260 arg4
= wxString_in_helper(obj3
);
44261 if (arg4
== NULL
) SWIG_fail
;
44267 arg5
= wxString_in_helper(obj4
);
44268 if (arg5
== NULL
) SWIG_fail
;
44274 arg6
= wxString_in_helper(obj5
);
44275 if (arg6
== NULL
) SWIG_fail
;
44282 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44288 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44292 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44293 if (!SWIG_IsOK(ecode9
)) {
44294 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44296 arg9
= static_cast< long >(val9
);
44299 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44300 if (!SWIG_IsOK(res10
)) {
44301 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44306 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44310 arg11
= wxString_in_helper(obj10
);
44311 if (arg11
== NULL
) SWIG_fail
;
44316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44317 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
);
44318 wxPyEndAllowThreads(__tstate
);
44319 if (PyErr_Occurred()) SWIG_fail
;
44322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44362 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44363 PyObject
*resultobj
= 0;
44364 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44368 PyObject
*swig_obj
[1] ;
44370 if (!args
) SWIG_fail
;
44371 swig_obj
[0] = args
;
44372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44373 if (!SWIG_IsOK(res1
)) {
44374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44376 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44379 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44380 wxPyEndAllowThreads(__tstate
);
44381 if (PyErr_Occurred()) SWIG_fail
;
44385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44396 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44397 PyObject
*resultobj
= 0;
44398 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44399 wxString
*arg2
= 0 ;
44402 bool temp2
= false ;
44403 PyObject
* obj0
= 0 ;
44404 PyObject
* obj1
= 0 ;
44405 char * kwnames
[] = {
44406 (char *) "self",(char *) "str", NULL
44409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44411 if (!SWIG_IsOK(res1
)) {
44412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44414 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44416 arg2
= wxString_in_helper(obj1
);
44417 if (arg2
== NULL
) SWIG_fail
;
44421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44422 (arg1
)->SetPath((wxString
const &)*arg2
);
44423 wxPyEndAllowThreads(__tstate
);
44424 if (PyErr_Occurred()) SWIG_fail
;
44426 resultobj
= SWIG_Py_Void();
44441 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44442 PyObject
*resultobj
= 0;
44443 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44444 wxString
*arg2
= 0 ;
44448 bool temp2
= false ;
44449 PyObject
* obj0
= 0 ;
44450 PyObject
* obj1
= 0 ;
44451 char * kwnames
[] = {
44452 (char *) "self",(char *) "path", NULL
44455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44457 if (!SWIG_IsOK(res1
)) {
44458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44460 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44462 arg2
= wxString_in_helper(obj1
);
44463 if (arg2
== NULL
) SWIG_fail
;
44467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44468 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44469 wxPyEndAllowThreads(__tstate
);
44470 if (PyErr_Occurred()) SWIG_fail
;
44473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44489 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44490 PyObject
*resultobj
= 0;
44491 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44495 PyObject
*swig_obj
[1] ;
44497 if (!args
) SWIG_fail
;
44498 swig_obj
[0] = args
;
44499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44500 if (!SWIG_IsOK(res1
)) {
44501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44503 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44506 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44507 wxPyEndAllowThreads(__tstate
);
44508 if (PyErr_Occurred()) SWIG_fail
;
44512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44523 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44526 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44527 return SWIG_Py_Void();
44530 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44531 return SWIG_Python_InitShadowInstance(args
);
44534 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44535 PyObject
*resultobj
= 0;
44536 wxWindow
*arg1
= (wxWindow
*) 0 ;
44537 int arg2
= (int) -1 ;
44538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44540 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44542 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44543 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44544 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44545 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44546 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44547 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44548 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44549 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44550 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44551 wxDirPickerCtrl
*result
= 0 ;
44556 bool temp3
= false ;
44557 bool temp4
= false ;
44564 bool temp9
= false ;
44565 PyObject
* obj0
= 0 ;
44566 PyObject
* obj1
= 0 ;
44567 PyObject
* obj2
= 0 ;
44568 PyObject
* obj3
= 0 ;
44569 PyObject
* obj4
= 0 ;
44570 PyObject
* obj5
= 0 ;
44571 PyObject
* obj6
= 0 ;
44572 PyObject
* obj7
= 0 ;
44573 PyObject
* obj8
= 0 ;
44574 char * kwnames
[] = {
44575 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44580 if (!SWIG_IsOK(res1
)) {
44581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44586 if (!SWIG_IsOK(ecode2
)) {
44587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44589 arg2
= static_cast< int >(val2
);
44593 arg3
= wxString_in_helper(obj2
);
44594 if (arg3
== NULL
) SWIG_fail
;
44600 arg4
= wxString_in_helper(obj3
);
44601 if (arg4
== NULL
) SWIG_fail
;
44608 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44614 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44618 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44619 if (!SWIG_IsOK(ecode7
)) {
44620 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44622 arg7
= static_cast< long >(val7
);
44625 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44626 if (!SWIG_IsOK(res8
)) {
44627 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44632 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44636 arg9
= wxString_in_helper(obj8
);
44637 if (arg9
== NULL
) SWIG_fail
;
44642 if (!wxPyCheckForApp()) SWIG_fail
;
44643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44644 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
);
44645 wxPyEndAllowThreads(__tstate
);
44646 if (PyErr_Occurred()) SWIG_fail
;
44648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44679 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44680 PyObject
*resultobj
= 0;
44681 wxDirPickerCtrl
*result
= 0 ;
44683 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44685 if (!wxPyCheckForApp()) SWIG_fail
;
44686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44687 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44688 wxPyEndAllowThreads(__tstate
);
44689 if (PyErr_Occurred()) SWIG_fail
;
44691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44698 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44699 PyObject
*resultobj
= 0;
44700 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44701 wxWindow
*arg2
= (wxWindow
*) 0 ;
44702 int arg3
= (int) -1 ;
44703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44705 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44706 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44707 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44708 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44709 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44710 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44711 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44712 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44713 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44714 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44715 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44723 bool temp4
= false ;
44724 bool temp5
= false ;
44731 bool temp10
= false ;
44732 PyObject
* obj0
= 0 ;
44733 PyObject
* obj1
= 0 ;
44734 PyObject
* obj2
= 0 ;
44735 PyObject
* obj3
= 0 ;
44736 PyObject
* obj4
= 0 ;
44737 PyObject
* obj5
= 0 ;
44738 PyObject
* obj6
= 0 ;
44739 PyObject
* obj7
= 0 ;
44740 PyObject
* obj8
= 0 ;
44741 PyObject
* obj9
= 0 ;
44742 char * kwnames
[] = {
44743 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44748 if (!SWIG_IsOK(res1
)) {
44749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44751 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44753 if (!SWIG_IsOK(res2
)) {
44754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44756 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44759 if (!SWIG_IsOK(ecode3
)) {
44760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44762 arg3
= static_cast< int >(val3
);
44766 arg4
= wxString_in_helper(obj3
);
44767 if (arg4
== NULL
) SWIG_fail
;
44773 arg5
= wxString_in_helper(obj4
);
44774 if (arg5
== NULL
) SWIG_fail
;
44781 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44787 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44791 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44792 if (!SWIG_IsOK(ecode8
)) {
44793 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44795 arg8
= static_cast< long >(val8
);
44798 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44799 if (!SWIG_IsOK(res9
)) {
44800 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44805 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44809 arg10
= wxString_in_helper(obj9
);
44810 if (arg10
== NULL
) SWIG_fail
;
44815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44816 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
);
44817 wxPyEndAllowThreads(__tstate
);
44818 if (PyErr_Occurred()) SWIG_fail
;
44821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44853 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44854 PyObject
*resultobj
= 0;
44855 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44859 PyObject
*swig_obj
[1] ;
44861 if (!args
) SWIG_fail
;
44862 swig_obj
[0] = args
;
44863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44864 if (!SWIG_IsOK(res1
)) {
44865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44867 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44870 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44871 wxPyEndAllowThreads(__tstate
);
44872 if (PyErr_Occurred()) SWIG_fail
;
44876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44887 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44888 PyObject
*resultobj
= 0;
44889 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44890 wxString
*arg2
= 0 ;
44893 bool temp2
= false ;
44894 PyObject
* obj0
= 0 ;
44895 PyObject
* obj1
= 0 ;
44896 char * kwnames
[] = {
44897 (char *) "self",(char *) "str", NULL
44900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44902 if (!SWIG_IsOK(res1
)) {
44903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44905 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44907 arg2
= wxString_in_helper(obj1
);
44908 if (arg2
== NULL
) SWIG_fail
;
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 (arg1
)->SetPath((wxString
const &)*arg2
);
44914 wxPyEndAllowThreads(__tstate
);
44915 if (PyErr_Occurred()) SWIG_fail
;
44917 resultobj
= SWIG_Py_Void();
44932 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44933 PyObject
*resultobj
= 0;
44934 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44935 wxString
*arg2
= 0 ;
44939 bool temp2
= false ;
44940 PyObject
* obj0
= 0 ;
44941 PyObject
* obj1
= 0 ;
44942 char * kwnames
[] = {
44943 (char *) "self",(char *) "path", NULL
44946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44948 if (!SWIG_IsOK(res1
)) {
44949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44951 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44953 arg2
= wxString_in_helper(obj1
);
44954 if (arg2
== NULL
) SWIG_fail
;
44958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44959 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44960 wxPyEndAllowThreads(__tstate
);
44961 if (PyErr_Occurred()) SWIG_fail
;
44964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44980 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44981 PyObject
*resultobj
= 0;
44982 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44986 PyObject
*swig_obj
[1] ;
44988 if (!args
) SWIG_fail
;
44989 swig_obj
[0] = args
;
44990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44991 if (!SWIG_IsOK(res1
)) {
44992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44994 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44997 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44998 wxPyEndAllowThreads(__tstate
);
44999 if (PyErr_Occurred()) SWIG_fail
;
45003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45014 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45017 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45018 return SWIG_Py_Void();
45021 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45022 return SWIG_Python_InitShadowInstance(args
);
45025 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45026 PyObject
*resultobj
= 0;
45028 wxObject
*arg2
= (wxObject
*) 0 ;
45030 wxString
*arg4
= 0 ;
45031 wxFileDirPickerEvent
*result
= 0 ;
45038 bool temp4
= false ;
45039 PyObject
* obj0
= 0 ;
45040 PyObject
* obj1
= 0 ;
45041 PyObject
* obj2
= 0 ;
45042 PyObject
* obj3
= 0 ;
45043 char * kwnames
[] = {
45044 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45049 if (!SWIG_IsOK(ecode1
)) {
45050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45052 arg1
= static_cast< wxEventType
>(val1
);
45053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45054 if (!SWIG_IsOK(res2
)) {
45055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45057 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45059 if (!SWIG_IsOK(ecode3
)) {
45060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45062 arg3
= static_cast< int >(val3
);
45064 arg4
= wxString_in_helper(obj3
);
45065 if (arg4
== NULL
) SWIG_fail
;
45069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45070 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45071 wxPyEndAllowThreads(__tstate
);
45072 if (PyErr_Occurred()) SWIG_fail
;
45074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45089 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45090 PyObject
*resultobj
= 0;
45091 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45095 PyObject
*swig_obj
[1] ;
45097 if (!args
) SWIG_fail
;
45098 swig_obj
[0] = args
;
45099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45100 if (!SWIG_IsOK(res1
)) {
45101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45103 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45106 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45107 wxPyEndAllowThreads(__tstate
);
45108 if (PyErr_Occurred()) SWIG_fail
;
45112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45123 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45124 PyObject
*resultobj
= 0;
45125 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45126 wxString
*arg2
= 0 ;
45129 bool temp2
= false ;
45130 PyObject
* obj0
= 0 ;
45131 PyObject
* obj1
= 0 ;
45132 char * kwnames
[] = {
45133 (char *) "self",(char *) "p", NULL
45136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45138 if (!SWIG_IsOK(res1
)) {
45139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45141 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45143 arg2
= wxString_in_helper(obj1
);
45144 if (arg2
== NULL
) SWIG_fail
;
45148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45149 (arg1
)->SetPath((wxString
const &)*arg2
);
45150 wxPyEndAllowThreads(__tstate
);
45151 if (PyErr_Occurred()) SWIG_fail
;
45153 resultobj
= SWIG_Py_Void();
45168 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45171 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45172 return SWIG_Py_Void();
45175 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45176 return SWIG_Python_InitShadowInstance(args
);
45179 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45180 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45185 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45186 PyObject
*pyobj
= 0;
45190 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45192 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45199 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45200 PyObject
*resultobj
= 0;
45201 wxWindow
*arg1
= (wxWindow
*) 0 ;
45202 int arg2
= (int) -1 ;
45203 wxFont
const &arg3_defvalue
= wxNullFont
;
45204 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45209 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45210 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45211 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45212 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45213 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45214 wxFontPickerCtrl
*result
= 0 ;
45227 bool temp8
= false ;
45228 PyObject
* obj0
= 0 ;
45229 PyObject
* obj1
= 0 ;
45230 PyObject
* obj2
= 0 ;
45231 PyObject
* obj3
= 0 ;
45232 PyObject
* obj4
= 0 ;
45233 PyObject
* obj5
= 0 ;
45234 PyObject
* obj6
= 0 ;
45235 PyObject
* obj7
= 0 ;
45236 char * kwnames
[] = {
45237 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45242 if (!SWIG_IsOK(res1
)) {
45243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45248 if (!SWIG_IsOK(ecode2
)) {
45249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45251 arg2
= static_cast< int >(val2
);
45254 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45255 if (!SWIG_IsOK(res3
)) {
45256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45261 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45266 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45272 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45276 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45277 if (!SWIG_IsOK(ecode6
)) {
45278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45280 arg6
= static_cast< long >(val6
);
45283 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45284 if (!SWIG_IsOK(res7
)) {
45285 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45290 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45294 arg8
= wxString_in_helper(obj7
);
45295 if (arg8
== NULL
) SWIG_fail
;
45300 if (!wxPyCheckForApp()) SWIG_fail
;
45301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45302 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45303 wxPyEndAllowThreads(__tstate
);
45304 if (PyErr_Occurred()) SWIG_fail
;
45306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45321 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45322 PyObject
*resultobj
= 0;
45323 wxFontPickerCtrl
*result
= 0 ;
45325 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45327 if (!wxPyCheckForApp()) SWIG_fail
;
45328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45329 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45330 wxPyEndAllowThreads(__tstate
);
45331 if (PyErr_Occurred()) SWIG_fail
;
45333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45340 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45341 PyObject
*resultobj
= 0;
45342 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45343 wxWindow
*arg2
= (wxWindow
*) 0 ;
45344 int arg3
= (int) -1 ;
45345 wxFont
const &arg4_defvalue
= wxNullFont
;
45346 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45349 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45350 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45351 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45352 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45353 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45354 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45355 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45371 bool temp9
= false ;
45372 PyObject
* obj0
= 0 ;
45373 PyObject
* obj1
= 0 ;
45374 PyObject
* obj2
= 0 ;
45375 PyObject
* obj3
= 0 ;
45376 PyObject
* obj4
= 0 ;
45377 PyObject
* obj5
= 0 ;
45378 PyObject
* obj6
= 0 ;
45379 PyObject
* obj7
= 0 ;
45380 PyObject
* obj8
= 0 ;
45381 char * kwnames
[] = {
45382 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45387 if (!SWIG_IsOK(res1
)) {
45388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45390 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45392 if (!SWIG_IsOK(res2
)) {
45393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45395 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45398 if (!SWIG_IsOK(ecode3
)) {
45399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45401 arg3
= static_cast< int >(val3
);
45404 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45405 if (!SWIG_IsOK(res4
)) {
45406 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45411 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45416 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45422 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45426 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45427 if (!SWIG_IsOK(ecode7
)) {
45428 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45430 arg7
= static_cast< long >(val7
);
45433 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45434 if (!SWIG_IsOK(res8
)) {
45435 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45440 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45444 arg9
= wxString_in_helper(obj8
);
45445 if (arg9
== NULL
) SWIG_fail
;
45450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45452 wxPyEndAllowThreads(__tstate
);
45453 if (PyErr_Occurred()) SWIG_fail
;
45456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45472 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45473 PyObject
*resultobj
= 0;
45474 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45478 PyObject
*swig_obj
[1] ;
45480 if (!args
) SWIG_fail
;
45481 swig_obj
[0] = args
;
45482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45483 if (!SWIG_IsOK(res1
)) {
45484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45486 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45489 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45490 wxPyEndAllowThreads(__tstate
);
45491 if (PyErr_Occurred()) SWIG_fail
;
45493 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45500 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45501 PyObject
*resultobj
= 0;
45502 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45508 PyObject
* obj0
= 0 ;
45509 PyObject
* obj1
= 0 ;
45510 char * kwnames
[] = {
45511 (char *) "self",(char *) "f", NULL
45514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45516 if (!SWIG_IsOK(res1
)) {
45517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45519 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45521 if (!SWIG_IsOK(res2
)) {
45522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45527 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45530 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45531 wxPyEndAllowThreads(__tstate
);
45532 if (PyErr_Occurred()) SWIG_fail
;
45534 resultobj
= SWIG_Py_Void();
45541 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45542 PyObject
*resultobj
= 0;
45543 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45544 unsigned int arg2
;
45547 unsigned int val2
;
45549 PyObject
* obj0
= 0 ;
45550 PyObject
* obj1
= 0 ;
45551 char * kwnames
[] = {
45552 (char *) "self",(char *) "max", NULL
45555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45557 if (!SWIG_IsOK(res1
)) {
45558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45560 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45561 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45562 if (!SWIG_IsOK(ecode2
)) {
45563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45565 arg2
= static_cast< unsigned int >(val2
);
45567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45568 (arg1
)->SetMaxPointSize(arg2
);
45569 wxPyEndAllowThreads(__tstate
);
45570 if (PyErr_Occurred()) SWIG_fail
;
45572 resultobj
= SWIG_Py_Void();
45579 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45580 PyObject
*resultobj
= 0;
45581 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45582 unsigned int result
;
45585 PyObject
*swig_obj
[1] ;
45587 if (!args
) SWIG_fail
;
45588 swig_obj
[0] = args
;
45589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45590 if (!SWIG_IsOK(res1
)) {
45591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45593 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45596 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45597 wxPyEndAllowThreads(__tstate
);
45598 if (PyErr_Occurred()) SWIG_fail
;
45600 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45607 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45610 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45611 return SWIG_Py_Void();
45614 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45615 return SWIG_Python_InitShadowInstance(args
);
45618 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45619 PyObject
*resultobj
= 0;
45620 wxObject
*arg1
= (wxObject
*) 0 ;
45623 wxFontPickerEvent
*result
= 0 ;
45630 PyObject
* obj0
= 0 ;
45631 PyObject
* obj1
= 0 ;
45632 PyObject
* obj2
= 0 ;
45633 char * kwnames
[] = {
45634 (char *) "generator",(char *) "id",(char *) "f", NULL
45637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45639 if (!SWIG_IsOK(res1
)) {
45640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45642 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45644 if (!SWIG_IsOK(ecode2
)) {
45645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45647 arg2
= static_cast< int >(val2
);
45648 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45649 if (!SWIG_IsOK(res3
)) {
45650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45655 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45658 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45659 wxPyEndAllowThreads(__tstate
);
45660 if (PyErr_Occurred()) SWIG_fail
;
45662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45669 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45670 PyObject
*resultobj
= 0;
45671 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45675 PyObject
*swig_obj
[1] ;
45677 if (!args
) SWIG_fail
;
45678 swig_obj
[0] = args
;
45679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45680 if (!SWIG_IsOK(res1
)) {
45681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45683 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45686 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45687 wxPyEndAllowThreads(__tstate
);
45688 if (PyErr_Occurred()) SWIG_fail
;
45690 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45697 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45698 PyObject
*resultobj
= 0;
45699 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45705 PyObject
* obj0
= 0 ;
45706 PyObject
* obj1
= 0 ;
45707 char * kwnames
[] = {
45708 (char *) "self",(char *) "c", NULL
45711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45713 if (!SWIG_IsOK(res1
)) {
45714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45716 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45718 if (!SWIG_IsOK(res2
)) {
45719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45724 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45727 (arg1
)->SetFont((wxFont
const &)*arg2
);
45728 wxPyEndAllowThreads(__tstate
);
45729 if (PyErr_Occurred()) SWIG_fail
;
45731 resultobj
= SWIG_Py_Void();
45738 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45741 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45742 return SWIG_Py_Void();
45745 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45746 return SWIG_Python_InitShadowInstance(args
);
45749 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45750 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45755 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45756 PyObject
*pyobj
= 0;
45760 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45762 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45769 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45770 PyObject
*resultobj
= 0;
45771 wxWindow
*arg1
= (wxWindow
*) 0 ;
45772 int arg2
= (int) -1 ;
45773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45775 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45776 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45777 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45778 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45779 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45780 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45781 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45782 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45783 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45784 wxCollapsiblePane
*result
= 0 ;
45789 bool temp3
= false ;
45796 bool temp8
= false ;
45797 PyObject
* obj0
= 0 ;
45798 PyObject
* obj1
= 0 ;
45799 PyObject
* obj2
= 0 ;
45800 PyObject
* obj3
= 0 ;
45801 PyObject
* obj4
= 0 ;
45802 PyObject
* obj5
= 0 ;
45803 PyObject
* obj6
= 0 ;
45804 PyObject
* obj7
= 0 ;
45805 char * kwnames
[] = {
45806 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45811 if (!SWIG_IsOK(res1
)) {
45812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45817 if (!SWIG_IsOK(ecode2
)) {
45818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45820 arg2
= static_cast< int >(val2
);
45824 arg3
= wxString_in_helper(obj2
);
45825 if (arg3
== NULL
) SWIG_fail
;
45832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45842 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45843 if (!SWIG_IsOK(ecode6
)) {
45844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45846 arg6
= static_cast< long >(val6
);
45849 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45850 if (!SWIG_IsOK(res7
)) {
45851 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45856 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45860 arg8
= wxString_in_helper(obj7
);
45861 if (arg8
== NULL
) SWIG_fail
;
45866 if (!wxPyCheckForApp()) SWIG_fail
;
45867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45868 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45869 wxPyEndAllowThreads(__tstate
);
45870 if (PyErr_Occurred()) SWIG_fail
;
45872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45895 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45896 PyObject
*resultobj
= 0;
45897 wxCollapsiblePane
*result
= 0 ;
45899 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45901 if (!wxPyCheckForApp()) SWIG_fail
;
45902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45903 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45904 wxPyEndAllowThreads(__tstate
);
45905 if (PyErr_Occurred()) SWIG_fail
;
45907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45914 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45915 PyObject
*resultobj
= 0;
45916 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45917 wxWindow
*arg2
= (wxWindow
*) 0 ;
45918 int arg3
= (int) -1 ;
45919 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45920 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45921 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45922 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45923 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45924 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45925 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45926 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45927 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45928 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45929 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45937 bool temp4
= false ;
45944 bool temp9
= false ;
45945 PyObject
* obj0
= 0 ;
45946 PyObject
* obj1
= 0 ;
45947 PyObject
* obj2
= 0 ;
45948 PyObject
* obj3
= 0 ;
45949 PyObject
* obj4
= 0 ;
45950 PyObject
* obj5
= 0 ;
45951 PyObject
* obj6
= 0 ;
45952 PyObject
* obj7
= 0 ;
45953 PyObject
* obj8
= 0 ;
45954 char * kwnames
[] = {
45955 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45960 if (!SWIG_IsOK(res1
)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45963 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45965 if (!SWIG_IsOK(res2
)) {
45966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45971 if (!SWIG_IsOK(ecode3
)) {
45972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45974 arg3
= static_cast< int >(val3
);
45978 arg4
= wxString_in_helper(obj3
);
45979 if (arg4
== NULL
) SWIG_fail
;
45986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45996 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45997 if (!SWIG_IsOK(ecode7
)) {
45998 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46000 arg7
= static_cast< long >(val7
);
46003 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46004 if (!SWIG_IsOK(res8
)) {
46005 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46010 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46014 arg9
= wxString_in_helper(obj8
);
46015 if (arg9
== NULL
) SWIG_fail
;
46020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46022 wxPyEndAllowThreads(__tstate
);
46023 if (PyErr_Occurred()) SWIG_fail
;
46026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46050 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46051 PyObject
*resultobj
= 0;
46052 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46053 bool arg2
= (bool) true ;
46058 PyObject
* obj0
= 0 ;
46059 PyObject
* obj1
= 0 ;
46060 char * kwnames
[] = {
46061 (char *) "self",(char *) "collapse", NULL
46064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46066 if (!SWIG_IsOK(res1
)) {
46067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46069 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46072 if (!SWIG_IsOK(ecode2
)) {
46073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46075 arg2
= static_cast< bool >(val2
);
46078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46079 (arg1
)->Collapse(arg2
);
46080 wxPyEndAllowThreads(__tstate
);
46081 if (PyErr_Occurred()) SWIG_fail
;
46083 resultobj
= SWIG_Py_Void();
46090 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46091 PyObject
*resultobj
= 0;
46092 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46095 PyObject
*swig_obj
[1] ;
46097 if (!args
) SWIG_fail
;
46098 swig_obj
[0] = args
;
46099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46100 if (!SWIG_IsOK(res1
)) {
46101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46103 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46107 wxPyEndAllowThreads(__tstate
);
46108 if (PyErr_Occurred()) SWIG_fail
;
46110 resultobj
= SWIG_Py_Void();
46117 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46118 PyObject
*resultobj
= 0;
46119 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46123 PyObject
*swig_obj
[1] ;
46125 if (!args
) SWIG_fail
;
46126 swig_obj
[0] = args
;
46127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46128 if (!SWIG_IsOK(res1
)) {
46129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46131 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46134 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46135 wxPyEndAllowThreads(__tstate
);
46136 if (PyErr_Occurred()) SWIG_fail
;
46139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46147 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46148 PyObject
*resultobj
= 0;
46149 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46153 PyObject
*swig_obj
[1] ;
46155 if (!args
) SWIG_fail
;
46156 swig_obj
[0] = args
;
46157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46158 if (!SWIG_IsOK(res1
)) {
46159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46161 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46164 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46165 wxPyEndAllowThreads(__tstate
);
46166 if (PyErr_Occurred()) SWIG_fail
;
46169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46177 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46178 PyObject
*resultobj
= 0;
46179 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46180 wxWindow
*result
= 0 ;
46183 PyObject
*swig_obj
[1] ;
46185 if (!args
) SWIG_fail
;
46186 swig_obj
[0] = args
;
46187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46188 if (!SWIG_IsOK(res1
)) {
46189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46191 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46194 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46195 wxPyEndAllowThreads(__tstate
);
46196 if (PyErr_Occurred()) SWIG_fail
;
46199 resultobj
= wxPyMake_wxObject(result
, 0);
46207 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46210 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46211 return SWIG_Py_Void();
46214 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46215 return SWIG_Python_InitShadowInstance(args
);
46218 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46219 PyObject
*resultobj
= 0;
46220 wxObject
*arg1
= (wxObject
*) 0 ;
46223 wxCollapsiblePaneEvent
*result
= 0 ;
46230 PyObject
* obj0
= 0 ;
46231 PyObject
* obj1
= 0 ;
46232 PyObject
* obj2
= 0 ;
46233 char * kwnames
[] = {
46234 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46239 if (!SWIG_IsOK(res1
)) {
46240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46242 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46244 if (!SWIG_IsOK(ecode2
)) {
46245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46247 arg2
= static_cast< int >(val2
);
46248 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46249 if (!SWIG_IsOK(ecode3
)) {
46250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46252 arg3
= static_cast< bool >(val3
);
46254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46255 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46256 wxPyEndAllowThreads(__tstate
);
46257 if (PyErr_Occurred()) SWIG_fail
;
46259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46266 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46267 PyObject
*resultobj
= 0;
46268 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46272 PyObject
*swig_obj
[1] ;
46274 if (!args
) SWIG_fail
;
46275 swig_obj
[0] = args
;
46276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46277 if (!SWIG_IsOK(res1
)) {
46278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46280 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46283 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46284 wxPyEndAllowThreads(__tstate
);
46285 if (PyErr_Occurred()) SWIG_fail
;
46288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46296 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46297 PyObject
*resultobj
= 0;
46298 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46304 PyObject
* obj0
= 0 ;
46305 PyObject
* obj1
= 0 ;
46306 char * kwnames
[] = {
46307 (char *) "self",(char *) "c", NULL
46310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46312 if (!SWIG_IsOK(res1
)) {
46313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46315 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46316 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46317 if (!SWIG_IsOK(ecode2
)) {
46318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46320 arg2
= static_cast< bool >(val2
);
46322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46323 (arg1
)->SetCollapsed(arg2
);
46324 wxPyEndAllowThreads(__tstate
);
46325 if (PyErr_Occurred()) SWIG_fail
;
46327 resultobj
= SWIG_Py_Void();
46334 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46337 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46338 return SWIG_Py_Void();
46341 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46342 return SWIG_Python_InitShadowInstance(args
);
46345 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46346 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46351 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46352 PyObject
*pyobj
= 0;
46356 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46358 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46365 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46366 PyObject
*resultobj
= 0;
46367 wxWindow
*arg1
= (wxWindow
*) 0 ;
46368 int arg2
= (int) -1 ;
46369 wxString
const &arg3_defvalue
= wxEmptyString
;
46370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46375 long arg6
= (long) 0 ;
46376 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46377 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46378 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46380 wxSearchCtrl
*result
= 0 ;
46385 bool temp3
= false ;
46392 bool temp8
= false ;
46393 PyObject
* obj0
= 0 ;
46394 PyObject
* obj1
= 0 ;
46395 PyObject
* obj2
= 0 ;
46396 PyObject
* obj3
= 0 ;
46397 PyObject
* obj4
= 0 ;
46398 PyObject
* obj5
= 0 ;
46399 PyObject
* obj6
= 0 ;
46400 PyObject
* obj7
= 0 ;
46401 char * kwnames
[] = {
46402 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46407 if (!SWIG_IsOK(res1
)) {
46408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46413 if (!SWIG_IsOK(ecode2
)) {
46414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46416 arg2
= static_cast< int >(val2
);
46420 arg3
= wxString_in_helper(obj2
);
46421 if (arg3
== NULL
) SWIG_fail
;
46428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46438 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46439 if (!SWIG_IsOK(ecode6
)) {
46440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46442 arg6
= static_cast< long >(val6
);
46445 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46446 if (!SWIG_IsOK(res7
)) {
46447 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46452 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46456 arg8
= wxString_in_helper(obj7
);
46457 if (arg8
== NULL
) SWIG_fail
;
46462 if (!wxPyCheckForApp()) SWIG_fail
;
46463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46464 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46465 wxPyEndAllowThreads(__tstate
);
46466 if (PyErr_Occurred()) SWIG_fail
;
46468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46491 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46492 PyObject
*resultobj
= 0;
46493 wxSearchCtrl
*result
= 0 ;
46495 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46497 if (!wxPyCheckForApp()) SWIG_fail
;
46498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46499 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46500 wxPyEndAllowThreads(__tstate
);
46501 if (PyErr_Occurred()) SWIG_fail
;
46503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46510 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46511 PyObject
*resultobj
= 0;
46512 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46513 wxWindow
*arg2
= (wxWindow
*) 0 ;
46514 int arg3
= (int) -1 ;
46515 wxString
const &arg4_defvalue
= wxEmptyString
;
46516 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46521 long arg7
= (long) 0 ;
46522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46524 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46533 bool temp4
= false ;
46540 bool temp9
= false ;
46541 PyObject
* obj0
= 0 ;
46542 PyObject
* obj1
= 0 ;
46543 PyObject
* obj2
= 0 ;
46544 PyObject
* obj3
= 0 ;
46545 PyObject
* obj4
= 0 ;
46546 PyObject
* obj5
= 0 ;
46547 PyObject
* obj6
= 0 ;
46548 PyObject
* obj7
= 0 ;
46549 PyObject
* obj8
= 0 ;
46550 char * kwnames
[] = {
46551 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46556 if (!SWIG_IsOK(res1
)) {
46557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46559 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46561 if (!SWIG_IsOK(res2
)) {
46562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46567 if (!SWIG_IsOK(ecode3
)) {
46568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46570 arg3
= static_cast< int >(val3
);
46574 arg4
= wxString_in_helper(obj3
);
46575 if (arg4
== NULL
) SWIG_fail
;
46582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46588 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46592 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46593 if (!SWIG_IsOK(ecode7
)) {
46594 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46596 arg7
= static_cast< long >(val7
);
46599 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46600 if (!SWIG_IsOK(res8
)) {
46601 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46606 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46610 arg9
= wxString_in_helper(obj8
);
46611 if (arg9
== NULL
) SWIG_fail
;
46616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46618 wxPyEndAllowThreads(__tstate
);
46619 if (PyErr_Occurred()) SWIG_fail
;
46622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46646 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46647 PyObject
*resultobj
= 0;
46648 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46649 wxMenu
*arg2
= (wxMenu
*) 0 ;
46654 PyObject
* obj0
= 0 ;
46655 PyObject
* obj1
= 0 ;
46656 char * kwnames
[] = {
46657 (char *) "self",(char *) "menu", NULL
46660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46662 if (!SWIG_IsOK(res1
)) {
46663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46665 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46667 if (!SWIG_IsOK(res2
)) {
46668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46670 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46673 (arg1
)->SetMenu(arg2
);
46674 wxPyEndAllowThreads(__tstate
);
46675 if (PyErr_Occurred()) SWIG_fail
;
46677 resultobj
= SWIG_Py_Void();
46684 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46685 PyObject
*resultobj
= 0;
46686 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46687 wxMenu
*result
= 0 ;
46690 PyObject
*swig_obj
[1] ;
46692 if (!args
) SWIG_fail
;
46693 swig_obj
[0] = args
;
46694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46695 if (!SWIG_IsOK(res1
)) {
46696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46698 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46701 result
= (wxMenu
*)(arg1
)->GetMenu();
46702 wxPyEndAllowThreads(__tstate
);
46703 if (PyErr_Occurred()) SWIG_fail
;
46706 resultobj
= wxPyMake_wxObject(result
, 0);
46714 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46715 PyObject
*resultobj
= 0;
46716 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46722 PyObject
* obj0
= 0 ;
46723 PyObject
* obj1
= 0 ;
46724 char * kwnames
[] = {
46725 (char *) "self",(char *) "show", NULL
46728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46730 if (!SWIG_IsOK(res1
)) {
46731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46733 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46735 if (!SWIG_IsOK(ecode2
)) {
46736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46738 arg2
= static_cast< bool >(val2
);
46740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46741 (arg1
)->ShowSearchButton(arg2
);
46742 wxPyEndAllowThreads(__tstate
);
46743 if (PyErr_Occurred()) SWIG_fail
;
46745 resultobj
= SWIG_Py_Void();
46752 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46753 PyObject
*resultobj
= 0;
46754 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46758 PyObject
*swig_obj
[1] ;
46760 if (!args
) SWIG_fail
;
46761 swig_obj
[0] = args
;
46762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46763 if (!SWIG_IsOK(res1
)) {
46764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46766 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46769 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46770 wxPyEndAllowThreads(__tstate
);
46771 if (PyErr_Occurred()) SWIG_fail
;
46774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46782 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46783 PyObject
*resultobj
= 0;
46784 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46790 PyObject
* obj0
= 0 ;
46791 PyObject
* obj1
= 0 ;
46792 char * kwnames
[] = {
46793 (char *) "self",(char *) "show", NULL
46796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46798 if (!SWIG_IsOK(res1
)) {
46799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46801 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46803 if (!SWIG_IsOK(ecode2
)) {
46804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46806 arg2
= static_cast< bool >(val2
);
46808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46809 (arg1
)->ShowCancelButton(arg2
);
46810 wxPyEndAllowThreads(__tstate
);
46811 if (PyErr_Occurred()) SWIG_fail
;
46813 resultobj
= SWIG_Py_Void();
46820 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46821 PyObject
*resultobj
= 0;
46822 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46826 PyObject
*swig_obj
[1] ;
46828 if (!args
) SWIG_fail
;
46829 swig_obj
[0] = args
;
46830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46831 if (!SWIG_IsOK(res1
)) {
46832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46834 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46837 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46838 wxPyEndAllowThreads(__tstate
);
46839 if (PyErr_Occurred()) SWIG_fail
;
46842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46850 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46851 PyObject
*resultobj
= 0;
46852 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46853 wxString
*arg2
= 0 ;
46856 bool temp2
= false ;
46857 PyObject
* obj0
= 0 ;
46858 PyObject
* obj1
= 0 ;
46859 char * kwnames
[] = {
46860 (char *) "self",(char *) "text", NULL
46863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46865 if (!SWIG_IsOK(res1
)) {
46866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46868 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46870 arg2
= wxString_in_helper(obj1
);
46871 if (arg2
== NULL
) SWIG_fail
;
46875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46876 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46877 wxPyEndAllowThreads(__tstate
);
46878 if (PyErr_Occurred()) SWIG_fail
;
46880 resultobj
= SWIG_Py_Void();
46895 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46896 PyObject
*resultobj
= 0;
46897 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46901 PyObject
*swig_obj
[1] ;
46903 if (!args
) SWIG_fail
;
46904 swig_obj
[0] = args
;
46905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46906 if (!SWIG_IsOK(res1
)) {
46907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46909 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46912 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46913 wxPyEndAllowThreads(__tstate
);
46914 if (PyErr_Occurred()) SWIG_fail
;
46918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46929 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46930 PyObject
*resultobj
= 0;
46931 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46932 wxBitmap
*arg2
= 0 ;
46937 PyObject
* obj0
= 0 ;
46938 PyObject
* obj1
= 0 ;
46939 char * kwnames
[] = {
46940 (char *) "self",(char *)"arg2", NULL
46943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46945 if (!SWIG_IsOK(res1
)) {
46946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46948 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46950 if (!SWIG_IsOK(res2
)) {
46951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46956 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46959 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46960 wxPyEndAllowThreads(__tstate
);
46961 if (PyErr_Occurred()) SWIG_fail
;
46963 resultobj
= SWIG_Py_Void();
46970 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46971 PyObject
*resultobj
= 0;
46972 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46973 wxBitmap
*arg2
= 0 ;
46978 PyObject
* obj0
= 0 ;
46979 PyObject
* obj1
= 0 ;
46980 char * kwnames
[] = {
46981 (char *) "self",(char *)"arg2", NULL
46984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46986 if (!SWIG_IsOK(res1
)) {
46987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46989 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46991 if (!SWIG_IsOK(res2
)) {
46992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46997 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47000 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
47001 wxPyEndAllowThreads(__tstate
);
47002 if (PyErr_Occurred()) SWIG_fail
;
47004 resultobj
= SWIG_Py_Void();
47011 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47012 PyObject
*resultobj
= 0;
47013 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47014 wxBitmap
*arg2
= 0 ;
47019 PyObject
* obj0
= 0 ;
47020 PyObject
* obj1
= 0 ;
47021 char * kwnames
[] = {
47022 (char *) "self",(char *)"arg2", NULL
47025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47027 if (!SWIG_IsOK(res1
)) {
47028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47030 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47032 if (!SWIG_IsOK(res2
)) {
47033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47041 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
47042 wxPyEndAllowThreads(__tstate
);
47043 if (PyErr_Occurred()) SWIG_fail
;
47045 resultobj
= SWIG_Py_Void();
47052 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47055 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47056 return SWIG_Py_Void();
47059 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47060 return SWIG_Python_InitShadowInstance(args
);
47063 static PyMethodDef SwigMethods
[] = {
47064 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47066 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47068 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47069 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47071 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47072 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47074 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47076 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47077 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47078 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47079 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47080 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47087 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47088 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47089 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47090 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47092 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47094 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47095 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47097 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47099 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47100 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47102 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47103 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47105 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47107 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47109 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47110 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47112 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47114 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47116 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47117 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47118 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47120 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47121 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47124 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47127 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47129 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47130 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47131 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47132 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47133 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47134 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47135 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47136 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47137 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47139 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47140 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47142 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47145 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47147 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47148 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47149 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47151 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47153 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47155 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47156 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47158 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47161 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47162 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47164 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47166 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47167 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47169 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47170 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47172 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"StaticText_IsEllipsized", (PyCFunction
)_wrap_StaticText_IsEllipsized
, METH_O
, NULL
},
47175 { (char *)"StaticText_RemoveMarkup", (PyCFunction
) _wrap_StaticText_RemoveMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"StaticText_EscapeMarkup", (PyCFunction
) _wrap_StaticText_EscapeMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47179 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47180 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47182 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47184 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47188 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47189 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47191 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47202 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47207 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47213 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47214 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47216 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47220 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47221 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47223 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47224 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47234 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47235 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47236 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47237 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47238 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47239 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47240 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47242 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47243 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47244 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47245 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47246 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47247 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47248 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47249 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47250 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47251 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47253 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47254 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47256 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47258 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47260 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47265 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47266 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47267 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47268 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47269 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47270 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47271 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47272 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47277 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47278 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47287 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47293 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47294 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47295 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47296 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47297 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47298 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47299 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47300 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47301 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47302 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47304 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47305 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47306 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47308 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47311 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47315 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47316 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47318 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47319 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47320 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47321 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47322 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47324 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47326 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47327 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47328 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47329 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47330 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47333 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47334 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47336 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47338 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47339 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47340 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47345 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47347 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47348 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47350 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47352 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47356 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47357 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47360 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47361 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47363 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47365 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47366 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47368 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47371 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47372 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47374 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47382 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47383 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47390 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47391 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47393 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47395 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47398 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47399 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47401 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47403 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47406 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47407 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47412 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47413 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47415 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47417 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47418 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47420 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47421 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47422 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47425 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47426 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47428 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47431 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47433 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47434 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47435 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47437 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47438 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47443 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47448 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47450 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47452 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47454 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47455 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47458 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47466 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47468 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47470 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47472 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47473 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47475 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47477 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47480 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47484 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47485 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47487 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47488 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47490 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47492 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47493 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47494 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47496 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47497 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47499 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47501 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47502 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47503 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47505 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47506 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47508 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47516 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47517 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47518 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47520 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47521 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47523 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47525 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47526 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47527 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47528 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47530 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47531 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47532 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47533 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47534 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47535 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47536 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47537 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47538 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47539 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47540 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47541 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47542 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47543 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47544 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47545 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47546 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47547 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47548 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47550 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47557 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47559 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47561 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47569 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47574 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47575 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47592 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47593 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47594 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47595 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47598 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47599 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47601 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47602 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47605 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47606 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47607 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47609 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47614 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47615 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47617 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47621 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47622 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47623 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47624 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47625 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47626 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47628 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47629 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47630 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47631 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47632 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47633 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47634 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47648 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47649 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47650 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47651 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47652 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47653 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47654 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47655 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47656 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47657 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47658 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47659 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47660 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47661 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47662 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47663 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47664 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47665 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47666 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47667 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47668 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47669 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47670 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47671 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47672 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47673 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47674 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47675 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47676 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47677 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47678 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47679 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47680 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47681 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47682 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47683 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47685 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47686 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47687 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47688 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47689 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47690 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47691 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47692 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47693 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47694 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47695 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47696 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47697 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47698 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47699 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47700 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47701 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47702 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47703 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47704 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47705 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47706 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47707 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47708 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47710 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47711 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47713 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47720 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47721 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47722 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47737 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47738 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47739 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47741 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47742 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47744 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47750 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47751 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47756 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47758 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47759 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47762 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47773 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47776 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47779 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47781 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47782 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47784 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47785 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47787 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47788 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47791 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47793 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47797 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47798 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47799 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47800 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47801 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47804 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47805 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47806 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47807 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47809 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47810 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47812 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47814 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47815 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47816 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47817 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47818 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47820 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47822 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47824 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47825 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47826 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47827 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47828 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47829 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47830 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47832 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47833 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47834 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47836 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47839 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47840 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47842 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47844 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47845 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47863 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47872 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47873 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47874 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47875 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47876 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47883 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47887 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47889 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47893 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47896 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47899 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47901 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47902 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47904 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47910 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47914 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47916 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47917 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47918 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47920 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47924 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47926 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47927 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47930 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47931 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47933 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47935 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47936 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47937 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47939 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47940 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47941 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47942 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47944 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47947 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47948 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47950 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47955 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47957 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47958 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47959 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47960 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47961 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47962 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47963 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47964 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47965 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47966 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47967 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47968 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47969 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47970 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47971 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47973 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47975 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47976 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47978 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47979 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47980 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47981 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47982 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47983 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47984 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47985 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47986 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47987 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47988 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47989 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47990 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47991 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47992 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47993 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47994 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47995 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47996 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47997 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47998 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47999 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48000 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48002 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48005 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48006 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48007 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48008 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48009 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48010 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48011 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48012 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48014 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48015 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48016 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48017 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48018 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48020 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48022 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48023 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48025 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48026 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48027 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48028 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48029 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48030 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48032 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48033 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48034 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48035 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48036 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48037 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48038 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48039 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48040 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48041 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48042 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48043 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48044 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48045 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48046 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48047 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48048 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48050 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48051 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48052 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48053 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48055 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48056 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48057 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48058 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48059 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48060 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48061 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48062 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48063 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48065 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48067 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48069 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48070 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48071 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48072 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48073 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48074 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48075 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48076 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48077 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48079 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48080 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48082 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48083 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48084 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48085 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48086 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48087 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48088 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48089 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48090 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48091 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48092 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48093 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48094 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48095 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48096 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48097 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48098 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48099 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48100 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48101 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48102 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48103 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48104 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48105 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48106 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48107 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48108 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48109 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48110 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48111 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48112 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48113 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48114 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48115 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48116 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48117 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48118 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48119 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48120 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48121 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48122 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48123 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48124 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48125 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48126 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48127 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48128 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48129 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48130 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48131 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48132 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48133 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48134 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48135 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48136 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48137 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48138 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48139 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48140 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48141 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48142 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48143 { NULL
, NULL
, 0, NULL
}
48147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48149 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48152 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48153 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48155 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48156 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48158 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48159 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48161 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48162 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48164 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48165 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48167 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48168 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48170 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48171 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48173 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48174 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48176 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48179 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48182 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48183 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48185 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48188 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48191 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48192 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48194 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48195 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48197 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48198 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48200 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48203 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48204 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48206 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48207 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48209 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48210 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48212 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48213 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48215 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48216 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48218 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48221 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48222 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48228 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48231 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48234 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48236 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48237 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48239 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48240 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48242 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48243 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48245 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48248 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48251 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48252 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48254 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48255 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48257 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48260 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48263 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48264 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48266 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48267 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48269 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48270 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48272 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48273 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48275 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48278 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48279 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48281 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48282 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48284 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48287 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48288 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48290 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48291 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48293 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48296 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48299 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48300 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48302 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48303 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48305 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48306 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48308 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48309 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48311 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48312 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48314 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48315 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48317 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48318 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48320 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48321 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48323 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48324 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48326 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48327 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48329 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48330 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48332 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48333 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48335 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48336 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48338 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48339 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48341 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48342 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48344 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48345 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48347 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48348 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48350 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48351 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48353 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48354 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48356 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48357 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48359 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48360 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48362 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48363 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48365 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48366 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48368 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48369 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48371 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48372 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48374 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48375 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48377 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48378 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48380 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48381 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48383 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48384 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48386 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48387 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48389 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48390 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48392 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48393 return (void *)((wxControl
*) ((wxGauge
*) x
));
48395 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48396 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48398 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48399 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48401 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48402 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48404 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48405 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48407 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48408 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48410 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48411 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48413 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48414 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48416 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48417 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48419 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48420 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48422 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48423 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48425 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48426 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48428 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48429 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48431 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48432 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48434 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48435 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48437 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48438 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48440 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48441 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48443 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48444 return (void *)((wxControl
*) ((wxSlider
*) x
));
48446 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48447 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48449 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48450 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48452 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48453 return (void *)((wxControl
*) ((wxButton
*) x
));
48455 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48456 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48458 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48459 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48461 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48462 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48464 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48465 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48467 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48468 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48470 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48471 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48473 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48474 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48476 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48477 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48479 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48480 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48482 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48483 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48485 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48486 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48488 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48489 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48491 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48492 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48494 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48495 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48497 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48498 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48500 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48501 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48503 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48504 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48506 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48507 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48509 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48510 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48512 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48513 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48515 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48516 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48518 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48519 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48521 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48522 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48524 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48525 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48527 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48528 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48530 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48533 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48534 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48536 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48537 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48539 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48542 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48543 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48545 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48546 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48548 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48551 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48554 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48555 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48557 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48560 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48563 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48566 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48567 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48569 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48572 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48573 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48575 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48578 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48581 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48584 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48587 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48590 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48591 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48593 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48596 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48599 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48602 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48605 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48608 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48611 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48614 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48617 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48620 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48623 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48626 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48629 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48632 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48635 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48638 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48641 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48644 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48647 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48650 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48653 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48656 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48659 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48662 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48665 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48668 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48671 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48674 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48677 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48680 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48683 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48686 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48689 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48690 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48692 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48693 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48695 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48696 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48698 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48699 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48701 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48702 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48704 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48705 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48707 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48710 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48711 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48713 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48714 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48716 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48717 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48719 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48720 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48722 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48723 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48725 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48728 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48729 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48731 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48732 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48734 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48735 return (void *)((wxObject
*) ((wxSizer
*) x
));
48737 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48738 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48740 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48743 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48746 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48749 static void *_p_wxEventTo_p_wxObject(void *x
) {
48750 return (void *)((wxObject
*) ((wxEvent
*) x
));
48752 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48753 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48755 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48756 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48758 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48761 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48762 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48764 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48767 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48770 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48773 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48776 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48779 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48780 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48782 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48783 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48785 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48786 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48788 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48789 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48791 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48792 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48794 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48795 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48797 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48800 static void *_p_wxControlTo_p_wxObject(void *x
) {
48801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48803 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48806 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48809 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48812 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48815 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48818 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48819 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48821 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48824 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48827 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48830 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48833 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48834 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48836 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48837 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48839 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48842 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48845 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48848 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48851 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48854 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48855 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48857 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48860 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48863 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48866 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48867 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48869 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48872 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48875 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48876 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48878 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48881 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48882 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48884 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48887 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48888 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48890 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48891 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48893 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48894 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48896 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48897 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48899 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48900 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48902 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48903 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48905 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48908 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48909 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48911 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48914 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48917 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48920 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48923 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48926 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48929 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48932 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48935 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48938 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48939 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48941 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48944 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48947 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48948 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48950 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48953 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48956 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48959 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48960 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48962 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48963 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48965 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48968 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48971 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48974 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48977 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48980 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48983 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48986 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48987 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48989 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48990 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48992 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48995 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48998 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
49001 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49004 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49005 return (void *)((wxObject
*) ((wxListItem
*) x
));
49007 static void *_p_wxImageTo_p_wxObject(void *x
) {
49008 return (void *)((wxObject
*) ((wxImage
*) x
));
49010 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49011 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49013 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49016 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49017 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49019 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49022 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49025 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49028 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49031 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49034 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49037 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49040 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49041 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49043 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49044 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49046 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49047 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49049 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49052 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49055 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49056 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49058 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49061 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49064 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49065 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49067 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49070 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49071 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49073 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49076 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49077 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49079 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49082 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49085 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49088 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49089 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49091 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49094 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49095 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49097 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49098 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49100 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49103 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49106 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49109 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49112 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49115 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49118 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49121 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49124 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49125 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49127 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49130 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49133 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49134 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49136 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49137 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49139 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49140 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49142 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49143 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49145 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49146 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49148 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49149 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49151 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49152 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49154 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49155 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49157 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49158 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49160 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49161 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49163 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49164 return (void *)((wxWindow
*) ((wxControl
*) x
));
49166 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49167 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49169 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49170 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49172 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49173 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49175 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49176 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49178 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49179 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49181 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49182 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49184 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49185 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49188 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49190 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49191 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49193 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49194 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49196 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49197 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49199 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49200 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49202 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49203 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49205 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49206 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49208 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49209 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49211 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49212 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49214 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49215 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49217 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49218 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49220 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49221 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49223 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49224 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49226 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49227 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49229 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49230 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49232 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49233 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49235 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49236 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49238 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49239 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49241 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49242 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49244 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49245 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49247 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49248 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49250 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49251 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49253 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49254 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49256 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49257 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49259 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49260 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49262 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49263 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49265 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49266 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49268 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49269 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49271 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49272 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49274 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49275 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49277 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49278 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49280 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49281 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49283 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49284 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49286 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49287 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49289 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49290 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49292 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49293 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49295 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49296 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49298 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49299 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49301 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49302 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49304 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49305 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49307 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49308 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49310 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49311 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49314 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49316 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49317 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49319 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49320 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49322 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49323 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49325 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49326 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49328 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49329 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49331 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49332 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49334 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49335 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49337 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49338 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49340 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49341 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49343 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49344 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49346 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49347 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49349 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49350 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49352 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49353 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49355 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49356 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49358 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49359 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49361 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49362 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49364 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49365 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49367 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49368 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49370 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49371 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49373 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49374 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49376 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49377 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49379 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49380 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49382 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49383 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49385 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49387 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};
49388 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49389 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49390 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49391 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49392 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49393 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49394 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49395 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49396 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49397 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49398 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49399 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49400 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49401 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49402 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49403 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49405 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49406 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49407 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49408 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49409 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49410 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49411 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49412 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49413 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49414 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49415 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49416 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49417 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49418 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49419 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49420 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49421 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49422 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49432 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49433 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49434 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49435 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49436 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49437 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49438 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49439 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49440 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49441 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49442 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49443 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49444 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49445 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49446 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49447 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49448 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49449 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49450 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49451 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49452 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49453 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49454 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49455 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49456 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49457 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49458 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49459 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49460 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49461 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49462 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49463 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49464 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49465 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49466 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49467 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49468 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49469 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49470 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49471 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49472 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49473 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49474 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49475 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49476 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49477 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49478 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49486 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49487 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49488 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49489 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49490 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49491 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49492 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49493 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49494 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49495 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49496 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49497 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49498 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49499 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49500 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49501 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49502 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49503 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49504 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49505 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49506 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49507 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49508 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49509 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49510 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49511 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49512 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49513 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49514 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49515 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49516 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49517 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49518 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49519 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49520 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49521 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49522 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49523 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49524 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49525 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49526 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49527 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49528 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49529 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49530 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49531 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49532 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49533 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49534 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49535 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49536 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49537 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49538 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49539 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49540 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49541 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49542 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49543 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49544 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49545 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49546 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49547 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49548 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49549 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49550 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49551 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49552 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49553 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49563 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49564 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49566 static swig_type_info
*swig_type_initial
[] = {
49569 &_swigt__p_form_ops_t
,
49572 &_swigt__p_unsigned_char
,
49573 &_swigt__p_unsigned_int
,
49574 &_swigt__p_unsigned_long
,
49576 &_swigt__p_wxANIHandler
,
49577 &_swigt__p_wxAcceleratorTable
,
49578 &_swigt__p_wxActivateEvent
,
49579 &_swigt__p_wxArrayInt
,
49580 &_swigt__p_wxArrayString
,
49581 &_swigt__p_wxBMPHandler
,
49582 &_swigt__p_wxBitmap
,
49583 &_swigt__p_wxBitmapButton
,
49584 &_swigt__p_wxBookCtrlBase
,
49585 &_swigt__p_wxBookCtrlBaseEvent
,
49586 &_swigt__p_wxBoxSizer
,
49587 &_swigt__p_wxButton
,
49588 &_swigt__p_wxCURHandler
,
49589 &_swigt__p_wxCheckBox
,
49590 &_swigt__p_wxCheckListBox
,
49591 &_swigt__p_wxChildFocusEvent
,
49592 &_swigt__p_wxChoice
,
49593 &_swigt__p_wxChoicebook
,
49594 &_swigt__p_wxChoicebookEvent
,
49595 &_swigt__p_wxClipboardTextEvent
,
49596 &_swigt__p_wxCloseEvent
,
49597 &_swigt__p_wxCollapsiblePane
,
49598 &_swigt__p_wxCollapsiblePaneEvent
,
49599 &_swigt__p_wxColour
,
49600 &_swigt__p_wxColourPickerCtrl
,
49601 &_swigt__p_wxColourPickerEvent
,
49602 &_swigt__p_wxComboBox
,
49603 &_swigt__p_wxCommandEvent
,
49604 &_swigt__p_wxContextHelp
,
49605 &_swigt__p_wxContextHelpButton
,
49606 &_swigt__p_wxContextMenuEvent
,
49607 &_swigt__p_wxControl
,
49608 &_swigt__p_wxControlWithItems
,
49609 &_swigt__p_wxCursor
,
49611 &_swigt__p_wxDateEvent
,
49612 &_swigt__p_wxDatePickerCtrl
,
49613 &_swigt__p_wxDateTime
,
49614 &_swigt__p_wxDirFilterListCtrl
,
49615 &_swigt__p_wxDirPickerCtrl
,
49616 &_swigt__p_wxDisplayChangedEvent
,
49617 &_swigt__p_wxDropFilesEvent
,
49618 &_swigt__p_wxDuplexMode
,
49619 &_swigt__p_wxEraseEvent
,
49620 &_swigt__p_wxEvent
,
49621 &_swigt__p_wxEventBlocker
,
49622 &_swigt__p_wxEvtHandler
,
49623 &_swigt__p_wxFSFile
,
49624 &_swigt__p_wxFileDirPickerEvent
,
49625 &_swigt__p_wxFilePickerCtrl
,
49626 &_swigt__p_wxFileSystem
,
49627 &_swigt__p_wxFlexGridSizer
,
49628 &_swigt__p_wxFocusEvent
,
49630 &_swigt__p_wxFontPickerCtrl
,
49631 &_swigt__p_wxFontPickerEvent
,
49632 &_swigt__p_wxGBSizerItem
,
49633 &_swigt__p_wxGIFHandler
,
49634 &_swigt__p_wxGauge
,
49635 &_swigt__p_wxGenericDirCtrl
,
49636 &_swigt__p_wxGenericDragImage
,
49637 &_swigt__p_wxGridBagSizer
,
49638 &_swigt__p_wxGridSizer
,
49639 &_swigt__p_wxHelpEvent
,
49640 &_swigt__p_wxHelpProvider
,
49641 &_swigt__p_wxHyperlinkCtrl
,
49642 &_swigt__p_wxHyperlinkEvent
,
49643 &_swigt__p_wxICOHandler
,
49645 &_swigt__p_wxIconizeEvent
,
49646 &_swigt__p_wxIdleEvent
,
49647 &_swigt__p_wxImage
,
49648 &_swigt__p_wxImageHandler
,
49649 &_swigt__p_wxImageList
,
49650 &_swigt__p_wxIndividualLayoutConstraint
,
49651 &_swigt__p_wxInitDialogEvent
,
49652 &_swigt__p_wxItemContainer
,
49653 &_swigt__p_wxJPEGHandler
,
49654 &_swigt__p_wxKeyEvent
,
49655 &_swigt__p_wxLayoutConstraints
,
49656 &_swigt__p_wxListBox
,
49657 &_swigt__p_wxListEvent
,
49658 &_swigt__p_wxListItem
,
49659 &_swigt__p_wxListItemAttr
,
49660 &_swigt__p_wxListView
,
49661 &_swigt__p_wxListbook
,
49662 &_swigt__p_wxListbookEvent
,
49663 &_swigt__p_wxMaximizeEvent
,
49664 &_swigt__p_wxMemoryDC
,
49666 &_swigt__p_wxMenuBar
,
49667 &_swigt__p_wxMenuEvent
,
49668 &_swigt__p_wxMenuItem
,
49669 &_swigt__p_wxMouseCaptureChangedEvent
,
49670 &_swigt__p_wxMouseCaptureLostEvent
,
49671 &_swigt__p_wxMouseEvent
,
49672 &_swigt__p_wxMoveEvent
,
49673 &_swigt__p_wxNavigationKeyEvent
,
49674 &_swigt__p_wxNcPaintEvent
,
49675 &_swigt__p_wxNotebook
,
49676 &_swigt__p_wxNotebookEvent
,
49677 &_swigt__p_wxNotifyEvent
,
49678 &_swigt__p_wxObject
,
49679 &_swigt__p_wxPCXHandler
,
49680 &_swigt__p_wxPNGHandler
,
49681 &_swigt__p_wxPNMHandler
,
49682 &_swigt__p_wxPaintEvent
,
49683 &_swigt__p_wxPaletteChangedEvent
,
49684 &_swigt__p_wxPaperSize
,
49685 &_swigt__p_wxPickerBase
,
49686 &_swigt__p_wxPoint
,
49687 &_swigt__p_wxPyApp
,
49688 &_swigt__p_wxPyCommandEvent
,
49689 &_swigt__p_wxPyControl
,
49690 &_swigt__p_wxPyEvent
,
49691 &_swigt__p_wxPyImageHandler
,
49692 &_swigt__p_wxPyListCtrl
,
49693 &_swigt__p_wxPySizer
,
49694 &_swigt__p_wxPyTreeCtrl
,
49695 &_swigt__p_wxPyTreeItemData
,
49696 &_swigt__p_wxPyValidator
,
49697 &_swigt__p_wxQueryNewPaletteEvent
,
49698 &_swigt__p_wxRadioBox
,
49699 &_swigt__p_wxRadioButton
,
49701 &_swigt__p_wxScrollBar
,
49702 &_swigt__p_wxScrollEvent
,
49703 &_swigt__p_wxScrollWinEvent
,
49704 &_swigt__p_wxSearchCtrl
,
49705 &_swigt__p_wxSetCursorEvent
,
49706 &_swigt__p_wxShowEvent
,
49707 &_swigt__p_wxSimpleHelpProvider
,
49709 &_swigt__p_wxSizeEvent
,
49710 &_swigt__p_wxSizer
,
49711 &_swigt__p_wxSizerItem
,
49712 &_swigt__p_wxSlider
,
49713 &_swigt__p_wxSpinButton
,
49714 &_swigt__p_wxSpinCtrl
,
49715 &_swigt__p_wxSpinEvent
,
49716 &_swigt__p_wxStaticBitmap
,
49717 &_swigt__p_wxStaticBox
,
49718 &_swigt__p_wxStaticBoxSizer
,
49719 &_swigt__p_wxStaticLine
,
49720 &_swigt__p_wxStaticText
,
49721 &_swigt__p_wxStdDialogButtonSizer
,
49722 &_swigt__p_wxString
,
49723 &_swigt__p_wxSysColourChangedEvent
,
49724 &_swigt__p_wxTGAHandler
,
49725 &_swigt__p_wxTIFFHandler
,
49726 &_swigt__p_wxTextAttr
,
49727 &_swigt__p_wxTextCtrl
,
49728 &_swigt__p_wxTextUrlEvent
,
49729 &_swigt__p_wxToggleButton
,
49730 &_swigt__p_wxToolBar
,
49731 &_swigt__p_wxToolBarBase
,
49732 &_swigt__p_wxToolBarToolBase
,
49733 &_swigt__p_wxToolbook
,
49734 &_swigt__p_wxToolbookEvent
,
49735 &_swigt__p_wxTreeEvent
,
49736 &_swigt__p_wxTreeItemId
,
49737 &_swigt__p_wxTreebook
,
49738 &_swigt__p_wxTreebookEvent
,
49739 &_swigt__p_wxUpdateUIEvent
,
49740 &_swigt__p_wxValidator
,
49741 &_swigt__p_wxVisualAttributes
,
49742 &_swigt__p_wxWindow
,
49743 &_swigt__p_wxWindowBase
,
49744 &_swigt__p_wxWindowCreateEvent
,
49745 &_swigt__p_wxWindowDestroyEvent
,
49746 &_swigt__p_wxXPMHandler
,
49749 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49758 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49759 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49761 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}};
49762 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}};
49763 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}};
49764 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}};
49765 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49766 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49767 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}};
49768 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49769 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49771 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49772 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49773 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49774 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49775 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49776 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49780 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49781 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49782 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49783 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49785 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}};
49786 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49787 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49788 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}};
49789 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}};
49790 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49791 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49792 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49794 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49795 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49796 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49797 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49798 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49803 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49804 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49807 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49809 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49810 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49811 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49812 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49813 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49814 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49815 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49816 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49817 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49818 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49819 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49820 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49821 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49822 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}};
49823 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49827 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}};
49828 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49834 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49835 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49836 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49837 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}};
49838 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49839 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49840 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49841 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49842 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}};
49843 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49844 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}};
49845 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49856 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}};
49857 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49863 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49864 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49870 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49871 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49882 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49887 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49888 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}};
49889 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49890 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}};
49891 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49893 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}};
49894 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49897 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49898 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49903 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49909 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49910 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49912 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49913 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}};
49914 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49915 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49916 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49917 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}};
49918 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49919 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49920 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49922 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49923 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49925 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}};
49926 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49927 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}};
49928 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49930 static swig_cast_info
*swig_cast_initial
[] = {
49933 _swigc__p_form_ops_t
,
49936 _swigc__p_unsigned_char
,
49937 _swigc__p_unsigned_int
,
49938 _swigc__p_unsigned_long
,
49940 _swigc__p_wxANIHandler
,
49941 _swigc__p_wxAcceleratorTable
,
49942 _swigc__p_wxActivateEvent
,
49943 _swigc__p_wxArrayInt
,
49944 _swigc__p_wxArrayString
,
49945 _swigc__p_wxBMPHandler
,
49946 _swigc__p_wxBitmap
,
49947 _swigc__p_wxBitmapButton
,
49948 _swigc__p_wxBookCtrlBase
,
49949 _swigc__p_wxBookCtrlBaseEvent
,
49950 _swigc__p_wxBoxSizer
,
49951 _swigc__p_wxButton
,
49952 _swigc__p_wxCURHandler
,
49953 _swigc__p_wxCheckBox
,
49954 _swigc__p_wxCheckListBox
,
49955 _swigc__p_wxChildFocusEvent
,
49956 _swigc__p_wxChoice
,
49957 _swigc__p_wxChoicebook
,
49958 _swigc__p_wxChoicebookEvent
,
49959 _swigc__p_wxClipboardTextEvent
,
49960 _swigc__p_wxCloseEvent
,
49961 _swigc__p_wxCollapsiblePane
,
49962 _swigc__p_wxCollapsiblePaneEvent
,
49963 _swigc__p_wxColour
,
49964 _swigc__p_wxColourPickerCtrl
,
49965 _swigc__p_wxColourPickerEvent
,
49966 _swigc__p_wxComboBox
,
49967 _swigc__p_wxCommandEvent
,
49968 _swigc__p_wxContextHelp
,
49969 _swigc__p_wxContextHelpButton
,
49970 _swigc__p_wxContextMenuEvent
,
49971 _swigc__p_wxControl
,
49972 _swigc__p_wxControlWithItems
,
49973 _swigc__p_wxCursor
,
49975 _swigc__p_wxDateEvent
,
49976 _swigc__p_wxDatePickerCtrl
,
49977 _swigc__p_wxDateTime
,
49978 _swigc__p_wxDirFilterListCtrl
,
49979 _swigc__p_wxDirPickerCtrl
,
49980 _swigc__p_wxDisplayChangedEvent
,
49981 _swigc__p_wxDropFilesEvent
,
49982 _swigc__p_wxDuplexMode
,
49983 _swigc__p_wxEraseEvent
,
49985 _swigc__p_wxEventBlocker
,
49986 _swigc__p_wxEvtHandler
,
49987 _swigc__p_wxFSFile
,
49988 _swigc__p_wxFileDirPickerEvent
,
49989 _swigc__p_wxFilePickerCtrl
,
49990 _swigc__p_wxFileSystem
,
49991 _swigc__p_wxFlexGridSizer
,
49992 _swigc__p_wxFocusEvent
,
49994 _swigc__p_wxFontPickerCtrl
,
49995 _swigc__p_wxFontPickerEvent
,
49996 _swigc__p_wxGBSizerItem
,
49997 _swigc__p_wxGIFHandler
,
49999 _swigc__p_wxGenericDirCtrl
,
50000 _swigc__p_wxGenericDragImage
,
50001 _swigc__p_wxGridBagSizer
,
50002 _swigc__p_wxGridSizer
,
50003 _swigc__p_wxHelpEvent
,
50004 _swigc__p_wxHelpProvider
,
50005 _swigc__p_wxHyperlinkCtrl
,
50006 _swigc__p_wxHyperlinkEvent
,
50007 _swigc__p_wxICOHandler
,
50009 _swigc__p_wxIconizeEvent
,
50010 _swigc__p_wxIdleEvent
,
50012 _swigc__p_wxImageHandler
,
50013 _swigc__p_wxImageList
,
50014 _swigc__p_wxIndividualLayoutConstraint
,
50015 _swigc__p_wxInitDialogEvent
,
50016 _swigc__p_wxItemContainer
,
50017 _swigc__p_wxJPEGHandler
,
50018 _swigc__p_wxKeyEvent
,
50019 _swigc__p_wxLayoutConstraints
,
50020 _swigc__p_wxListBox
,
50021 _swigc__p_wxListEvent
,
50022 _swigc__p_wxListItem
,
50023 _swigc__p_wxListItemAttr
,
50024 _swigc__p_wxListView
,
50025 _swigc__p_wxListbook
,
50026 _swigc__p_wxListbookEvent
,
50027 _swigc__p_wxMaximizeEvent
,
50028 _swigc__p_wxMemoryDC
,
50030 _swigc__p_wxMenuBar
,
50031 _swigc__p_wxMenuEvent
,
50032 _swigc__p_wxMenuItem
,
50033 _swigc__p_wxMouseCaptureChangedEvent
,
50034 _swigc__p_wxMouseCaptureLostEvent
,
50035 _swigc__p_wxMouseEvent
,
50036 _swigc__p_wxMoveEvent
,
50037 _swigc__p_wxNavigationKeyEvent
,
50038 _swigc__p_wxNcPaintEvent
,
50039 _swigc__p_wxNotebook
,
50040 _swigc__p_wxNotebookEvent
,
50041 _swigc__p_wxNotifyEvent
,
50042 _swigc__p_wxObject
,
50043 _swigc__p_wxPCXHandler
,
50044 _swigc__p_wxPNGHandler
,
50045 _swigc__p_wxPNMHandler
,
50046 _swigc__p_wxPaintEvent
,
50047 _swigc__p_wxPaletteChangedEvent
,
50048 _swigc__p_wxPaperSize
,
50049 _swigc__p_wxPickerBase
,
50052 _swigc__p_wxPyCommandEvent
,
50053 _swigc__p_wxPyControl
,
50054 _swigc__p_wxPyEvent
,
50055 _swigc__p_wxPyImageHandler
,
50056 _swigc__p_wxPyListCtrl
,
50057 _swigc__p_wxPySizer
,
50058 _swigc__p_wxPyTreeCtrl
,
50059 _swigc__p_wxPyTreeItemData
,
50060 _swigc__p_wxPyValidator
,
50061 _swigc__p_wxQueryNewPaletteEvent
,
50062 _swigc__p_wxRadioBox
,
50063 _swigc__p_wxRadioButton
,
50065 _swigc__p_wxScrollBar
,
50066 _swigc__p_wxScrollEvent
,
50067 _swigc__p_wxScrollWinEvent
,
50068 _swigc__p_wxSearchCtrl
,
50069 _swigc__p_wxSetCursorEvent
,
50070 _swigc__p_wxShowEvent
,
50071 _swigc__p_wxSimpleHelpProvider
,
50073 _swigc__p_wxSizeEvent
,
50075 _swigc__p_wxSizerItem
,
50076 _swigc__p_wxSlider
,
50077 _swigc__p_wxSpinButton
,
50078 _swigc__p_wxSpinCtrl
,
50079 _swigc__p_wxSpinEvent
,
50080 _swigc__p_wxStaticBitmap
,
50081 _swigc__p_wxStaticBox
,
50082 _swigc__p_wxStaticBoxSizer
,
50083 _swigc__p_wxStaticLine
,
50084 _swigc__p_wxStaticText
,
50085 _swigc__p_wxStdDialogButtonSizer
,
50086 _swigc__p_wxString
,
50087 _swigc__p_wxSysColourChangedEvent
,
50088 _swigc__p_wxTGAHandler
,
50089 _swigc__p_wxTIFFHandler
,
50090 _swigc__p_wxTextAttr
,
50091 _swigc__p_wxTextCtrl
,
50092 _swigc__p_wxTextUrlEvent
,
50093 _swigc__p_wxToggleButton
,
50094 _swigc__p_wxToolBar
,
50095 _swigc__p_wxToolBarBase
,
50096 _swigc__p_wxToolBarToolBase
,
50097 _swigc__p_wxToolbook
,
50098 _swigc__p_wxToolbookEvent
,
50099 _swigc__p_wxTreeEvent
,
50100 _swigc__p_wxTreeItemId
,
50101 _swigc__p_wxTreebook
,
50102 _swigc__p_wxTreebookEvent
,
50103 _swigc__p_wxUpdateUIEvent
,
50104 _swigc__p_wxValidator
,
50105 _swigc__p_wxVisualAttributes
,
50106 _swigc__p_wxWindow
,
50107 _swigc__p_wxWindowBase
,
50108 _swigc__p_wxWindowCreateEvent
,
50109 _swigc__p_wxWindowDestroyEvent
,
50110 _swigc__p_wxXPMHandler
,
50114 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50116 static swig_const_info swig_const_table
[] = {
50117 {0, 0, 0, 0.0, 0, 0}};
50122 /* -----------------------------------------------------------------------------
50123 * Type initialization:
50124 * This problem is tough by the requirement that no dynamic
50125 * memory is used. Also, since swig_type_info structures store pointers to
50126 * swig_cast_info structures and swig_cast_info structures store pointers back
50127 * to swig_type_info structures, we need some lookup code at initialization.
50128 * The idea is that swig generates all the structures that are needed.
50129 * The runtime then collects these partially filled structures.
50130 * The SWIG_InitializeModule function takes these initial arrays out of
50131 * swig_module, and does all the lookup, filling in the swig_module.types
50132 * array with the correct data and linking the correct swig_cast_info
50133 * structures together.
50135 * The generated swig_type_info structures are assigned staticly to an initial
50136 * array. We just loop though that array, and handle each type individually.
50137 * First we lookup if this type has been already loaded, and if so, use the
50138 * loaded structure instead of the generated one. Then we have to fill in the
50139 * cast linked list. The cast data is initially stored in something like a
50140 * two-dimensional array. Each row corresponds to a type (there are the same
50141 * number of rows as there are in the swig_type_initial array). Each entry in
50142 * a column is one of the swig_cast_info structures for that type.
50143 * The cast_initial array is actually an array of arrays, because each row has
50144 * a variable number of columns. So to actually build the cast linked list,
50145 * we find the array of casts associated with the type, and loop through it
50146 * adding the casts to the list. The one last trick we need to do is making
50147 * sure the type pointer in the swig_cast_info struct is correct.
50149 * First off, we lookup the cast->type name to see if it is already loaded.
50150 * There are three cases to handle:
50151 * 1) If the cast->type has already been loaded AND the type we are adding
50152 * casting info to has not been loaded (it is in this module), THEN we
50153 * replace the cast->type pointer with the type pointer that has already
50155 * 2) If BOTH types (the one we are adding casting info to, and the
50156 * cast->type) are loaded, THEN the cast info has already been loaded by
50157 * the previous module so we just ignore it.
50158 * 3) Finally, if cast->type has not already been loaded, then we add that
50159 * swig_cast_info to the linked list (because the cast->type) pointer will
50161 * ----------------------------------------------------------------------------- */
50171 #define SWIGRUNTIME_DEBUG
50175 SWIG_InitializeModule(void *clientdata
) {
50177 swig_module_info
*module_head
;
50178 static int init_run
= 0;
50180 clientdata
= clientdata
;
50182 if (init_run
) return;
50185 /* Initialize the swig_module */
50186 swig_module
.type_initial
= swig_type_initial
;
50187 swig_module
.cast_initial
= swig_cast_initial
;
50189 /* Try and load any already created modules */
50190 module_head
= SWIG_GetModule(clientdata
);
50192 swig_module
.next
= module_head
->next
;
50193 module_head
->next
= &swig_module
;
50195 /* This is the first module loaded */
50196 swig_module
.next
= &swig_module
;
50197 SWIG_SetModule(clientdata
, &swig_module
);
50200 /* Now work on filling in swig_module.types */
50201 #ifdef SWIGRUNTIME_DEBUG
50202 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50204 for (i
= 0; i
< swig_module
.size
; ++i
) {
50205 swig_type_info
*type
= 0;
50206 swig_type_info
*ret
;
50207 swig_cast_info
*cast
;
50209 #ifdef SWIGRUNTIME_DEBUG
50210 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50213 /* if there is another module already loaded */
50214 if (swig_module
.next
!= &swig_module
) {
50215 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50218 /* Overwrite clientdata field */
50219 #ifdef SWIGRUNTIME_DEBUG
50220 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50222 if (swig_module
.type_initial
[i
]->clientdata
) {
50223 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50224 #ifdef SWIGRUNTIME_DEBUG
50225 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50229 type
= swig_module
.type_initial
[i
];
50232 /* Insert casting types */
50233 cast
= swig_module
.cast_initial
[i
];
50234 while (cast
->type
) {
50235 /* Don't need to add information already in the list */
50237 #ifdef SWIGRUNTIME_DEBUG
50238 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50240 if (swig_module
.next
!= &swig_module
) {
50241 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50242 #ifdef SWIGRUNTIME_DEBUG
50243 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50247 if (type
== swig_module
.type_initial
[i
]) {
50248 #ifdef SWIGRUNTIME_DEBUG
50249 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50254 /* Check for casting already in the list */
50255 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50256 #ifdef SWIGRUNTIME_DEBUG
50257 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50259 if (!ocast
) ret
= 0;
50264 #ifdef SWIGRUNTIME_DEBUG
50265 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50268 type
->cast
->prev
= cast
;
50269 cast
->next
= type
->cast
;
50275 /* Set entry in modules->types array equal to the type */
50276 swig_module
.types
[i
] = type
;
50278 swig_module
.types
[i
] = 0;
50280 #ifdef SWIGRUNTIME_DEBUG
50281 printf("**** SWIG_InitializeModule: Cast List ******\n");
50282 for (i
= 0; i
< swig_module
.size
; ++i
) {
50284 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50285 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50286 while (cast
->type
) {
50287 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50291 printf("---- Total casts: %d\n",j
);
50293 printf("**** SWIG_InitializeModule: Cast List ******\n");
50297 /* This function will propagate the clientdata field of type to
50298 * any new swig_type_info structures that have been added into the list
50299 * of equivalent types. It is like calling
50300 * SWIG_TypeClientData(type, clientdata) a second time.
50303 SWIG_PropagateClientData(void) {
50305 swig_cast_info
*equiv
;
50306 static int init_run
= 0;
50308 if (init_run
) return;
50311 for (i
= 0; i
< swig_module
.size
; i
++) {
50312 if (swig_module
.types
[i
]->clientdata
) {
50313 equiv
= swig_module
.types
[i
]->cast
;
50315 if (!equiv
->converter
) {
50316 if (equiv
->type
&& !equiv
->type
->clientdata
)
50317 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50319 equiv
= equiv
->next
;
50339 /* Python-specific SWIG API */
50340 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50341 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50342 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50344 /* -----------------------------------------------------------------------------
50345 * global variable support code.
50346 * ----------------------------------------------------------------------------- */
50348 typedef struct swig_globalvar
{
50349 char *name
; /* Name of global variable */
50350 PyObject
*(*get_attr
)(void); /* Return the current value */
50351 int (*set_attr
)(PyObject
*); /* Set the value */
50352 struct swig_globalvar
*next
;
50355 typedef struct swig_varlinkobject
{
50357 swig_globalvar
*vars
;
50358 } swig_varlinkobject
;
50360 SWIGINTERN PyObject
*
50361 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50362 return PyString_FromString("<Swig global variables>");
50365 SWIGINTERN PyObject
*
50366 swig_varlink_str(swig_varlinkobject
*v
) {
50367 PyObject
*str
= PyString_FromString("(");
50368 swig_globalvar
*var
;
50369 for (var
= v
->vars
; var
; var
=var
->next
) {
50370 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50371 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50373 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50378 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50379 PyObject
*str
= swig_varlink_str(v
);
50380 fprintf(fp
,"Swig global variables ");
50381 fprintf(fp
,"%s\n", PyString_AsString(str
));
50387 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50388 swig_globalvar
*var
= v
->vars
;
50390 swig_globalvar
*n
= var
->next
;
50397 SWIGINTERN PyObject
*
50398 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50399 PyObject
*res
= NULL
;
50400 swig_globalvar
*var
= v
->vars
;
50402 if (strcmp(var
->name
,n
) == 0) {
50403 res
= (*var
->get_attr
)();
50408 if (res
== NULL
&& !PyErr_Occurred()) {
50409 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50415 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50417 swig_globalvar
*var
= v
->vars
;
50419 if (strcmp(var
->name
,n
) == 0) {
50420 res
= (*var
->set_attr
)(p
);
50425 if (res
== 1 && !PyErr_Occurred()) {
50426 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50431 SWIGINTERN PyTypeObject
*
50432 swig_varlink_type(void) {
50433 static char varlink__doc__
[] = "Swig var link object";
50434 static PyTypeObject varlink_type
;
50435 static int type_init
= 0;
50437 const PyTypeObject tmp
50439 PyObject_HEAD_INIT(NULL
)
50440 0, /* Number of items in variable part (ob_size) */
50441 (char *)"swigvarlink", /* Type name (tp_name) */
50442 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50443 0, /* Itemsize (tp_itemsize) */
50444 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50445 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50446 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50447 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50448 0, /* tp_compare */
50449 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50450 0, /* tp_as_number */
50451 0, /* tp_as_sequence */
50452 0, /* tp_as_mapping */
50455 (reprfunc
)swig_varlink_str
, /* tp_str */
50456 0, /* tp_getattro */
50457 0, /* tp_setattro */
50458 0, /* tp_as_buffer */
50460 varlink__doc__
, /* tp_doc */
50461 0, /* tp_traverse */
50463 0, /* tp_richcompare */
50464 0, /* tp_weaklistoffset */
50465 #if PY_VERSION_HEX >= 0x02020000
50466 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50468 #if PY_VERSION_HEX >= 0x02030000
50471 #ifdef COUNT_ALLOCS
50472 0,0,0,0 /* tp_alloc -> tp_next */
50475 varlink_type
= tmp
;
50476 varlink_type
.ob_type
= &PyType_Type
;
50479 return &varlink_type
;
50482 /* Create a variable linking object for use later */
50483 SWIGINTERN PyObject
*
50484 SWIG_Python_newvarlink(void) {
50485 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50489 return ((PyObject
*) result
);
50493 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50494 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50495 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50497 size_t size
= strlen(name
)+1;
50498 gv
->name
= (char *)malloc(size
);
50500 strncpy(gv
->name
,name
,size
);
50501 gv
->get_attr
= get_attr
;
50502 gv
->set_attr
= set_attr
;
50503 gv
->next
= v
->vars
;
50509 SWIGINTERN PyObject
*
50511 static PyObject
*_SWIG_globals
= 0;
50512 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50513 return _SWIG_globals
;
50516 /* -----------------------------------------------------------------------------
50517 * constants/methods manipulation
50518 * ----------------------------------------------------------------------------- */
50520 /* Install Constants */
50522 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50525 for (i
= 0; constants
[i
].type
; ++i
) {
50526 switch(constants
[i
].type
) {
50527 case SWIG_PY_POINTER
:
50528 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50530 case SWIG_PY_BINARY
:
50531 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50538 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50544 /* -----------------------------------------------------------------------------*/
50545 /* Fix SwigMethods to carry the callback ptrs when needed */
50546 /* -----------------------------------------------------------------------------*/
50549 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50550 swig_const_info
*const_table
,
50551 swig_type_info
**types
,
50552 swig_type_info
**types_initial
) {
50554 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50555 const char *c
= methods
[i
].ml_doc
;
50556 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50558 swig_const_info
*ci
= 0;
50559 const char *name
= c
+ 10;
50560 for (j
= 0; const_table
[j
].type
; ++j
) {
50561 if (strncmp(const_table
[j
].name
, name
,
50562 strlen(const_table
[j
].name
)) == 0) {
50563 ci
= &(const_table
[j
]);
50568 size_t shift
= (ci
->ptype
) - types
;
50569 swig_type_info
*ty
= types_initial
[shift
];
50570 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50571 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50572 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50575 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50577 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50579 strncpy(buff
, "swig_ptr: ", 10);
50581 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50582 methods
[i
].ml_doc
= ndoc
;
50594 /* -----------------------------------------------------------------------------*
50595 * Partial Init method
50596 * -----------------------------------------------------------------------------*/
50601 SWIGEXPORT
void SWIG_init(void) {
50604 /* Fix SwigMethods to carry the callback ptrs when needed */
50605 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50607 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50608 d
= PyModule_GetDict(m
);
50610 SWIG_InitializeModule(0);
50611 SWIG_InstallConstants(d
,swig_const_table
);
50614 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50615 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50616 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50617 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50618 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50619 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50620 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50621 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50622 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50623 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50624 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50625 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50626 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50627 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50628 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50629 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50630 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50631 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50632 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50633 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50634 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50635 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50636 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50637 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50638 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50639 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50640 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
50641 SWIG_Python_SetConstant(d
, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP
)));
50642 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START
)));
50643 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE
)));
50644 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END
)));
50645 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50646 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50647 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50648 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50649 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50650 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50651 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50652 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50653 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50654 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50655 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50656 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50657 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50658 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50659 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50660 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50661 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50662 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50663 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50664 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50665 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50666 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50667 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50668 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50669 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50670 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50671 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50672 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50673 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50674 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50675 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50676 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50677 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50678 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50679 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50680 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50681 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50682 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50683 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50684 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50685 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50686 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50687 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50688 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50689 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50690 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50691 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50692 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50694 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50697 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50698 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50699 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50700 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50701 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50702 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50703 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50704 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50705 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50706 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50707 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50708 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50709 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50710 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50711 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50712 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50713 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50714 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50715 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50716 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50717 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50718 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50719 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50720 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50721 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50722 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50723 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50724 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50725 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50726 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50727 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50728 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50729 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50730 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50731 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50732 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50733 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50734 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50735 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50736 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50737 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50738 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50739 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50740 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50741 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50742 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50743 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50744 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50745 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50746 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50747 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50748 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50749 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50750 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50751 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50752 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50753 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50754 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50755 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50756 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50757 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50758 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50759 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50760 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50761 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50762 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50763 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50764 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50771 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50772 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50773 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50774 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50775 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50776 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50777 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50778 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50779 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50780 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50781 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50782 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50783 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50784 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50785 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50786 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50787 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50788 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50789 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50790 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50791 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50792 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50793 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50794 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50795 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50796 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50797 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50798 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50799 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50800 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50801 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50802 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50803 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50804 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50805 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50806 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50807 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50808 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50809 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50810 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50811 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50812 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50813 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50814 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50815 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50816 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50817 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50818 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50819 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50820 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50821 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50822 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50823 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50824 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50825 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50826 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50827 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50828 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50829 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50830 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50831 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50832 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50833 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50834 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50835 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50836 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50837 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50838 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50839 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50840 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50841 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50842 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50843 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50844 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50845 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50846 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50847 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50848 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50849 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50850 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50851 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50852 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50853 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50854 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50855 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50856 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50857 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50858 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50859 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50870 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50881 // Map renamed classes back to their common name for OOR
50882 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50884 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50885 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50886 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50887 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50888 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50889 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50890 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50891 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50892 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50893 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50894 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50895 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50896 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50897 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50898 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50899 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50900 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50901 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50902 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50903 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50904 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50905 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50906 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50907 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50908 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50909 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50910 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50911 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50912 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50913 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50914 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50915 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50916 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50917 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50918 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50921 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50922 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50923 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50924 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50925 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50926 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50927 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50928 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50929 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50931 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50932 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50939 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50941 // Map renamed classes back to their common name for OOR
50942 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50943 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50945 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50946 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50947 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50948 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50949 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50950 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50951 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50952 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50953 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50954 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50955 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50957 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50959 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50960 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50961 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50962 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50963 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50964 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50965 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50966 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50967 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50968 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50969 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50970 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50971 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50972 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50973 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50974 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50975 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50976 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50977 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50978 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50979 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50980 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50981 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50982 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50983 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50984 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50985 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50986 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50987 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50988 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50989 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50990 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50991 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50992 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50993 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50994 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50995 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50996 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50997 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50998 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50999 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51000 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51001 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51002 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51003 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51004 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51005 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51006 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51007 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51008 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));