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_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2904 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2905 self
->AppendText(text
);
2907 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2908 return self
->GetValue().Mid(from
, to
- from
);
2910 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2911 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2912 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2914 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_unsigned_SS_long (unsigned long value
)
2919 return (value
> LONG_MAX
) ?
2920 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_size_t (size_t value
)
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_unsigned_SS_int (unsigned int value
)
2934 return SWIG_From_unsigned_SS_long (value
);
2938 #include <wx/slider.h>
2941 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2942 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2949 class wxToggleButton
: public wxControl
2952 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2953 const wxPoint
&, const wxSize
&, long,
2954 const wxValidator
&, const wxString
&)
2955 { wxPyRaiseNotImplemented(); }
2958 { wxPyRaiseNotImplemented(); }
2962 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2964 SWIGINTERNINLINE
int
2965 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2968 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2969 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2974 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2985 self
->SetClientData(new wxPyUserData(clientData
));
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 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
){
2995 wxPyUserData
* udata
= NULL
;
2996 if (clientData
&& clientData
!= Py_None
)
2997 udata
= new wxPyUserData(clientData
);
2998 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2999 shortHelp
, longHelp
, udata
);
3001 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3002 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3004 Py_INCREF(udata
->m_obj
);
3005 return udata
->m_obj
;
3011 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3012 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3015 #include <wx/listctrl.h>
3017 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3018 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3022 PyObject
* func
= (PyObject
*)funcPtr
;
3023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3026 PyObject
* result
= PyEval_CallObject(func
, args
);
3029 retval
= PyInt_AsLong(result
);
3033 wxPyEndBlockThreads(blocked
);
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl
: public wxListCtrl
{
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) :
3048 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3050 bool Create(wxWindow
* parent
, wxWindowID id
,
3054 const wxValidator
& validator
,
3055 const wxString
& name
) {
3056 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3077 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3079 item
.SetMask( wxLIST_MASK_STATE
|
3087 if (self
->GetColumn(col
, item
))
3088 return new wxListItem(item
);
3092 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3093 wxListItem
* info
= new wxListItem
;
3094 info
->m_itemId
= itemId
;
3096 info
->m_mask
= 0xFFFF;
3097 self
->GetItem(*info
);
3100 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3102 self
->GetItemPosition(item
, pos
);
3105 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3107 self
->GetItemRect(item
, rect
, code
);
3110 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3111 if (!PyCallable_Check(func
))
3113 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3115 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3119 return (wxWindow
*)self
->m_mainWin
;
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3126 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3128 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3129 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3131 static wxTreeItemId wxNullTreeItemId
;
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl
: public wxTreeCtrl
{
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) :
3144 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3146 bool Create(wxWindow
*parent
, wxWindowID id
,
3150 const wxValidator
& validator
,
3151 const wxString
& name
) {
3152 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3156 int OnCompareItems(const wxTreeItemId
& item1
,
3157 const wxTreeItemId
& item2
) {
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3162 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3163 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3164 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3179 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3180 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3182 data
= new wxPyTreeItemData();
3183 data
->SetId(item
); // set the id
3184 self
->SetItemData(item
, data
);
3188 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3189 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3191 data
= new wxPyTreeItemData();
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 return data
->GetData();
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3201 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3202 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3204 data
= new wxPyTreeItemData(obj
);
3205 data
->SetId(item
); // set the id
3206 self
->SetItemData(item
, data
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* rval
= PyList_New(0);
3213 wxArrayTreeItemIds array
;
3215 num
= self
->GetSelections(array
);
3216 for (x
=0; x
< num
; x
++) {
3217 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3218 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval
, item
);
3222 wxPyEndBlockThreads(blocked
);
3225 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3227 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 PyObject
* tup
= PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3232 wxPyEndBlockThreads(blocked
);
3235 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3236 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3237 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3238 PyObject
* tup
= PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3241 wxPyEndBlockThreads(blocked
);
3244 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3246 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3247 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3248 wxRect
* r
= new wxRect(rect
);
3249 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked
);
3256 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxControl
3265 class wxPyControl
: public wxControl
3267 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxValidator
& validator
=wxDefaultValidator
,
3275 const wxString
& name
= wxPyControlNameStr
)
3276 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3358 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3360 #include <wx/generic/dragimgg.h>
3362 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3363 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3365 self
->GetRange(&rv
, NULL
);
3368 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3370 self
->GetRange(NULL
, &rv
);
3373 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3374 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3375 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3376 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3377 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3378 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3379 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3380 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3381 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3392 class wxSearchCtrl
: public wxTextCtrl
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow
*, wxWindowID
,
3402 const wxString
& name
)
3403 { wxPyRaiseNotImplemented(); }
3405 bool Create( wxWindow
*, wxWindowID
,
3411 const wxString
& name
) {}
3413 virtual void SetMenu( wxMenu
* ) {}
3414 virtual wxMenu
* GetMenu() { return NULL
; }
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3424 virtual void SetDescriptiveText(const wxString
& text
);
3425 virtual wxString
GetDescriptiveText() const;
3432 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3433 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3438 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3439 PyObject
*pyobj
= 0;
3443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3452 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
= 0;
3454 wxWindow
*arg1
= (wxWindow
*) 0 ;
3455 int arg2
= (int) -1 ;
3456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3462 long arg6
= (long) 0 ;
3463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3467 wxButton
*result
= 0 ;
3472 bool temp3
= false ;
3479 bool temp8
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 PyObject
* obj7
= 0 ;
3488 char * kwnames
[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3500 if (!SWIG_IsOK(ecode2
)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 arg2
= static_cast< int >(val2
);
3507 arg3
= wxString_in_helper(obj2
);
3508 if (arg3
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3526 if (!SWIG_IsOK(ecode6
)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 arg6
= static_cast< long >(val6
);
3532 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3533 if (!SWIG_IsOK(res7
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3543 arg8
= wxString_in_helper(obj7
);
3544 if (arg8
== NULL
) SWIG_fail
;
3549 if (!wxPyCheckForApp()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3578 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxButton
*result
= 0 ;
3582 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3584 if (!wxPyCheckForApp()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxButton
*)new wxButton();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3597 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxButton
*arg1
= (wxButton
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 int arg3
= (int) -1 ;
3602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3608 long arg7
= (long) 0 ;
3609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3611 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3620 bool temp4
= false ;
3627 bool temp9
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 PyObject
* obj7
= 0 ;
3636 PyObject
* obj8
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3648 if (!SWIG_IsOK(res2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3654 if (!SWIG_IsOK(ecode3
)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 arg3
= static_cast< int >(val3
);
3661 arg4
= wxString_in_helper(obj3
);
3662 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3679 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3680 if (!SWIG_IsOK(ecode7
)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 arg7
= static_cast< long >(val7
);
3686 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3687 if (!SWIG_IsOK(res8
)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3733 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxButton
*arg1
= (wxButton
*) 0 ;
3738 PyObject
*swig_obj
[1] ;
3740 if (!args
) SWIG_fail
;
3742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3743 if (!SWIG_IsOK(res1
)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3746 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetDefault();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_Py_Void();
3760 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 PyObject
*resultobj
= 0;
3764 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= wxButton::GetDefaultSize();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3778 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3781 SwigValueWrapper
<wxVisualAttributes
> result
;
3784 PyObject
* obj0
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "variant", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3792 if (!SWIG_IsOK(ecode1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3795 arg1
= static_cast< wxWindowVariant
>(val1
);
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= wxButton::GetClassDefaultAttributes(arg1
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3811 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3814 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3815 return SWIG_Py_Void();
3818 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3819 return SWIG_Python_InitShadowInstance(args
);
3822 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
= 0;
3824 wxWindow
*arg1
= (wxWindow
*) 0 ;
3825 int arg2
= (int) -1 ;
3826 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3827 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3832 long arg6
= (long) wxBU_AUTODRAW
;
3833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3835 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3837 wxBitmapButton
*result
= 0 ;
3850 bool temp8
= false ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3853 PyObject
* obj2
= 0 ;
3854 PyObject
* obj3
= 0 ;
3855 PyObject
* obj4
= 0 ;
3856 PyObject
* obj5
= 0 ;
3857 PyObject
* obj6
= 0 ;
3858 PyObject
* obj7
= 0 ;
3859 char * kwnames
[] = {
3860 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3865 if (!SWIG_IsOK(res1
)) {
3866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3871 if (!SWIG_IsOK(ecode2
)) {
3872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3874 arg2
= static_cast< int >(val2
);
3877 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3878 if (!SWIG_IsOK(res3
)) {
3879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3900 if (!SWIG_IsOK(ecode6
)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3903 arg6
= static_cast< long >(val6
);
3906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3907 if (!SWIG_IsOK(res7
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3917 arg8
= wxString_in_helper(obj7
);
3918 if (arg8
== NULL
) SWIG_fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3944 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxBitmapButton
*result
= 0 ;
3948 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3950 if (!wxPyCheckForApp()) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (wxBitmapButton
*)new wxBitmapButton();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3963 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
= 0;
3965 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3966 wxWindow
*arg2
= (wxWindow
*) 0 ;
3967 int arg3
= (int) -1 ;
3968 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3969 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3974 long arg7
= (long) wxBU_AUTODRAW
;
3975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3977 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3994 bool temp9
= false ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3997 PyObject
* obj2
= 0 ;
3998 PyObject
* obj3
= 0 ;
3999 PyObject
* obj4
= 0 ;
4000 PyObject
* obj5
= 0 ;
4001 PyObject
* obj6
= 0 ;
4002 PyObject
* obj7
= 0 ;
4003 PyObject
* obj8
= 0 ;
4004 char * kwnames
[] = {
4005 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4010 if (!SWIG_IsOK(res1
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4013 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4015 if (!SWIG_IsOK(res2
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4021 if (!SWIG_IsOK(ecode3
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4024 arg3
= static_cast< int >(val3
);
4027 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4028 if (!SWIG_IsOK(res4
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4049 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4050 if (!SWIG_IsOK(ecode7
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4053 arg7
= static_cast< long >(val7
);
4056 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4057 if (!SWIG_IsOK(res8
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4067 arg9
= wxString_in_helper(obj8
);
4068 if (arg9
== NULL
) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4095 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 PyObject
*resultobj
= 0;
4097 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4101 PyObject
*swig_obj
[1] ;
4103 if (!args
) SWIG_fail
;
4105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4106 if (!SWIG_IsOK(res1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (arg1
)->GetBitmapLabel();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4123 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4124 PyObject
*resultobj
= 0;
4125 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4129 PyObject
*swig_obj
[1] ;
4131 if (!args
) SWIG_fail
;
4133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4134 if (!SWIG_IsOK(res1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (arg1
)->GetBitmapDisabled();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4151 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4152 PyObject
*resultobj
= 0;
4153 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 PyObject
*swig_obj
[1] ;
4159 if (!args
) SWIG_fail
;
4161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4162 if (!SWIG_IsOK(res1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (arg1
)->GetBitmapFocus();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4179 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4180 PyObject
*resultobj
= 0;
4181 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4185 PyObject
*swig_obj
[1] ;
4187 if (!args
) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4193 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (arg1
)->GetBitmapSelected();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4207 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4213 PyObject
*swig_obj
[1] ;
4215 if (!args
) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (arg1
)->GetBitmapHover();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4235 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4238 wxBitmap
*arg2
= 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "bitmap", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4254 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4256 if (!SWIG_IsOK(res2
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_Py_Void();
4276 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
= 0;
4278 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4279 wxBitmap
*arg2
= 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4286 char * kwnames
[] = {
4287 (char *) "self",(char *) "bitmap", NULL
4290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4295 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4297 if (!SWIG_IsOK(res2
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_Py_Void();
4317 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4320 wxBitmap
*arg2
= 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 char * kwnames
[] = {
4328 (char *) "self",(char *) "bitmap", NULL
4331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4336 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4338 if (!SWIG_IsOK(res2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_Py_Void();
4358 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4361 wxBitmap
*arg2
= 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "bitmap", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4377 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4379 if (!SWIG_IsOK(res2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= SWIG_Py_Void();
4399 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= 0;
4401 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4402 wxBitmap
*arg2
= 0 ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "hover", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4420 if (!SWIG_IsOK(res2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 PyObject
* obj2
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "self",(char *) "x",(char *) "y", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4463 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4465 if (!SWIG_IsOK(ecode2
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4468 arg2
= static_cast< int >(val2
);
4469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4470 if (!SWIG_IsOK(ecode3
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4473 arg3
= static_cast< int >(val3
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetMargins(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 PyObject
*resultobj
= 0;
4489 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4493 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4501 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_From_int(static_cast< int >(result
));
4515 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4521 PyObject
*swig_obj
[1] ;
4523 if (!args
) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4529 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_From_int(static_cast< int >(result
));
4543 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4546 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4547 return SWIG_Py_Void();
4550 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 return SWIG_Python_InitShadowInstance(args
);
4554 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4555 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4560 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4561 PyObject
*pyobj
= 0;
4565 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4567 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4574 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxWindow
*arg1
= (wxWindow
*) 0 ;
4577 int arg2
= (int) -1 ;
4578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) 0 ;
4585 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4586 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4587 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4588 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4589 wxCheckBox
*result
= 0 ;
4594 bool temp3
= false ;
4601 bool temp8
= false ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 PyObject
* obj2
= 0 ;
4605 PyObject
* obj3
= 0 ;
4606 PyObject
* obj4
= 0 ;
4607 PyObject
* obj5
= 0 ;
4608 PyObject
* obj6
= 0 ;
4609 PyObject
* obj7
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4622 if (!SWIG_IsOK(ecode2
)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4625 arg2
= static_cast< int >(val2
);
4629 arg3
= wxString_in_helper(obj2
);
4630 if (arg3
== NULL
) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4648 if (!SWIG_IsOK(ecode6
)) {
4649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4651 arg6
= static_cast< long >(val6
);
4654 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4655 if (!SWIG_IsOK(res7
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4665 arg8
= wxString_in_helper(obj7
);
4666 if (arg8
== NULL
) SWIG_fail
;
4671 if (!wxPyCheckForApp()) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4700 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxCheckBox
*result
= 0 ;
4704 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4706 if (!wxPyCheckForApp()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (wxCheckBox
*)new wxCheckBox();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4719 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
= 0;
4721 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4722 wxWindow
*arg2
= (wxWindow
*) 0 ;
4723 int arg3
= (int) -1 ;
4724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4730 long arg7
= (long) 0 ;
4731 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4732 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4733 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4734 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4742 bool temp4
= false ;
4749 bool temp9
= false ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4753 PyObject
* obj3
= 0 ;
4754 PyObject
* obj4
= 0 ;
4755 PyObject
* obj5
= 0 ;
4756 PyObject
* obj6
= 0 ;
4757 PyObject
* obj7
= 0 ;
4758 PyObject
* obj8
= 0 ;
4759 char * kwnames
[] = {
4760 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4765 if (!SWIG_IsOK(res1
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4768 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res2
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4776 if (!SWIG_IsOK(ecode3
)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4779 arg3
= static_cast< int >(val3
);
4783 arg4
= wxString_in_helper(obj3
);
4784 if (arg4
== NULL
) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4801 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4802 if (!SWIG_IsOK(ecode7
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4805 arg7
= static_cast< long >(val7
);
4808 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4809 if (!SWIG_IsOK(res8
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4819 arg9
= wxString_in_helper(obj8
);
4820 if (arg9
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4855 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 PyObject
*resultobj
= 0;
4857 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4861 PyObject
*swig_obj
[1] ;
4863 if (!args
) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4869 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (bool)(arg1
)->GetValue();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4885 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4886 PyObject
*resultobj
= 0;
4887 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4891 PyObject
*swig_obj
[1] ;
4893 if (!args
) SWIG_fail
;
4895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4896 if (!SWIG_IsOK(res1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4899 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (bool)(arg1
)->IsChecked();
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4915 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4925 char * kwnames
[] = {
4926 (char *) "self",(char *) "state", NULL
4929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4931 if (!SWIG_IsOK(res1
)) {
4932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4934 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4936 if (!SWIG_IsOK(ecode2
)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4939 arg2
= static_cast< bool >(val2
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->SetValue(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_Py_Void();
4953 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4954 PyObject
*resultobj
= 0;
4955 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4956 wxCheckBoxState result
;
4959 PyObject
*swig_obj
[1] ;
4961 if (!args
) SWIG_fail
;
4963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4964 if (!SWIG_IsOK(res1
)) {
4965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4967 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int(static_cast< int >(result
));
4981 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
= 0;
4983 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4984 wxCheckBoxState arg2
;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 char * kwnames
[] = {
4992 (char *) "self",(char *) "state", NULL
4995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5000 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5002 if (!SWIG_IsOK(ecode2
)) {
5003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5005 arg2
= static_cast< wxCheckBoxState
>(val2
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->Set3StateValue(arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5020 PyObject
*resultobj
= 0;
5021 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5025 PyObject
*swig_obj
[1] ;
5027 if (!args
) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5033 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5063 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5079 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5082 SwigValueWrapper
<wxVisualAttributes
> result
;
5085 PyObject
* obj0
= 0 ;
5086 char * kwnames
[] = {
5087 (char *) "variant", NULL
5090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5093 if (!SWIG_IsOK(ecode1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5096 arg1
= static_cast< wxWindowVariant
>(val1
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5112 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5115 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5116 return SWIG_Py_Void();
5119 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 return SWIG_Python_InitShadowInstance(args
);
5123 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5124 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5129 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5130 PyObject
*pyobj
= 0;
5134 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5136 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5143 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxWindow
*arg1
= (wxWindow
*) 0 ;
5146 int arg2
= (int) -1 ;
5147 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5148 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5151 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5152 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5153 long arg6
= (long) 0 ;
5154 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5155 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5156 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5158 wxChoice
*result
= 0 ;
5165 bool temp5
= false ;
5170 bool temp8
= false ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5173 PyObject
* obj2
= 0 ;
5174 PyObject
* obj3
= 0 ;
5175 PyObject
* obj4
= 0 ;
5176 PyObject
* obj5
= 0 ;
5177 PyObject
* obj6
= 0 ;
5178 PyObject
* obj7
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5191 if (!SWIG_IsOK(ecode2
)) {
5192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5194 arg2
= static_cast< int >(val2
);
5199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5210 if (! PySequence_Check(obj4
)) {
5211 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5214 arg5
= new wxArrayString
;
5216 int i
, len
=PySequence_Length(obj4
);
5217 for (i
=0; i
<len
; i
++) {
5218 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5219 wxString
* s
= wxString_in_helper(item
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5228 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5229 if (!SWIG_IsOK(ecode6
)) {
5230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5232 arg6
= static_cast< long >(val6
);
5235 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5236 if (!SWIG_IsOK(res7
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 if (!wxPyCheckForApp()) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5260 if (temp5
) delete arg5
;
5269 if (temp5
) delete arg5
;
5279 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxChoice
*result
= 0 ;
5283 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5285 if (!wxPyCheckForApp()) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (wxChoice
*)new wxChoice();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5298 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= 0;
5300 wxChoice
*arg1
= (wxChoice
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5307 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5308 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5311 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5312 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5313 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5323 bool temp6
= false ;
5328 bool temp9
= false ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5333 PyObject
* obj4
= 0 ;
5334 PyObject
* obj5
= 0 ;
5335 PyObject
* obj6
= 0 ;
5336 PyObject
* obj7
= 0 ;
5337 PyObject
* obj8
= 0 ;
5338 char * kwnames
[] = {
5339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5344 if (!SWIG_IsOK(res1
)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5347 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5349 if (!SWIG_IsOK(res2
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5355 if (!SWIG_IsOK(ecode3
)) {
5356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5358 arg3
= static_cast< int >(val3
);
5363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5374 if (! PySequence_Check(obj5
)) {
5375 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5378 arg6
= new wxArrayString
;
5380 int i
, len
=PySequence_Length(obj5
);
5381 for (i
=0; i
<len
; i
++) {
5382 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5383 wxString
* s
= wxString_in_helper(item
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5393 if (!SWIG_IsOK(ecode7
)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5396 arg7
= static_cast< long >(val7
);
5399 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5400 if (!SWIG_IsOK(res8
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5410 arg9
= wxString_in_helper(obj8
);
5411 if (arg9
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5425 if (temp6
) delete arg6
;
5434 if (temp6
) delete arg6
;
5444 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5445 PyObject
*resultobj
= 0;
5446 wxChoice
*arg1
= (wxChoice
*) 0 ;
5450 PyObject
*swig_obj
[1] ;
5452 if (!args
) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5458 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_int(static_cast< int >(result
));
5472 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
= 0;
5474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5475 SwigValueWrapper
<wxVisualAttributes
> result
;
5478 PyObject
* obj0
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "variant", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5486 if (!SWIG_IsOK(ecode1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5489 arg1
= static_cast< wxWindowVariant
>(val1
);
5492 if (!wxPyCheckForApp()) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5505 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5508 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5509 return SWIG_Py_Void();
5512 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5513 return SWIG_Python_InitShadowInstance(args
);
5516 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5517 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5522 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5523 PyObject
*pyobj
= 0;
5527 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5529 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5536 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxWindow
*arg1
= (wxWindow
*) 0 ;
5539 int arg2
= (int) -1 ;
5540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5546 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5547 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5548 long arg7
= (long) 0 ;
5549 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5550 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5551 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5552 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5553 wxComboBox
*result
= 0 ;
5558 bool temp3
= false ;
5561 bool temp6
= false ;
5566 bool temp9
= false ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5571 PyObject
* obj4
= 0 ;
5572 PyObject
* obj5
= 0 ;
5573 PyObject
* obj6
= 0 ;
5574 PyObject
* obj7
= 0 ;
5575 PyObject
* obj8
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5588 if (!SWIG_IsOK(ecode2
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5591 arg2
= static_cast< int >(val2
);
5595 arg3
= wxString_in_helper(obj2
);
5596 if (arg3
== NULL
) SWIG_fail
;
5603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5614 if (! PySequence_Check(obj5
)) {
5615 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5618 arg6
= new wxArrayString
;
5620 int i
, len
=PySequence_Length(obj5
);
5621 for (i
=0; i
<len
; i
++) {
5622 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5623 wxString
* s
= wxString_in_helper(item
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5633 if (!SWIG_IsOK(ecode7
)) {
5634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5636 arg7
= static_cast< long >(val7
);
5639 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5640 if (!SWIG_IsOK(res8
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5650 arg9
= wxString_in_helper(obj8
);
5651 if (arg9
== NULL
) SWIG_fail
;
5656 if (!wxPyCheckForApp()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 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
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5668 if (temp6
) delete arg6
;
5681 if (temp6
) delete arg6
;
5691 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 PyObject
*resultobj
= 0;
5693 wxComboBox
*result
= 0 ;
5695 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxComboBox
*)new wxComboBox();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5710 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5713 wxWindow
*arg2
= (wxWindow
*) 0 ;
5714 int arg3
= (int) -1 ;
5715 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5717 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5718 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5719 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5720 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5721 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5722 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5723 long arg8
= (long) 0 ;
5724 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5725 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5726 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5735 bool temp4
= false ;
5738 bool temp7
= false ;
5743 bool temp10
= false ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5748 PyObject
* obj4
= 0 ;
5749 PyObject
* obj5
= 0 ;
5750 PyObject
* obj6
= 0 ;
5751 PyObject
* obj7
= 0 ;
5752 PyObject
* obj8
= 0 ;
5753 PyObject
* obj9
= 0 ;
5754 char * kwnames
[] = {
5755 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5763 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res2
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5771 if (!SWIG_IsOK(ecode3
)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5774 arg3
= static_cast< int >(val3
);
5778 arg4
= wxString_in_helper(obj3
);
5779 if (arg4
== NULL
) SWIG_fail
;
5786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5797 if (! PySequence_Check(obj6
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg7
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj6
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5806 wxString
* s
= wxString_in_helper(item
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5815 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5816 if (!SWIG_IsOK(ecode8
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5819 arg8
= static_cast< long >(val8
);
5822 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5823 if (!SWIG_IsOK(res9
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5833 arg10
= wxString_in_helper(obj9
);
5834 if (arg10
== NULL
) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 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
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5852 if (temp7
) delete arg7
;
5865 if (temp7
) delete arg7
;
5875 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5876 PyObject
*resultobj
= 0;
5877 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5881 PyObject
*swig_obj
[1] ;
5883 if (!args
) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5889 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= ((wxComboBox
const *)arg1
)->GetValue();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5909 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= 0;
5911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 wxString
*arg2
= 0 ;
5915 bool temp2
= false ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "value", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5927 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5929 arg2
= wxString_in_helper(obj1
);
5930 if (arg2
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetValue((wxString
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5986 PyObject
*swig_obj
[1] ;
5988 if (!args
) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5994 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_Py_Void();
6008 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6009 PyObject
*resultobj
= 0;
6010 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6013 PyObject
*swig_obj
[1] ;
6015 if (!args
) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6021 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_Py_Void();
6035 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= 0;
6037 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 char * kwnames
[] = {
6046 (char *) "self",(char *) "pos", NULL
6049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6054 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6056 if (!SWIG_IsOK(ecode2
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6059 arg2
= static_cast< long >(val2
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->SetInsertionPoint(arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_Py_Void();
6073 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6074 PyObject
*resultobj
= 0;
6075 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 PyObject
*swig_obj
[1] ;
6081 if (!args
) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6087 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_From_long(static_cast< long >(result
));
6101 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6115 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_From_long(static_cast< long >(result
));
6129 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6134 wxString
*arg4
= 0 ;
6141 bool temp4
= false ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6155 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6157 if (!SWIG_IsOK(ecode2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6160 arg2
= static_cast< long >(val2
);
6161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6162 if (!SWIG_IsOK(ecode3
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6165 arg3
= static_cast< long >(val3
);
6167 arg4
= wxString_in_helper(obj3
);
6168 if (arg4
== NULL
) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6192 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= 0;
6194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "from",(char *) "to", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6217 if (!SWIG_IsOK(ecode2
)) {
6218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6220 arg2
= static_cast< long >(val2
);
6221 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6222 if (!SWIG_IsOK(ecode3
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6225 arg3
= static_cast< long >(val3
);
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->SetSelection(arg2
,arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_Py_Void();
6239 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 long *arg2
= (long *) 0 ;
6243 long *arg3
= (long *) 0 ;
6247 int res2
= SWIG_TMPOBJ
;
6249 int res3
= SWIG_TMPOBJ
;
6250 PyObject
*swig_obj
[1] ;
6254 if (!args
) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6260 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 (arg1
)->GetSelection(arg2
,arg3
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6268 if (SWIG_IsTmpObj(res2
)) {
6269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6271 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6274 if (SWIG_IsTmpObj(res3
)) {
6275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6286 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6292 PyObject
*swig_obj
[1] ;
6294 if (!args
) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6300 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_From_int(static_cast< int >(result
));
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6317 wxString
*arg2
= 0 ;
6321 bool temp2
= false ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "string", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxGauge
*arg1
= (wxGauge
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "w", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7272 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetShadowWidth(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7305 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int(static_cast< int >(result
));
7319 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxGauge
*arg1
= (wxGauge
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "w", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7338 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7340 if (!SWIG_IsOK(ecode2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7343 arg2
= static_cast< int >(val2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetBezelFace(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxGauge
*arg1
= (wxGauge
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7371 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7388 SwigValueWrapper
<wxVisualAttributes
> result
;
7391 PyObject
* obj0
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "variant", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7399 if (!SWIG_IsOK(ecode1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7402 arg1
= static_cast< wxWindowVariant
>(val1
);
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7418 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7422 return SWIG_Py_Void();
7425 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 return SWIG_Python_InitShadowInstance(args
);
7429 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7430 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7435 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7436 PyObject
*pyobj
= 0;
7440 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7442 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7449 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7450 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7455 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7456 PyObject
*pyobj
= 0;
7460 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7462 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7469 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7470 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7475 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7476 PyObject
*pyobj
= 0;
7480 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7482 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7489 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7490 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7495 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7496 PyObject
*pyobj
= 0;
7500 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7502 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7509 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxWindow
*arg1
= (wxWindow
*) 0 ;
7512 int arg2
= (int) -1 ;
7513 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7514 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7519 long arg6
= (long) 0 ;
7520 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7522 wxStaticBox
*result
= 0 ;
7527 bool temp3
= false ;
7532 bool temp7
= false ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7538 PyObject
* obj5
= 0 ;
7539 PyObject
* obj6
= 0 ;
7540 char * kwnames
[] = {
7541 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7546 if (!SWIG_IsOK(res1
)) {
7547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7552 if (!SWIG_IsOK(ecode2
)) {
7553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7555 arg2
= static_cast< int >(val2
);
7559 arg3
= wxString_in_helper(obj2
);
7560 if (arg3
== NULL
) SWIG_fail
;
7567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7578 if (!SWIG_IsOK(ecode6
)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7581 arg6
= static_cast< long >(val6
);
7585 arg7
= wxString_in_helper(obj6
);
7586 if (arg7
== NULL
) SWIG_fail
;
7591 if (!wxPyCheckForApp()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7620 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7621 PyObject
*resultobj
= 0;
7622 wxStaticBox
*result
= 0 ;
7624 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7626 if (!wxPyCheckForApp()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxStaticBox
*)new wxStaticBox();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7639 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7642 wxWindow
*arg2
= (wxWindow
*) 0 ;
7643 int arg3
= (int) -1 ;
7644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7650 long arg7
= (long) 0 ;
7651 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7660 bool temp4
= false ;
7665 bool temp8
= false ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7668 PyObject
* obj2
= 0 ;
7669 PyObject
* obj3
= 0 ;
7670 PyObject
* obj4
= 0 ;
7671 PyObject
* obj5
= 0 ;
7672 PyObject
* obj6
= 0 ;
7673 PyObject
* obj7
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7683 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7685 if (!SWIG_IsOK(res2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7691 if (!SWIG_IsOK(ecode3
)) {
7692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7694 arg3
= static_cast< int >(val3
);
7698 arg4
= wxString_in_helper(obj3
);
7699 if (arg4
== NULL
) SWIG_fail
;
7706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7717 if (!SWIG_IsOK(ecode7
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7720 arg7
= static_cast< long >(val7
);
7724 arg8
= wxString_in_helper(obj7
);
7725 if (arg8
== NULL
) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7760 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7763 SwigValueWrapper
<wxVisualAttributes
> result
;
7766 PyObject
* obj0
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "variant", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7774 if (!SWIG_IsOK(ecode1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7777 arg1
= static_cast< wxWindowVariant
>(val1
);
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7793 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7797 return SWIG_Py_Void();
7800 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 return SWIG_Python_InitShadowInstance(args
);
7804 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxWindow
*arg1
= (wxWindow
*) 0 ;
7807 int arg2
= (int) -1 ;
7808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7812 long arg5
= (long) wxLI_HORIZONTAL
;
7813 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7814 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7815 wxStaticLine
*result
= 0 ;
7824 bool temp6
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7828 PyObject
* obj3
= 0 ;
7829 PyObject
* obj4
= 0 ;
7830 PyObject
* obj5
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7861 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7862 if (!SWIG_IsOK(ecode5
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7865 arg5
= static_cast< long >(val5
);
7869 arg6
= wxString_in_helper(obj5
);
7870 if (arg6
== NULL
) SWIG_fail
;
7875 if (!wxPyCheckForApp()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7896 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxStaticLine
*result
= 0 ;
7900 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7902 if (!wxPyCheckForApp()) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (wxStaticLine
*)new wxStaticLine();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7915 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
= 0;
7917 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7918 wxWindow
*arg2
= (wxWindow
*) 0 ;
7919 int arg3
= (int) -1 ;
7920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7924 long arg6
= (long) wxLI_HORIZONTAL
;
7925 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7938 bool temp7
= false ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7942 PyObject
* obj3
= 0 ;
7943 PyObject
* obj4
= 0 ;
7944 PyObject
* obj5
= 0 ;
7945 PyObject
* obj6
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7955 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7957 if (!SWIG_IsOK(res2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7963 if (!SWIG_IsOK(ecode3
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7966 arg3
= static_cast< int >(val3
);
7971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7981 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7982 if (!SWIG_IsOK(ecode6
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7985 arg6
= static_cast< long >(val6
);
7989 arg7
= wxString_in_helper(obj6
);
7990 if (arg7
== NULL
) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8017 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 PyObject
*resultobj
= 0;
8019 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8023 PyObject
*swig_obj
[1] ;
8025 if (!args
) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8031 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8047 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8051 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (int)wxStaticLine::GetDefaultSize();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_From_int(static_cast< int >(result
));
8065 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= 0;
8067 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8068 SwigValueWrapper
<wxVisualAttributes
> result
;
8071 PyObject
* obj0
= 0 ;
8072 char * kwnames
[] = {
8073 (char *) "variant", NULL
8076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8079 if (!SWIG_IsOK(ecode1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8082 arg1
= static_cast< wxWindowVariant
>(val1
);
8085 if (!wxPyCheckForApp()) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8098 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8101 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8102 return SWIG_Py_Void();
8105 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 return SWIG_Python_InitShadowInstance(args
);
8109 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
= 0;
8111 wxWindow
*arg1
= (wxWindow
*) 0 ;
8112 int arg2
= (int) -1 ;
8113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8119 long arg6
= (long) 0 ;
8120 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8122 wxStaticText
*result
= 0 ;
8127 bool temp3
= false ;
8132 bool temp7
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8137 PyObject
* obj4
= 0 ;
8138 PyObject
* obj5
= 0 ;
8139 PyObject
* obj6
= 0 ;
8140 char * kwnames
[] = {
8141 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8146 if (!SWIG_IsOK(res1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8152 if (!SWIG_IsOK(ecode2
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8155 arg2
= static_cast< int >(val2
);
8159 arg3
= wxString_in_helper(obj2
);
8160 if (arg3
== NULL
) SWIG_fail
;
8167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8178 if (!SWIG_IsOK(ecode6
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8181 arg6
= static_cast< long >(val6
);
8185 arg7
= wxString_in_helper(obj6
);
8186 if (arg7
== NULL
) SWIG_fail
;
8191 if (!wxPyCheckForApp()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8220 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 PyObject
*resultobj
= 0;
8222 wxStaticText
*result
= 0 ;
8224 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8226 if (!wxPyCheckForApp()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxStaticText
*)new wxStaticText();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8239 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8242 wxWindow
*arg2
= (wxWindow
*) 0 ;
8243 int arg3
= (int) -1 ;
8244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8246 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8247 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8248 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8249 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8250 long arg7
= (long) 0 ;
8251 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8260 bool temp4
= false ;
8265 bool temp8
= false ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 PyObject
* obj3
= 0 ;
8270 PyObject
* obj4
= 0 ;
8271 PyObject
* obj5
= 0 ;
8272 PyObject
* obj6
= 0 ;
8273 PyObject
* obj7
= 0 ;
8274 char * kwnames
[] = {
8275 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8283 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8285 if (!SWIG_IsOK(res2
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8288 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8291 if (!SWIG_IsOK(ecode3
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8294 arg3
= static_cast< int >(val3
);
8298 arg4
= wxString_in_helper(obj3
);
8299 if (arg4
== NULL
) SWIG_fail
;
8306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8312 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8316 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8317 if (!SWIG_IsOK(ecode7
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8320 arg7
= static_cast< long >(val7
);
8324 arg8
= wxString_in_helper(obj7
);
8325 if (arg8
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8360 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 char * kwnames
[] = {
8371 (char *) "self",(char *) "width", NULL
8374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8379 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8381 if (!SWIG_IsOK(ecode2
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8384 arg2
= static_cast< int >(val2
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8401 SwigValueWrapper
<wxVisualAttributes
> result
;
8404 PyObject
* obj0
= 0 ;
8405 char * kwnames
[] = {
8406 (char *) "variant", NULL
8409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8412 if (!SWIG_IsOK(ecode1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8415 arg1
= static_cast< wxWindowVariant
>(val1
);
8418 if (!wxPyCheckForApp()) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8431 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8434 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8435 return SWIG_Py_Void();
8438 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 return SWIG_Python_InitShadowInstance(args
);
8442 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
= 0;
8444 wxWindow
*arg1
= (wxWindow
*) 0 ;
8445 int arg2
= (int) -1 ;
8446 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8447 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8452 long arg6
= (long) 0 ;
8453 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8455 wxStaticBitmap
*result
= 0 ;
8466 bool temp7
= false ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 PyObject
* obj5
= 0 ;
8473 PyObject
* obj6
= 0 ;
8474 char * kwnames
[] = {
8475 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8486 if (!SWIG_IsOK(ecode2
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8489 arg2
= static_cast< int >(val2
);
8492 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8493 if (!SWIG_IsOK(res3
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8499 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8514 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8515 if (!SWIG_IsOK(ecode6
)) {
8516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8518 arg6
= static_cast< long >(val6
);
8522 arg7
= wxString_in_helper(obj6
);
8523 if (arg7
== NULL
) SWIG_fail
;
8528 if (!wxPyCheckForApp()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8549 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8550 PyObject
*resultobj
= 0;
8551 wxStaticBitmap
*result
= 0 ;
8553 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8555 if (!wxPyCheckForApp()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8568 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= 0;
8570 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8571 wxWindow
*arg2
= (wxWindow
*) 0 ;
8572 int arg3
= (int) -1 ;
8573 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8574 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8575 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8576 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8577 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8578 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8579 long arg7
= (long) 0 ;
8580 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8595 bool temp8
= false ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 PyObject
* obj4
= 0 ;
8601 PyObject
* obj5
= 0 ;
8602 PyObject
* obj6
= 0 ;
8603 PyObject
* obj7
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8613 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8615 if (!SWIG_IsOK(res2
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8621 if (!SWIG_IsOK(ecode3
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8624 arg3
= static_cast< int >(val3
);
8627 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8628 if (!SWIG_IsOK(res4
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8634 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8650 if (!SWIG_IsOK(ecode7
)) {
8651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8653 arg7
= static_cast< long >(val7
);
8657 arg8
= wxString_in_helper(obj7
);
8658 if (arg8
== NULL
) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8685 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8686 PyObject
*resultobj
= 0;
8687 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8691 PyObject
*swig_obj
[1] ;
8693 if (!args
) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8699 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (arg1
)->GetBitmap();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8713 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8716 wxBitmap
*arg2
= 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "bitmap", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8732 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8740 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
= 0;
8756 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "icon", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8773 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8775 if (!SWIG_IsOK(res2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8781 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8798 SwigValueWrapper
<wxVisualAttributes
> result
;
8801 PyObject
* obj0
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "variant", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8809 if (!SWIG_IsOK(ecode1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8812 arg1
= static_cast< wxWindowVariant
>(val1
);
8815 if (!wxPyCheckForApp()) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8828 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8831 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8832 return SWIG_Py_Void();
8835 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8836 return SWIG_Python_InitShadowInstance(args
);
8839 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8840 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8845 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8846 PyObject
*pyobj
= 0;
8850 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8852 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8859 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
= 0;
8861 wxWindow
*arg1
= (wxWindow
*) 0 ;
8862 int arg2
= (int) -1 ;
8863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8867 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8868 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8869 long arg6
= (long) 0 ;
8870 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8871 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8872 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8874 wxListBox
*result
= 0 ;
8881 bool temp5
= false ;
8886 bool temp8
= false ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8890 PyObject
* obj3
= 0 ;
8891 PyObject
* obj4
= 0 ;
8892 PyObject
* obj5
= 0 ;
8893 PyObject
* obj6
= 0 ;
8894 PyObject
* obj7
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8907 if (!SWIG_IsOK(ecode2
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8910 arg2
= static_cast< int >(val2
);
8915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8926 if (! PySequence_Check(obj4
)) {
8927 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8930 arg5
= new wxArrayString
;
8932 int i
, len
=PySequence_Length(obj4
);
8933 for (i
=0; i
<len
; i
++) {
8934 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8935 wxString
* s
= wxString_in_helper(item
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8945 if (!SWIG_IsOK(ecode6
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8948 arg6
= static_cast< long >(val6
);
8951 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8952 if (!SWIG_IsOK(res7
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8958 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8962 arg8
= wxString_in_helper(obj7
);
8963 if (arg8
== NULL
) SWIG_fail
;
8968 if (!wxPyCheckForApp()) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8976 if (temp5
) delete arg5
;
8985 if (temp5
) delete arg5
;
8995 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxListBox
*result
= 0 ;
8999 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9001 if (!wxPyCheckForApp()) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (wxListBox
*)new wxListBox();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9014 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
= 0;
9016 wxListBox
*arg1
= (wxListBox
*) 0 ;
9017 wxWindow
*arg2
= (wxWindow
*) 0 ;
9018 int arg3
= (int) -1 ;
9019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9023 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9024 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9025 long arg7
= (long) 0 ;
9026 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9027 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9028 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9029 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9039 bool temp6
= false ;
9044 bool temp9
= false ;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9048 PyObject
* obj3
= 0 ;
9049 PyObject
* obj4
= 0 ;
9050 PyObject
* obj5
= 0 ;
9051 PyObject
* obj6
= 0 ;
9052 PyObject
* obj7
= 0 ;
9053 PyObject
* obj8
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9063 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9065 if (!SWIG_IsOK(res2
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9071 if (!SWIG_IsOK(ecode3
)) {
9072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9074 arg3
= static_cast< int >(val3
);
9079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9090 if (! PySequence_Check(obj5
)) {
9091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9094 arg6
= new wxArrayString
;
9096 int i
, len
=PySequence_Length(obj5
);
9097 for (i
=0; i
<len
; i
++) {
9098 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9099 wxString
* s
= wxString_in_helper(item
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9108 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9109 if (!SWIG_IsOK(ecode7
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9112 arg7
= static_cast< long >(val7
);
9115 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9116 if (!SWIG_IsOK(res8
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9122 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9126 arg9
= wxString_in_helper(obj8
);
9127 if (arg9
== NULL
) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 if (temp6
) delete arg6
;
9150 if (temp6
) delete arg6
;
9160 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxListBox
*arg1
= (wxListBox
*) 0 ;
9163 wxString
*arg2
= 0 ;
9165 PyObject
*arg4
= (PyObject
*) NULL
;
9168 bool temp2
= false ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9174 PyObject
* obj3
= 0 ;
9175 char * kwnames
[] = {
9176 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9181 if (!SWIG_IsOK(res1
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9184 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9186 arg2
= wxString_in_helper(obj1
);
9187 if (arg2
== NULL
) SWIG_fail
;
9190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9191 if (!SWIG_IsOK(ecode3
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9194 arg3
= static_cast< int >(val3
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_Py_Void();
9219 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxListBox
*arg1
= (wxListBox
*) 0 ;
9222 wxArrayString
*arg2
= 0 ;
9226 bool temp2
= false ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "self",(char *) "items",(char *) "pos", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9241 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9243 if (! PySequence_Check(obj1
)) {
9244 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9247 arg2
= new wxArrayString
;
9249 int i
, len
=PySequence_Length(obj1
);
9250 for (i
=0; i
<len
; i
++) {
9251 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9252 wxString
* s
= wxString_in_helper(item
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9259 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9260 if (!SWIG_IsOK(ecode3
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9263 arg3
= static_cast< unsigned int >(val3
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_Py_Void();
9272 if (temp2
) delete arg2
;
9277 if (temp2
) delete arg2
;
9283 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
= 0;
9285 wxListBox
*arg1
= (wxListBox
*) 0 ;
9286 wxArrayString
*arg2
= 0 ;
9289 bool temp2
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 char * kwnames
[] = {
9293 (char *) "self",(char *) "items", NULL
9296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9301 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9303 if (! PySequence_Check(obj1
)) {
9304 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9307 arg2
= new wxArrayString
;
9309 int i
, len
=PySequence_Length(obj1
);
9310 for (i
=0; i
<len
; i
++) {
9311 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9312 wxString
* s
= wxString_in_helper(item
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->Set((wxArrayString
const &)*arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_Py_Void();
9327 if (temp2
) delete arg2
;
9332 if (temp2
) delete arg2
;
9338 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxListBox
*arg1
= (wxListBox
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "n", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9358 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 wxListBox
*arg1
= (wxListBox
*) 0 ;
9383 bool arg3
= (bool) true ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "n",(char *) "select", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9410 if (!SWIG_IsOK(ecode3
)) {
9411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9413 arg3
= static_cast< bool >(val3
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 (arg1
)->SetSelection(arg2
,arg3
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_Py_Void();
9428 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxListBox
*arg1
= (wxListBox
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "self",(char *) "n", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9447 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9449 if (!SWIG_IsOK(ecode2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9452 arg2
= static_cast< int >(val2
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->Select(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_Py_Void();
9466 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxListBox
*arg1
= (wxListBox
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 char * kwnames
[] = {
9477 (char *) "self",(char *) "n", NULL
9480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9482 if (!SWIG_IsOK(res1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9485 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9487 if (!SWIG_IsOK(ecode2
)) {
9488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9490 arg2
= static_cast< int >(val2
);
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 (arg1
)->Deselect(arg2
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_Py_Void();
9504 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
= 0;
9506 wxListBox
*arg1
= (wxListBox
*) 0 ;
9507 int arg2
= (int) -1 ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 char * kwnames
[] = {
9515 (char *) "self",(char *) "itemToLeaveSelected", NULL
9518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9523 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9526 if (!SWIG_IsOK(ecode2
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9529 arg2
= static_cast< int >(val2
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->DeselectAll(arg2
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_Py_Void();
9544 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxListBox
*arg1
= (wxListBox
*) 0 ;
9547 wxString
*arg2
= 0 ;
9548 bool arg3
= (bool) true ;
9552 bool temp2
= false ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 PyObject
* obj2
= 0 ;
9558 char * kwnames
[] = {
9559 (char *) "self",(char *) "s",(char *) "select", NULL
9562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9564 if (!SWIG_IsOK(res1
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9567 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9569 arg2
= wxString_in_helper(obj1
);
9570 if (arg2
== NULL
) SWIG_fail
;
9574 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9575 if (!SWIG_IsOK(ecode3
)) {
9576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9578 arg3
= static_cast< bool >(val3
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9603 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 PyObject
*resultobj
= 0;
9605 wxListBox
*arg1
= (wxListBox
*) 0 ;
9606 PyObject
*result
= 0 ;
9609 PyObject
*swig_obj
[1] ;
9611 if (!args
) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9617 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9631 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
= 0;
9633 wxListBox
*arg1
= (wxListBox
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "n", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9650 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9652 if (!SWIG_IsOK(ecode2
)) {
9653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9655 arg2
= static_cast< int >(val2
);
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetFirstItem(arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= 0;
9671 wxListBox
*arg1
= (wxListBox
*) 0 ;
9672 wxString
*arg2
= 0 ;
9675 bool temp2
= false ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 char * kwnames
[] = {
9679 (char *) "self",(char *) "s", NULL
9682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9687 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9689 arg2
= wxString_in_helper(obj1
);
9690 if (arg2
== NULL
) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_Py_Void();
9714 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
= 0;
9716 wxListBox
*arg1
= (wxListBox
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9724 char * kwnames
[] = {
9725 (char *) "self",(char *) "n", NULL
9728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9733 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9735 if (!SWIG_IsOK(ecode2
)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9738 arg2
= static_cast< int >(val2
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->EnsureVisible(arg2
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= SWIG_Py_Void();
9752 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
= 0;
9754 wxListBox
*arg1
= (wxListBox
*) 0 ;
9755 wxString
*arg2
= 0 ;
9758 bool temp2
= false ;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9761 char * kwnames
[] = {
9762 (char *) "self",(char *) "s", NULL
9765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9767 if (!SWIG_IsOK(res1
)) {
9768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9770 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9772 arg2
= wxString_in_helper(obj1
);
9773 if (arg2
== NULL
) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9803 PyObject
*swig_obj
[1] ;
9805 if (!args
) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9811 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9827 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= 0;
9829 wxListBox
*arg1
= (wxListBox
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 char * kwnames
[] = {
9838 (char *) "self",(char *) "pt", NULL
9841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9846 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_From_int(static_cast< int >(result
));
9864 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxListBox
*arg1
= (wxListBox
*) 0 ;
9868 wxColour
*arg3
= 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj2
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "item",(char *) "c", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9888 if (!SWIG_IsOK(ecode2
)) {
9889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9891 arg2
= static_cast< int >(val2
);
9894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxListBox
*arg1
= (wxListBox
*) 0 ;
9913 wxColour
*arg3
= 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "self",(char *) "item",(char *) "c", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9931 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9933 if (!SWIG_IsOK(ecode2
)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9936 arg2
= static_cast< int >(val2
);
9939 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_Py_Void();
9954 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxListBox
*arg1
= (wxListBox
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "item",(char *) "f", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9977 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9979 if (!SWIG_IsOK(ecode2
)) {
9980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9982 arg2
= static_cast< int >(val2
);
9983 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9984 if (!SWIG_IsOK(res3
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9990 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10004 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10007 SwigValueWrapper
<wxVisualAttributes
> result
;
10010 PyObject
* obj0
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "variant", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10018 if (!SWIG_IsOK(ecode1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10021 arg1
= static_cast< wxWindowVariant
>(val1
);
10024 if (!wxPyCheckForApp()) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10037 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10040 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10041 return SWIG_Py_Void();
10044 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 return SWIG_Python_InitShadowInstance(args
);
10048 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
= 0;
10050 wxWindow
*arg1
= (wxWindow
*) 0 ;
10051 int arg2
= (int) -1 ;
10052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10056 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10057 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10058 long arg6
= (long) 0 ;
10059 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10060 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10061 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10062 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10063 wxCheckListBox
*result
= 0 ;
10070 bool temp5
= false ;
10075 bool temp8
= false ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 PyObject
* obj2
= 0 ;
10079 PyObject
* obj3
= 0 ;
10080 PyObject
* obj4
= 0 ;
10081 PyObject
* obj5
= 0 ;
10082 PyObject
* obj6
= 0 ;
10083 PyObject
* obj7
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10099 arg2
= static_cast< int >(val2
);
10104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10110 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10115 if (! PySequence_Check(obj4
)) {
10116 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10119 arg5
= new wxArrayString
;
10121 int i
, len
=PySequence_Length(obj4
);
10122 for (i
=0; i
<len
; i
++) {
10123 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10124 wxString
* s
= wxString_in_helper(item
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10134 if (!SWIG_IsOK(ecode6
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10137 arg6
= static_cast< long >(val6
);
10140 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10141 if (!SWIG_IsOK(res7
)) {
10142 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10147 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10151 arg8
= wxString_in_helper(obj7
);
10152 if (arg8
== NULL
) SWIG_fail
;
10157 if (!wxPyCheckForApp()) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10165 if (temp5
) delete arg5
;
10174 if (temp5
) delete arg5
;
10184 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxCheckListBox
*result
= 0 ;
10188 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10190 if (!wxPyCheckForApp()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxCheckListBox
*)new wxCheckListBox();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10203 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10206 wxWindow
*arg2
= (wxWindow
*) 0 ;
10207 int arg3
= (int) -1 ;
10208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10212 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10213 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10214 long arg7
= (long) 0 ;
10215 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10216 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10217 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10218 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10228 bool temp6
= false ;
10233 bool temp9
= false ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 PyObject
* obj2
= 0 ;
10237 PyObject
* obj3
= 0 ;
10238 PyObject
* obj4
= 0 ;
10239 PyObject
* obj5
= 0 ;
10240 PyObject
* obj6
= 0 ;
10241 PyObject
* obj7
= 0 ;
10242 PyObject
* obj8
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10252 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10254 if (!SWIG_IsOK(res2
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10260 if (!SWIG_IsOK(ecode3
)) {
10261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10263 arg3
= static_cast< int >(val3
);
10268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10279 if (! PySequence_Check(obj5
)) {
10280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10283 arg6
= new wxArrayString
;
10285 int i
, len
=PySequence_Length(obj5
);
10286 for (i
=0; i
<len
; i
++) {
10287 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10288 wxString
* s
= wxString_in_helper(item
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10297 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10298 if (!SWIG_IsOK(ecode7
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10301 arg7
= static_cast< long >(val7
);
10304 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10305 if (!SWIG_IsOK(res8
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10311 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10315 arg9
= wxString_in_helper(obj8
);
10316 if (arg9
== NULL
) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10330 if (temp6
) delete arg6
;
10339 if (temp6
) delete arg6
;
10349 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10352 unsigned int arg2
;
10356 unsigned int val2
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "index", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10369 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10370 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10371 if (!SWIG_IsOK(ecode2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10374 arg2
= static_cast< unsigned int >(val2
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (bool)(arg1
)->IsChecked(arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10390 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
= 0;
10392 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10393 unsigned int arg2
;
10394 int arg3
= (int) true ;
10397 unsigned int val2
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "index",(char *) "check", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10413 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10414 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10418 arg2
= static_cast< unsigned int >(val2
);
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 (arg1
)->Check(arg2
,arg3
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_Py_Void();
10439 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10440 PyObject
*resultobj
= 0;
10441 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10445 PyObject
*swig_obj
[1] ;
10447 if (!args
) SWIG_fail
;
10448 swig_obj
[0] = args
;
10449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10453 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (int)(arg1
)->GetItemHeight();
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= SWIG_From_int(static_cast< int >(result
));
10467 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10470 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10471 return SWIG_Py_Void();
10474 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 return SWIG_Python_InitShadowInstance(args
);
10478 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10479 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10484 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10485 PyObject
*pyobj
= 0;
10489 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10491 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10498 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= 0;
10500 wxColour
const &arg1_defvalue
= wxNullColour
;
10501 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10502 wxColour
const &arg2_defvalue
= wxNullColour
;
10503 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10504 wxFont
const &arg3_defvalue
= wxNullFont
;
10505 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10506 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10507 wxTextAttr
*result
= 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 PyObject
* obj2
= 0 ;
10517 PyObject
* obj3
= 0 ;
10518 char * kwnames
[] = {
10519 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10526 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10536 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10537 if (!SWIG_IsOK(res3
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10543 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10547 if (!SWIG_IsOK(ecode4
)) {
10548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10550 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10565 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10566 PyObject
*resultobj
= 0;
10567 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10570 PyObject
*swig_obj
[1] ;
10572 if (!args
) SWIG_fail
;
10573 swig_obj
[0] = args
;
10574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10578 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_Py_Void();
10593 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 PyObject
*resultobj
= 0;
10595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 PyObject
*swig_obj
[1] ;
10600 if (!args
) SWIG_fail
;
10601 swig_obj
[0] = args
;
10602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10606 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_Py_Void();
10620 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxTextAttr
*arg1
= 0 ;
10623 wxTextAttr
*arg2
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "base",(char *) "overlay", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10643 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10645 if (!SWIG_IsOK(res2
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10651 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10665 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
= 0;
10667 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 wxColour
*arg2
= 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "colText", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10683 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_Py_Void();
10701 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10704 wxColour
*arg2
= 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char * kwnames
[] = {
10711 (char *) "self",(char *) "colBack", NULL
10714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10719 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_Py_Void();
10737 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10739 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10741 long arg3
= (long) wxTEXT_ATTR_FONT
;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 PyObject
* obj2
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "font",(char *) "flags", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10762 if (!SWIG_IsOK(res2
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10768 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10770 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10771 if (!SWIG_IsOK(ecode3
)) {
10772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10774 arg3
= static_cast< long >(val3
);
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_Py_Void();
10789 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10792 wxTextAttrAlignment arg2
;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "alignment", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10808 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10810 if (!SWIG_IsOK(ecode2
)) {
10811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10813 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetAlignment(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_Py_Void();
10827 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= 0;
10829 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10830 wxArrayInt
*arg2
= 0 ;
10833 bool temp2
= false ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "tabs", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10845 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10847 if (! PySequence_Check(obj1
)) {
10848 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10851 arg2
= new wxArrayInt
;
10853 int i
, len
=PySequence_Length(obj1
);
10854 for (i
=0; i
<len
; i
++) {
10855 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10856 PyObject
* number
= PyNumber_Int(item
);
10858 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10861 arg2
->Add(PyInt_AS_LONG(number
));
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10874 if (temp2
) delete arg2
;
10879 if (temp2
) delete arg2
;
10885 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= 0;
10887 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 int arg3
= (int) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char * kwnames
[] = {
10900 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10905 if (!SWIG_IsOK(res1
)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10908 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10910 if (!SWIG_IsOK(ecode2
)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10913 arg2
= static_cast< int >(val2
);
10915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10916 if (!SWIG_IsOK(ecode3
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10919 arg3
= static_cast< int >(val3
);
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SetLeftIndent(arg2
,arg3
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_Py_Void();
10934 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char * kwnames
[] = {
10945 (char *) "self",(char *) "indent", NULL
10948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10953 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10955 if (!SWIG_IsOK(ecode2
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10958 arg2
= static_cast< int >(val2
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetRightIndent(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_Py_Void();
10972 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "flags", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10991 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10996 arg2
= static_cast< long >(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetFlags(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11011 PyObject
*resultobj
= 0;
11012 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11016 PyObject
*swig_obj
[1] ;
11018 if (!args
) SWIG_fail
;
11019 swig_obj
[0] = args
;
11020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11024 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11041 PyObject
*resultobj
= 0;
11042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11046 PyObject
*swig_obj
[1] ;
11048 if (!args
) SWIG_fail
;
11049 swig_obj
[0] = args
;
11050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11054 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11071 PyObject
*resultobj
= 0;
11072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11076 PyObject
*swig_obj
[1] ;
11078 if (!args
) SWIG_fail
;
11079 swig_obj
[0] = args
;
11080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11081 if (!SWIG_IsOK(res1
)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11084 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11101 PyObject
*resultobj
= 0;
11102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11106 PyObject
*swig_obj
[1] ;
11108 if (!args
) SWIG_fail
;
11109 swig_obj
[0] = args
;
11110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11114 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11131 PyObject
*resultobj
= 0;
11132 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11136 PyObject
*swig_obj
[1] ;
11138 if (!args
) SWIG_fail
;
11139 swig_obj
[0] = args
;
11140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11141 if (!SWIG_IsOK(res1
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11144 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11161 PyObject
*resultobj
= 0;
11162 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11166 PyObject
*swig_obj
[1] ;
11168 if (!args
) SWIG_fail
;
11169 swig_obj
[0] = args
;
11170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11174 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11220 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= 0;
11222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char * kwnames
[] = {
11232 (char *) "self",(char *) "flag", NULL
11235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11237 if (!SWIG_IsOK(res1
)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11240 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11242 if (!SWIG_IsOK(ecode2
)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11245 arg2
= static_cast< long >(val2
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11261 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11262 PyObject
*resultobj
= 0;
11263 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11264 wxColour
*result
= 0 ;
11267 PyObject
*swig_obj
[1] ;
11269 if (!args
) SWIG_fail
;
11270 swig_obj
[0] = args
;
11271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11275 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11280 result
= (wxColour
*) &_result_ref
;
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11292 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11293 PyObject
*resultobj
= 0;
11294 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11295 wxColour
*result
= 0 ;
11298 PyObject
*swig_obj
[1] ;
11300 if (!args
) SWIG_fail
;
11301 swig_obj
[0] = args
;
11302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11306 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11311 result
= (wxColour
*) &_result_ref
;
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11323 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11324 PyObject
*resultobj
= 0;
11325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11326 wxFont
*result
= 0 ;
11329 PyObject
*swig_obj
[1] ;
11331 if (!args
) SWIG_fail
;
11332 swig_obj
[0] = args
;
11333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11337 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11342 result
= (wxFont
*) &_result_ref
;
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 wxFont
* resultptr
= new wxFont(*result
);
11349 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11357 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 wxTextAttrAlignment result
;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_int(static_cast< int >(result
));
11385 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 wxArrayInt
*result
= 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11404 result
= (wxArrayInt
*) &_result_ref
;
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= wxArrayInt2PyList_helper(*result
);
11418 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11419 PyObject
*resultobj
= 0;
11420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11424 PyObject
*swig_obj
[1] ;
11426 if (!args
) SWIG_fail
;
11427 swig_obj
[0] = args
;
11428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11429 if (!SWIG_IsOK(res1
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11432 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_long(static_cast< long >(result
));
11446 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11452 PyObject
*swig_obj
[1] ;
11454 if (!args
) SWIG_fail
;
11455 swig_obj
[0] = args
;
11456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11460 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_long(static_cast< long >(result
));
11474 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11475 PyObject
*resultobj
= 0;
11476 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11488 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_From_long(static_cast< long >(result
));
11502 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 PyObject
*resultobj
= 0;
11504 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11508 PyObject
*swig_obj
[1] ;
11510 if (!args
) SWIG_fail
;
11511 swig_obj
[0] = args
;
11512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11516 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_long(static_cast< long >(result
));
11530 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11532 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11536 PyObject
*swig_obj
[1] ;
11538 if (!args
) SWIG_fail
;
11539 swig_obj
[0] = args
;
11540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11544 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11560 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxTextAttr
*arg1
= 0 ;
11563 wxTextAttr
*arg2
= 0 ;
11564 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 char * kwnames
[] = {
11576 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11580 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11581 if (!SWIG_IsOK(res1
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11587 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11589 if (!SWIG_IsOK(res2
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11595 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11596 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11597 if (!SWIG_IsOK(res3
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11600 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11614 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11617 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11618 return SWIG_Py_Void();
11621 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11622 return SWIG_Python_InitShadowInstance(args
);
11625 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
= 0;
11627 wxWindow
*arg1
= (wxWindow
*) 0 ;
11628 int arg2
= (int) -1 ;
11629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11635 long arg6
= (long) 0 ;
11636 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11637 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11638 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11639 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11640 wxTextCtrl
*result
= 0 ;
11645 bool temp3
= false ;
11652 bool temp8
= false ;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 PyObject
* obj2
= 0 ;
11656 PyObject
* obj3
= 0 ;
11657 PyObject
* obj4
= 0 ;
11658 PyObject
* obj5
= 0 ;
11659 PyObject
* obj6
= 0 ;
11660 PyObject
* obj7
= 0 ;
11661 char * kwnames
[] = {
11662 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11673 if (!SWIG_IsOK(ecode2
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11676 arg2
= static_cast< int >(val2
);
11680 arg3
= wxString_in_helper(obj2
);
11681 if (arg3
== NULL
) SWIG_fail
;
11688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11698 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11699 if (!SWIG_IsOK(ecode6
)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11702 arg6
= static_cast< long >(val6
);
11705 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11706 if (!SWIG_IsOK(res7
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11712 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11716 arg8
= wxString_in_helper(obj7
);
11717 if (arg8
== NULL
) SWIG_fail
;
11722 if (!wxPyCheckForApp()) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11751 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 PyObject
*resultobj
= 0;
11753 wxTextCtrl
*result
= 0 ;
11755 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11757 if (!wxPyCheckForApp()) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (wxTextCtrl
*)new wxTextCtrl();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11770 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
= 0;
11772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11773 wxWindow
*arg2
= (wxWindow
*) 0 ;
11774 int arg3
= (int) -1 ;
11775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11777 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11778 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11779 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11780 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11781 long arg7
= (long) 0 ;
11782 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11783 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11784 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11785 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11793 bool temp4
= false ;
11800 bool temp9
= false ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 PyObject
* obj3
= 0 ;
11805 PyObject
* obj4
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 PyObject
* obj6
= 0 ;
11808 PyObject
* obj7
= 0 ;
11809 PyObject
* obj8
= 0 ;
11810 char * kwnames
[] = {
11811 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11821 if (!SWIG_IsOK(res2
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11824 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11827 if (!SWIG_IsOK(ecode3
)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11830 arg3
= static_cast< int >(val3
);
11834 arg4
= wxString_in_helper(obj3
);
11835 if (arg4
== NULL
) SWIG_fail
;
11842 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11848 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11852 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11853 if (!SWIG_IsOK(ecode7
)) {
11854 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11856 arg7
= static_cast< long >(val7
);
11859 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11860 if (!SWIG_IsOK(res8
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11866 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11870 arg9
= wxString_in_helper(obj8
);
11871 if (arg9
== NULL
) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11920 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11940 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11943 wxString
*arg2
= 0 ;
11946 bool temp2
= false ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char * kwnames
[] = {
11950 (char *) "self",(char *) "value", NULL
11953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11960 arg2
= wxString_in_helper(obj1
);
11961 if (arg2
== NULL
) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 (arg1
)->SetValue((wxString
const &)*arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_Py_Void();
11985 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11986 PyObject
*resultobj
= 0;
11987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11991 PyObject
*swig_obj
[1] ;
11993 if (!args
) SWIG_fail
;
11994 swig_obj
[0] = args
;
11995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11996 if (!SWIG_IsOK(res1
)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11999 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= 0;
12017 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12018 wxString
*arg2
= 0 ;
12021 bool temp2
= false ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "self",(char *) "value", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_Py_Void();
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 PyObject
* obj2
= 0 ;
12075 char * kwnames
[] = {
12076 (char *) "self",(char *) "from",(char *) "to", NULL
12079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12081 if (!SWIG_IsOK(res1
)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12084 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12085 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12086 if (!SWIG_IsOK(ecode2
)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12089 arg2
= static_cast< long >(val2
);
12090 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12091 if (!SWIG_IsOK(ecode3
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12094 arg3
= static_cast< long >(val3
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12114 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "lineNo", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12139 arg2
= static_cast< long >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int(static_cast< int >(result
));
12153 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "lineNo", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12173 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12175 if (!SWIG_IsOK(ecode2
)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12178 arg2
= static_cast< long >(val2
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12198 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12212 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast< int >(result
));
12226 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12256 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12257 PyObject
*resultobj
= 0;
12258 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12262 PyObject
*swig_obj
[1] ;
12264 if (!args
) SWIG_fail
;
12265 swig_obj
[0] = args
;
12266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12267 if (!SWIG_IsOK(res1
)) {
12268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12270 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12286 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12287 PyObject
*resultobj
= 0;
12288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12300 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12346 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12349 long *arg2
= (long *) 0 ;
12350 long *arg3
= (long *) 0 ;
12354 int res2
= SWIG_TMPOBJ
;
12356 int res3
= SWIG_TMPOBJ
;
12357 PyObject
*swig_obj
[1] ;
12361 if (!args
) SWIG_fail
;
12362 swig_obj
[0] = args
;
12363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12364 if (!SWIG_IsOK(res1
)) {
12365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12367 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_Py_Void();
12375 if (SWIG_IsTmpObj(res2
)) {
12376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12378 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12381 if (SWIG_IsTmpObj(res3
)) {
12382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12384 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12393 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12399 PyObject
*swig_obj
[1] ;
12401 if (!args
) SWIG_fail
;
12402 swig_obj
[0] = args
;
12403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12427 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12428 PyObject
*resultobj
= 0;
12429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12432 PyObject
*swig_obj
[1] ;
12434 if (!args
) SWIG_fail
;
12435 swig_obj
[0] = args
;
12436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12459 wxString
*arg4
= 0 ;
12466 bool temp4
= false ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 PyObject
* obj2
= 0 ;
12470 PyObject
* obj3
= 0 ;
12471 char * kwnames
[] = {
12472 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12481 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12482 if (!SWIG_IsOK(ecode2
)) {
12483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12485 arg2
= static_cast< long >(val2
);
12486 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12487 if (!SWIG_IsOK(ecode3
)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12490 arg3
= static_cast< long >(val3
);
12492 arg4
= wxString_in_helper(obj3
);
12493 if (arg4
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_Py_Void();
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "from",(char *) "to", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12545 arg2
= static_cast< long >(val2
);
12546 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12547 if (!SWIG_IsOK(ecode3
)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12550 arg3
= static_cast< long >(val3
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->Remove(arg2
,arg3
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_Py_Void();
12564 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12567 wxString
*arg2
= 0 ;
12568 int arg3
= (int) wxTEXT_TYPE_ANY
;
12572 bool temp2
= false ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "self",(char *) "file",(char *) "fileType", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12587 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12589 arg2
= wxString_in_helper(obj1
);
12590 if (arg2
== NULL
) SWIG_fail
;
12594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12595 if (!SWIG_IsOK(ecode3
)) {
12596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12598 arg3
= static_cast< int >(val3
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12623 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12626 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12627 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12628 int arg3
= (int) wxTEXT_TYPE_ANY
;
12632 bool temp2
= false ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "self",(char *) "file",(char *) "fileType", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12650 arg2
= wxString_in_helper(obj1
);
12651 if (arg2
== NULL
) SWIG_fail
;
12656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12657 if (!SWIG_IsOK(ecode3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12660 arg3
= static_cast< int >(val3
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12685 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 PyObject
*resultobj
= 0;
12687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12690 PyObject
*swig_obj
[1] ;
12692 if (!args
) SWIG_fail
;
12693 swig_obj
[0] = args
;
12694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 (arg1
)->MarkDirty();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_Py_Void();
12712 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 (arg1
)->DiscardEdits();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_Py_Void();
12739 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= 0;
12741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char * kwnames
[] = {
12750 (char *) "self",(char *) "modified", NULL
12753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12755 if (!SWIG_IsOK(res1
)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12758 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12760 if (!SWIG_IsOK(ecode2
)) {
12761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12763 arg2
= static_cast< bool >(val2
);
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetModified(arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_Py_Void();
12777 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
= 0;
12779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12780 unsigned long arg2
;
12783 unsigned long val2
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "len", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12797 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12798 if (!SWIG_IsOK(ecode2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12801 arg2
= static_cast< unsigned long >(val2
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 (arg1
)->SetMaxLength(arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_Py_Void();
12815 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= 0;
12817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12818 wxString
*arg2
= 0 ;
12821 bool temp2
= false ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "text", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12833 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->WriteText((wxString
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12863 wxString
*arg2
= 0 ;
12866 bool temp2
= false ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "text", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12880 arg2
= wxString_in_helper(obj1
);
12881 if (arg2
== NULL
) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->AppendText((wxString
const &)*arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12908 wxKeyEvent
*arg2
= 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char * kwnames
[] = {
12917 (char *) "self",(char *) "event", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12925 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12927 if (!SWIG_IsOK(res2
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12933 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12949 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12954 wxTextAttr
*arg4
= 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 PyObject
* obj2
= 0 ;
12967 PyObject
* obj3
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12979 if (!SWIG_IsOK(ecode2
)) {
12980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12982 arg2
= static_cast< long >(val2
);
12983 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12984 if (!SWIG_IsOK(ecode3
)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12987 arg3
= static_cast< long >(val3
);
12988 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12989 if (!SWIG_IsOK(res4
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12995 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
= 0;
13013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13015 wxTextAttr
*arg3
= 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "position",(char *) "style", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13035 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13037 if (!SWIG_IsOK(ecode2
)) {
13038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13040 arg2
= static_cast< long >(val2
);
13041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13042 if (!SWIG_IsOK(res3
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13048 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13067 wxTextAttr
*arg2
= 0 ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "style", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13084 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13086 if (!SWIG_IsOK(res2
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13092 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13108 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 PyObject
*resultobj
= 0;
13110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13111 wxTextAttr
*result
= 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13127 result
= (wxTextAttr
*) &_result_ref
;
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13139 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= 0;
13141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "self",(char *) "x",(char *) "y", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13165 if (!SWIG_IsOK(ecode2
)) {
13166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13168 arg2
= static_cast< long >(val2
);
13169 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13170 if (!SWIG_IsOK(ecode3
)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13173 arg3
= static_cast< long >(val3
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_From_long(static_cast< long >(result
));
13187 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13191 long *arg3
= (long *) 0 ;
13192 long *arg4
= (long *) 0 ;
13198 int res3
= SWIG_TMPOBJ
;
13200 int res4
= SWIG_TMPOBJ
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 char * kwnames
[] = {
13204 (char *) "self",(char *) "pos", NULL
13209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13214 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13216 if (!SWIG_IsOK(ecode2
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13219 arg2
= static_cast< long >(val2
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_Py_Void();
13227 if (SWIG_IsTmpObj(res3
)) {
13228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13233 if (SWIG_IsTmpObj(res4
)) {
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13236 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13245 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= 0;
13247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "pos", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13265 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13266 if (!SWIG_IsOK(ecode2
)) {
13267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13269 arg2
= static_cast< long >(val2
);
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->ShowPosition(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_Py_Void();
13283 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
= 0;
13285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13286 wxPoint
*arg2
= 0 ;
13287 long *arg3
= (long *) 0 ;
13288 long *arg4
= (long *) 0 ;
13289 wxTextCtrlHitTestResult result
;
13294 int res3
= SWIG_TMPOBJ
;
13296 int res4
= SWIG_TMPOBJ
;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char * kwnames
[] = {
13300 (char *) "self",(char *) "pt", NULL
13305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",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_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13310 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_From_int(static_cast< int >(result
));
13322 if (SWIG_IsTmpObj(res3
)) {
13323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13325 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13328 if (SWIG_IsTmpObj(res4
)) {
13329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13331 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13343 wxPoint
*arg2
= 0 ;
13344 long *arg3
= (long *) 0 ;
13345 wxTextCtrlHitTestResult result
;
13350 int res3
= SWIG_TMPOBJ
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "pt", NULL
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_From_int(static_cast< int >(result
));
13375 if (SWIG_IsTmpObj(res3
)) {
13376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13387 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 PyObject
*resultobj
= 0;
13389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_Py_Void();
13414 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 PyObject
*resultobj
= 0;
13416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13427 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_Py_Void();
13441 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13442 PyObject
*resultobj
= 0;
13443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13446 PyObject
*swig_obj
[1] ;
13448 if (!args
) SWIG_fail
;
13449 swig_obj
[0] = args
;
13450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13451 if (!SWIG_IsOK(res1
)) {
13452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13454 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_Py_Void();
13468 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13474 PyObject
*swig_obj
[1] ;
13476 if (!args
) SWIG_fail
;
13477 swig_obj
[0] = args
;
13478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13482 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13512 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 PyObject
*resultobj
= 0;
13530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13542 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 PyObject
*resultobj
= 0;
13560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13563 PyObject
*swig_obj
[1] ;
13565 if (!args
) SWIG_fail
;
13566 swig_obj
[0] = args
;
13567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13571 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_Py_Void();
13585 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 PyObject
*resultobj
= 0;
13587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13618 PyObject
*swig_obj
[1] ;
13620 if (!args
) SWIG_fail
;
13621 swig_obj
[0] = args
;
13622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13643 PyObject
*resultobj
= 0;
13644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13648 PyObject
*swig_obj
[1] ;
13650 if (!args
) SWIG_fail
;
13651 swig_obj
[0] = args
;
13652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13653 if (!SWIG_IsOK(res1
)) {
13654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13656 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13672 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
= 0;
13674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "self",(char *) "pos", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13691 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13693 if (!SWIG_IsOK(ecode2
)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13696 arg2
= static_cast< long >(val2
);
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 (arg1
)->SetInsertionPoint(arg2
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_Py_Void();
13710 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13711 PyObject
*resultobj
= 0;
13712 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13715 PyObject
*swig_obj
[1] ;
13717 if (!args
) SWIG_fail
;
13718 swig_obj
[0] = args
;
13719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13723 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 (arg1
)->SetInsertionPointEnd();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_Py_Void();
13737 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 PyObject
*resultobj
= 0;
13739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13743 PyObject
*swig_obj
[1] ;
13745 if (!args
) SWIG_fail
;
13746 swig_obj
[0] = args
;
13747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13751 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_From_long(static_cast< long >(result
));
13765 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13771 PyObject
*swig_obj
[1] ;
13773 if (!args
) SWIG_fail
;
13774 swig_obj
[0] = args
;
13775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_long(static_cast< long >(result
));
13793 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "self",(char *) "from",(char *) "to", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13821 arg2
= static_cast< long >(val2
);
13822 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13823 if (!SWIG_IsOK(ecode3
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13826 arg3
= static_cast< long >(val3
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SetSelection(arg2
,arg3
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13840 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13845 PyObject
*swig_obj
[1] ;
13847 if (!args
) SWIG_fail
;
13848 swig_obj
[0] = args
;
13849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13850 if (!SWIG_IsOK(res1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13853 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->SelectAll();
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_Py_Void();
13867 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "self",(char *) "editable", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13891 arg2
= static_cast< bool >(val2
);
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 (arg1
)->SetEditable(arg2
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_Py_Void();
13905 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
= 0;
13907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char * kwnames
[] = {
13916 (char *) "self",(char *) "check", NULL
13919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13921 if (!SWIG_IsOK(res1
)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13924 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13926 if (!SWIG_IsOK(ecode2
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13929 arg2
= static_cast< bool >(val2
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_Py_Void();
13943 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13944 PyObject
*resultobj
= 0;
13945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13948 PyObject
*swig_obj
[1] ;
13950 if (!args
) SWIG_fail
;
13951 swig_obj
[0] = args
;
13952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13953 if (!SWIG_IsOK(res1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 (arg1
)->SendTextUpdatedEvent();
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_Py_Void();
13970 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= 0;
13972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13973 wxString
*arg2
= 0 ;
13976 bool temp2
= false ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 char * kwnames
[] = {
13980 (char *) "self",(char *) "text", NULL
13983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13985 if (!SWIG_IsOK(res1
)) {
13986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13990 arg2
= wxString_in_helper(obj1
);
13991 if (arg2
== NULL
) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_Py_Void();
14015 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
= 0;
14017 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char * kwnames
[] = {
14031 (char *) "self",(char *) "from",(char *) "to", NULL
14034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14039 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14041 if (!SWIG_IsOK(ecode2
)) {
14042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14044 arg2
= static_cast< long >(val2
);
14045 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14046 if (!SWIG_IsOK(ecode3
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14049 arg3
= static_cast< long >(val3
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14069 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14072 SwigValueWrapper
<wxVisualAttributes
> result
;
14075 PyObject
* obj0
= 0 ;
14076 char * kwnames
[] = {
14077 (char *) "variant", NULL
14080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14083 if (!SWIG_IsOK(ecode1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14086 arg1
= static_cast< wxWindowVariant
>(val1
);
14089 if (!wxPyCheckForApp()) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14102 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14105 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14106 return SWIG_Py_Void();
14109 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 return SWIG_Python_InitShadowInstance(args
);
14113 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
= 0;
14116 wxMouseEvent
*arg2
= 0 ;
14119 wxTextUrlEvent
*result
= 0 ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 PyObject
* obj2
= 0 ;
14131 PyObject
* obj3
= 0 ;
14132 char * kwnames
[] = {
14133 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14138 if (!SWIG_IsOK(ecode1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14141 arg1
= static_cast< int >(val1
);
14142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14143 if (!SWIG_IsOK(res2
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14149 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14150 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14151 if (!SWIG_IsOK(ecode3
)) {
14152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14154 arg3
= static_cast< long >(val3
);
14155 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14156 if (!SWIG_IsOK(ecode4
)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14159 arg4
= static_cast< long >(val4
);
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14173 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14174 PyObject
*resultobj
= 0;
14175 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14176 wxMouseEvent
*result
= 0 ;
14179 PyObject
*swig_obj
[1] ;
14181 if (!args
) SWIG_fail
;
14182 swig_obj
[0] = args
;
14183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14187 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14192 result
= (wxMouseEvent
*) &_result_ref
;
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14204 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14205 PyObject
*resultobj
= 0;
14206 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14210 PyObject
*swig_obj
[1] ;
14212 if (!args
) SWIG_fail
;
14213 swig_obj
[0] = args
;
14214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14218 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= SWIG_From_long(static_cast< long >(result
));
14232 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 PyObject
*resultobj
= 0;
14234 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14238 PyObject
*swig_obj
[1] ;
14240 if (!args
) SWIG_fail
;
14241 swig_obj
[0] = args
;
14242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14243 if (!SWIG_IsOK(res1
)) {
14244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14246 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_From_long(static_cast< long >(result
));
14260 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14263 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14264 return SWIG_Py_Void();
14267 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14268 return SWIG_Python_InitShadowInstance(args
);
14271 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14272 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14277 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14278 PyObject
*pyobj
= 0;
14282 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14284 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14291 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14293 wxWindow
*arg1
= (wxWindow
*) 0 ;
14294 int arg2
= (int) -1 ;
14295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14299 long arg5
= (long) wxSB_HORIZONTAL
;
14300 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14301 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14302 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14303 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14304 wxScrollBar
*result
= 0 ;
14315 bool temp7
= false ;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 PyObject
* obj2
= 0 ;
14319 PyObject
* obj3
= 0 ;
14320 PyObject
* obj4
= 0 ;
14321 PyObject
* obj5
= 0 ;
14322 PyObject
* obj6
= 0 ;
14323 char * kwnames
[] = {
14324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14335 if (!SWIG_IsOK(ecode2
)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14338 arg2
= static_cast< int >(val2
);
14343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14353 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14354 if (!SWIG_IsOK(ecode5
)) {
14355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14357 arg5
= static_cast< long >(val5
);
14360 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14361 if (!SWIG_IsOK(res6
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14367 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14371 arg7
= wxString_in_helper(obj6
);
14372 if (arg7
== NULL
) SWIG_fail
;
14377 if (!wxPyCheckForApp()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14398 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxScrollBar
*result
= 0 ;
14402 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14404 if (!wxPyCheckForApp()) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (wxScrollBar
*)new wxScrollBar();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14417 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
= 0;
14419 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14420 wxWindow
*arg2
= (wxWindow
*) 0 ;
14421 int arg3
= (int) -1 ;
14422 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14423 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14424 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14425 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14426 long arg6
= (long) wxSB_HORIZONTAL
;
14427 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14428 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14429 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14430 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14444 bool temp8
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 PyObject
* obj3
= 0 ;
14449 PyObject
* obj4
= 0 ;
14450 PyObject
* obj5
= 0 ;
14451 PyObject
* obj6
= 0 ;
14452 PyObject
* obj7
= 0 ;
14453 char * kwnames
[] = {
14454 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14459 if (!SWIG_IsOK(res1
)) {
14460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14462 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14464 if (!SWIG_IsOK(res2
)) {
14465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14467 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14470 if (!SWIG_IsOK(ecode3
)) {
14471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14473 arg3
= static_cast< int >(val3
);
14478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14488 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14489 if (!SWIG_IsOK(ecode6
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14492 arg6
= static_cast< long >(val6
);
14495 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14496 if (!SWIG_IsOK(res7
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14502 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14506 arg8
= wxString_in_helper(obj7
);
14507 if (arg8
== NULL
) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14535 PyObject
*resultobj
= 0;
14536 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14540 PyObject
*swig_obj
[1] ;
14542 if (!args
) SWIG_fail
;
14543 swig_obj
[0] = args
;
14544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14548 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= SWIG_From_int(static_cast< int >(result
));
14562 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14563 PyObject
*resultobj
= 0;
14564 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14568 PyObject
*swig_obj
[1] ;
14570 if (!args
) SWIG_fail
;
14571 swig_obj
[0] = args
;
14572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14573 if (!SWIG_IsOK(res1
)) {
14574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14576 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_From_int(static_cast< int >(result
));
14590 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14591 PyObject
*resultobj
= 0;
14592 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14596 PyObject
*swig_obj
[1] ;
14598 if (!args
) SWIG_fail
;
14599 swig_obj
[0] = args
;
14600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14604 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_From_int(static_cast< int >(result
));
14618 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14619 PyObject
*resultobj
= 0;
14620 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14624 PyObject
*swig_obj
[1] ;
14626 if (!args
) SWIG_fail
;
14627 swig_obj
[0] = args
;
14628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14629 if (!SWIG_IsOK(res1
)) {
14630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14632 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_From_int(static_cast< int >(result
));
14646 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14652 PyObject
*swig_obj
[1] ;
14654 if (!args
) SWIG_fail
;
14655 swig_obj
[0] = args
;
14656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14660 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14676 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
= 0;
14678 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 char * kwnames
[] = {
14687 (char *) "self",(char *) "viewStart", NULL
14690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14695 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14697 if (!SWIG_IsOK(ecode2
)) {
14698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14700 arg2
= static_cast< int >(val2
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 (arg1
)->SetThumbPosition(arg2
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_Py_Void();
14714 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14717 SwigValueWrapper
<wxVisualAttributes
> result
;
14720 PyObject
* obj0
= 0 ;
14721 char * kwnames
[] = {
14722 (char *) "variant", NULL
14725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14728 if (!SWIG_IsOK(ecode1
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14731 arg1
= static_cast< wxWindowVariant
>(val1
);
14734 if (!wxPyCheckForApp()) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14747 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14750 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14751 return SWIG_Py_Void();
14754 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14755 return SWIG_Python_InitShadowInstance(args
);
14758 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14759 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14764 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14765 PyObject
*pyobj
= 0;
14769 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14771 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14778 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14779 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14784 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14785 PyObject
*pyobj
= 0;
14789 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14791 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14798 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
= 0;
14800 wxWindow
*arg1
= (wxWindow
*) 0 ;
14801 int arg2
= (int) -1 ;
14802 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14803 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14804 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14805 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14806 long arg5
= (long) wxSP_HORIZONTAL
;
14807 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14808 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14809 wxSpinButton
*result
= 0 ;
14818 bool temp6
= false ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 PyObject
* obj2
= 0 ;
14822 PyObject
* obj3
= 0 ;
14823 PyObject
* obj4
= 0 ;
14824 PyObject
* obj5
= 0 ;
14825 char * kwnames
[] = {
14826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14831 if (!SWIG_IsOK(res1
)) {
14832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14837 if (!SWIG_IsOK(ecode2
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14840 arg2
= static_cast< int >(val2
);
14845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14856 if (!SWIG_IsOK(ecode5
)) {
14857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14859 arg5
= static_cast< long >(val5
);
14863 arg6
= wxString_in_helper(obj5
);
14864 if (arg6
== NULL
) SWIG_fail
;
14869 if (!wxPyCheckForApp()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14890 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14891 PyObject
*resultobj
= 0;
14892 wxSpinButton
*result
= 0 ;
14894 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14896 if (!wxPyCheckForApp()) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (wxSpinButton
*)new wxSpinButton();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14909 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
= 0;
14911 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14912 wxWindow
*arg2
= (wxWindow
*) 0 ;
14913 int arg3
= (int) -1 ;
14914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14918 long arg6
= (long) wxSP_HORIZONTAL
;
14919 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14932 bool temp7
= false ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 PyObject
* obj2
= 0 ;
14936 PyObject
* obj3
= 0 ;
14937 PyObject
* obj4
= 0 ;
14938 PyObject
* obj5
= 0 ;
14939 PyObject
* obj6
= 0 ;
14940 char * kwnames
[] = {
14941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14949 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14951 if (!SWIG_IsOK(res2
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14957 if (!SWIG_IsOK(ecode3
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14960 arg3
= static_cast< int >(val3
);
14965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14976 if (!SWIG_IsOK(ecode6
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14979 arg6
= static_cast< long >(val6
);
14983 arg7
= wxString_in_helper(obj6
);
14984 if (arg7
== NULL
) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15011 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15012 PyObject
*resultobj
= 0;
15013 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15017 PyObject
*swig_obj
[1] ;
15019 if (!args
) SWIG_fail
;
15020 swig_obj
[0] = args
;
15021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15025 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= SWIG_From_int(static_cast< int >(result
));
15039 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 PyObject
*resultobj
= 0;
15041 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15045 PyObject
*swig_obj
[1] ;
15047 if (!args
) SWIG_fail
;
15048 swig_obj
[0] = args
;
15049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15053 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_From_int(static_cast< int >(result
));
15067 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15068 PyObject
*resultobj
= 0;
15069 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15073 PyObject
*swig_obj
[1] ;
15075 if (!args
) SWIG_fail
;
15076 swig_obj
[0] = args
;
15077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15078 if (!SWIG_IsOK(res1
)) {
15079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15081 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_From_int(static_cast< int >(result
));
15095 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
= 0;
15097 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char * kwnames
[] = {
15106 (char *) "self",(char *) "val", NULL
15109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15111 if (!SWIG_IsOK(res1
)) {
15112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15114 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15116 if (!SWIG_IsOK(ecode2
)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15119 arg2
= static_cast< int >(val2
);
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 (arg1
)->SetValue(arg2
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= SWIG_Py_Void();
15133 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "minVal", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15152 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15154 if (!SWIG_IsOK(ecode2
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15157 arg2
= static_cast< int >(val2
);
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 (arg1
)->SetMin(arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_Py_Void();
15171 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= 0;
15173 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 char * kwnames
[] = {
15182 (char *) "self",(char *) "maxVal", NULL
15185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15190 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15192 if (!SWIG_IsOK(ecode2
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15195 arg2
= static_cast< int >(val2
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetMax(arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_Py_Void();
15209 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= 0;
15211 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15232 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15234 if (!SWIG_IsOK(ecode2
)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15237 arg2
= static_cast< int >(val2
);
15238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15239 if (!SWIG_IsOK(ecode3
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15242 arg3
= static_cast< int >(val3
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->SetRange(arg2
,arg3
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_Py_Void();
15256 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 PyObject
*resultobj
= 0;
15258 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15262 PyObject
*swig_obj
[1] ;
15264 if (!args
) SWIG_fail
;
15265 swig_obj
[0] = args
;
15266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15267 if (!SWIG_IsOK(res1
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15270 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15289 SwigValueWrapper
<wxVisualAttributes
> result
;
15292 PyObject
* obj0
= 0 ;
15293 char * kwnames
[] = {
15294 (char *) "variant", NULL
15297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15300 if (!SWIG_IsOK(ecode1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15303 arg1
= static_cast< wxWindowVariant
>(val1
);
15306 if (!wxPyCheckForApp()) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15319 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15322 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15323 return SWIG_Py_Void();
15326 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 return SWIG_Python_InitShadowInstance(args
);
15330 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
= 0;
15332 wxWindow
*arg1
= (wxWindow
*) 0 ;
15333 int arg2
= (int) -1 ;
15334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15340 long arg6
= (long) wxSP_ARROW_KEYS
;
15341 int arg7
= (int) 0 ;
15342 int arg8
= (int) 100 ;
15343 int arg9
= (int) 0 ;
15344 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15345 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15346 wxSpinCtrl
*result
= 0 ;
15351 bool temp3
= false ;
15362 bool temp10
= false ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 PyObject
* obj3
= 0 ;
15367 PyObject
* obj4
= 0 ;
15368 PyObject
* obj5
= 0 ;
15369 PyObject
* obj6
= 0 ;
15370 PyObject
* obj7
= 0 ;
15371 PyObject
* obj8
= 0 ;
15372 PyObject
* obj9
= 0 ;
15373 char * kwnames
[] = {
15374 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15382 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15385 if (!SWIG_IsOK(ecode2
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15388 arg2
= static_cast< int >(val2
);
15392 arg3
= wxString_in_helper(obj2
);
15393 if (arg3
== NULL
) SWIG_fail
;
15400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15410 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15411 if (!SWIG_IsOK(ecode6
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15414 arg6
= static_cast< long >(val6
);
15417 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15418 if (!SWIG_IsOK(ecode7
)) {
15419 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15421 arg7
= static_cast< int >(val7
);
15424 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15425 if (!SWIG_IsOK(ecode8
)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15428 arg8
= static_cast< int >(val8
);
15431 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15432 if (!SWIG_IsOK(ecode9
)) {
15433 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15435 arg9
= static_cast< int >(val9
);
15439 arg10
= wxString_in_helper(obj9
);
15440 if (arg10
== NULL
) SWIG_fail
;
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15474 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15475 PyObject
*resultobj
= 0;
15476 wxSpinCtrl
*result
= 0 ;
15478 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15480 if (!wxPyCheckForApp()) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15493 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15496 wxWindow
*arg2
= (wxWindow
*) 0 ;
15497 int arg3
= (int) -1 ;
15498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15500 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15501 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15502 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15503 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15504 long arg7
= (long) wxSP_ARROW_KEYS
;
15505 int arg8
= (int) 0 ;
15506 int arg9
= (int) 100 ;
15507 int arg10
= (int) 0 ;
15508 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15509 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15517 bool temp4
= false ;
15528 bool temp11
= false ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 PyObject
* obj3
= 0 ;
15533 PyObject
* obj4
= 0 ;
15534 PyObject
* obj5
= 0 ;
15535 PyObject
* obj6
= 0 ;
15536 PyObject
* obj7
= 0 ;
15537 PyObject
* obj8
= 0 ;
15538 PyObject
* obj9
= 0 ;
15539 PyObject
* obj10
= 0 ;
15540 char * kwnames
[] = {
15541 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15549 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15551 if (!SWIG_IsOK(res2
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15557 if (!SWIG_IsOK(ecode3
)) {
15558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15560 arg3
= static_cast< int >(val3
);
15564 arg4
= wxString_in_helper(obj3
);
15565 if (arg4
== NULL
) SWIG_fail
;
15572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15583 if (!SWIG_IsOK(ecode7
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15586 arg7
= static_cast< long >(val7
);
15589 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15590 if (!SWIG_IsOK(ecode8
)) {
15591 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15593 arg8
= static_cast< int >(val8
);
15596 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15597 if (!SWIG_IsOK(ecode9
)) {
15598 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15600 arg9
= static_cast< int >(val9
);
15603 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15604 if (!SWIG_IsOK(ecode10
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15607 arg10
= static_cast< int >(val10
);
15611 arg11
= wxString_in_helper(obj10
);
15612 if (arg11
== NULL
) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 PyObject
*resultobj
= 0;
15649 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15653 PyObject
*swig_obj
[1] ;
15655 if (!args
) SWIG_fail
;
15656 swig_obj
[0] = args
;
15657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15661 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_From_int(static_cast< int >(result
));
15675 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
= 0;
15677 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char * kwnames
[] = {
15686 (char *) "self",(char *) "value", NULL
15689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15694 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15696 if (!SWIG_IsOK(ecode2
)) {
15697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15699 arg2
= static_cast< int >(val2
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 (arg1
)->SetValue(arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_Py_Void();
15713 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
= 0;
15715 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15716 wxString
*arg2
= 0 ;
15719 bool temp2
= false ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "text", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15731 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15733 arg2
= wxString_in_helper(obj1
);
15734 if (arg2
== NULL
) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetValue((wxString
const &)*arg2
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= SWIG_Py_Void();
15758 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
= 0;
15760 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 PyObject
* obj2
= 0 ;
15772 char * kwnames
[] = {
15773 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15778 if (!SWIG_IsOK(res1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15781 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15783 if (!SWIG_IsOK(ecode2
)) {
15784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15786 arg2
= static_cast< int >(val2
);
15787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15788 if (!SWIG_IsOK(ecode3
)) {
15789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15791 arg3
= static_cast< int >(val3
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->SetRange(arg2
,arg3
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_Py_Void();
15805 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15806 PyObject
*resultobj
= 0;
15807 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15811 PyObject
*swig_obj
[1] ;
15813 if (!args
) SWIG_fail
;
15814 swig_obj
[0] = args
;
15815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15816 if (!SWIG_IsOK(res1
)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15819 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= SWIG_From_int(static_cast< int >(result
));
15833 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15834 PyObject
*resultobj
= 0;
15835 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15839 PyObject
*swig_obj
[1] ;
15841 if (!args
) SWIG_fail
;
15842 swig_obj
[0] = args
;
15843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15847 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_From_int(static_cast< int >(result
));
15861 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
= 0;
15863 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 PyObject
* obj2
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "self",(char *) "from",(char *) "to", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15884 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15886 if (!SWIG_IsOK(ecode2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15889 arg2
= static_cast< long >(val2
);
15890 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15891 if (!SWIG_IsOK(ecode3
)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15894 arg3
= static_cast< long >(val3
);
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetSelection(arg2
,arg3
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_Py_Void();
15908 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15910 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15911 SwigValueWrapper
<wxVisualAttributes
> result
;
15914 PyObject
* obj0
= 0 ;
15915 char * kwnames
[] = {
15916 (char *) "variant", NULL
15919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15921 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15922 if (!SWIG_IsOK(ecode1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15925 arg1
= static_cast< wxWindowVariant
>(val1
);
15928 if (!wxPyCheckForApp()) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15941 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15944 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15945 return SWIG_Py_Void();
15948 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15949 return SWIG_Python_InitShadowInstance(args
);
15952 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
= 0;
15954 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15955 int arg2
= (int) 0 ;
15956 wxSpinEvent
*result
= 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char * kwnames
[] = {
15964 (char *) "commandType",(char *) "winid", NULL
15967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15970 if (!SWIG_IsOK(ecode1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15973 arg1
= static_cast< wxEventType
>(val1
);
15976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15977 if (!SWIG_IsOK(ecode2
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15980 arg2
= static_cast< int >(val2
);
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15995 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 PyObject
*resultobj
= 0;
15997 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16001 PyObject
*swig_obj
[1] ;
16003 if (!args
) SWIG_fail
;
16004 swig_obj
[0] = args
;
16005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16006 if (!SWIG_IsOK(res1
)) {
16007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16009 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_From_int(static_cast< int >(result
));
16023 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
= 0;
16025 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 PyObject
* obj1
= 0 ;
16033 char * kwnames
[] = {
16034 (char *) "self",(char *) "pos", NULL
16037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16042 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16044 if (!SWIG_IsOK(ecode2
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16047 arg2
= static_cast< int >(val2
);
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->SetPosition(arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_Py_Void();
16061 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16064 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16065 return SWIG_Py_Void();
16068 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16069 return SWIG_Python_InitShadowInstance(args
);
16072 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16073 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16078 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16079 PyObject
*pyobj
= 0;
16083 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16085 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16092 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16093 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16098 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16099 PyObject
*pyobj
= 0;
16103 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16105 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16112 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
= 0;
16114 wxWindow
*arg1
= (wxWindow
*) 0 ;
16115 int arg2
= (int) -1 ;
16116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16122 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16123 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16124 int arg7
= (int) 0 ;
16125 long arg8
= (long) wxRA_HORIZONTAL
;
16126 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16127 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16128 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16129 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16130 wxRadioBox
*result
= 0 ;
16135 bool temp3
= false ;
16138 bool temp6
= false ;
16145 bool temp10
= false ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 PyObject
* obj2
= 0 ;
16149 PyObject
* obj3
= 0 ;
16150 PyObject
* obj4
= 0 ;
16151 PyObject
* obj5
= 0 ;
16152 PyObject
* obj6
= 0 ;
16153 PyObject
* obj7
= 0 ;
16154 PyObject
* obj8
= 0 ;
16155 PyObject
* obj9
= 0 ;
16156 char * kwnames
[] = {
16157 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16162 if (!SWIG_IsOK(res1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16168 if (!SWIG_IsOK(ecode2
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16171 arg2
= static_cast< int >(val2
);
16175 arg3
= wxString_in_helper(obj2
);
16176 if (arg3
== NULL
) SWIG_fail
;
16183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16194 if (! PySequence_Check(obj5
)) {
16195 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16198 arg6
= new wxArrayString
;
16200 int i
, len
=PySequence_Length(obj5
);
16201 for (i
=0; i
<len
; i
++) {
16202 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16203 wxString
* s
= wxString_in_helper(item
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16212 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16213 if (!SWIG_IsOK(ecode7
)) {
16214 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16216 arg7
= static_cast< int >(val7
);
16219 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16220 if (!SWIG_IsOK(ecode8
)) {
16221 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16223 arg8
= static_cast< long >(val8
);
16226 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16227 if (!SWIG_IsOK(res9
)) {
16228 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16233 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16237 arg10
= wxString_in_helper(obj9
);
16238 if (arg10
== NULL
) SWIG_fail
;
16243 if (!wxPyCheckForApp()) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 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
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16255 if (temp6
) delete arg6
;
16268 if (temp6
) delete arg6
;
16278 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16280 wxRadioBox
*result
= 0 ;
16282 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16284 if (!wxPyCheckForApp()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (wxRadioBox
*)new wxRadioBox();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16297 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
= 0;
16299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16300 wxWindow
*arg2
= (wxWindow
*) 0 ;
16301 int arg3
= (int) -1 ;
16302 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16303 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16304 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16305 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16306 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16307 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16308 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16309 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16310 int arg8
= (int) 0 ;
16311 long arg9
= (long) wxRA_HORIZONTAL
;
16312 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16313 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16314 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16315 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16323 bool temp4
= false ;
16326 bool temp7
= false ;
16333 bool temp11
= false ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 PyObject
* obj2
= 0 ;
16337 PyObject
* obj3
= 0 ;
16338 PyObject
* obj4
= 0 ;
16339 PyObject
* obj5
= 0 ;
16340 PyObject
* obj6
= 0 ;
16341 PyObject
* obj7
= 0 ;
16342 PyObject
* obj8
= 0 ;
16343 PyObject
* obj9
= 0 ;
16344 PyObject
* obj10
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16354 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16356 if (!SWIG_IsOK(res2
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16362 if (!SWIG_IsOK(ecode3
)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16365 arg3
= static_cast< int >(val3
);
16369 arg4
= wxString_in_helper(obj3
);
16370 if (arg4
== NULL
) SWIG_fail
;
16377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16388 if (! PySequence_Check(obj6
)) {
16389 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16392 arg7
= new wxArrayString
;
16394 int i
, len
=PySequence_Length(obj6
);
16395 for (i
=0; i
<len
; i
++) {
16396 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16397 wxString
* s
= wxString_in_helper(item
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16406 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16407 if (!SWIG_IsOK(ecode8
)) {
16408 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16410 arg8
= static_cast< int >(val8
);
16413 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16414 if (!SWIG_IsOK(ecode9
)) {
16415 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16417 arg9
= static_cast< long >(val9
);
16420 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16421 if (!SWIG_IsOK(res10
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16427 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16431 arg11
= wxString_in_helper(obj10
);
16432 if (arg11
== NULL
) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 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
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 if (temp7
) delete arg7
;
16463 if (temp7
) delete arg7
;
16473 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "self",(char *) "n", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16492 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16494 if (!SWIG_IsOK(ecode2
)) {
16495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16497 arg2
= static_cast< int >(val2
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 (arg1
)->SetSelection(arg2
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_Py_Void();
16511 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 PyObject
*resultobj
= 0;
16513 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16517 PyObject
*swig_obj
[1] ;
16519 if (!args
) SWIG_fail
;
16520 swig_obj
[0] = args
;
16521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16522 if (!SWIG_IsOK(res1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16525 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_From_int(static_cast< int >(result
));
16539 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16540 PyObject
*resultobj
= 0;
16541 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16545 PyObject
*swig_obj
[1] ;
16547 if (!args
) SWIG_fail
;
16548 swig_obj
[0] = args
;
16549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16553 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16576 wxString
*arg2
= 0 ;
16580 bool temp2
= false ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char * kwnames
[] = {
16584 (char *) "self",(char *) "s", NULL
16587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16592 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16594 arg2
= wxString_in_helper(obj1
);
16595 if (arg2
== NULL
) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16621 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16622 PyObject
*resultobj
= 0;
16623 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16627 PyObject
*swig_obj
[1] ;
16629 if (!args
) SWIG_fail
;
16630 swig_obj
[0] = args
;
16631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16632 if (!SWIG_IsOK(res1
)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16635 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16649 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
= 0;
16651 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16652 wxString
*arg2
= 0 ;
16656 bool temp2
= false ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 char * kwnames
[] = {
16660 (char *) "self",(char *) "s", NULL
16663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16668 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16670 arg2
= wxString_in_helper(obj1
);
16671 if (arg2
== NULL
) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_From_int(static_cast< int >(result
));
16695 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
= 0;
16697 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 PyObject
* obj1
= 0 ;
16706 char * kwnames
[] = {
16707 (char *) "self",(char *) "n", NULL
16710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16712 if (!SWIG_IsOK(res1
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16715 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16717 if (!SWIG_IsOK(ecode2
)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16720 arg2
= static_cast< int >(val2
);
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16740 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
= 0;
16742 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16744 wxString
*arg3
= 0 ;
16749 bool temp3
= false ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char * kwnames
[] = {
16754 (char *) "self",(char *) "n",(char *) "label", NULL
16757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16759 if (!SWIG_IsOK(res1
)) {
16760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16762 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16764 if (!SWIG_IsOK(ecode2
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16767 arg2
= static_cast< int >(val2
);
16769 arg3
= wxString_in_helper(obj2
);
16770 if (arg3
== NULL
) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_Py_Void();
16794 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
= 0;
16796 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16797 unsigned int arg2
;
16798 bool arg3
= (bool) true ;
16801 unsigned int val2
;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 PyObject
* obj2
= 0 ;
16808 char * kwnames
[] = {
16809 (char *) "self",(char *) "n",(char *) "enable", NULL
16812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16817 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16818 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16819 if (!SWIG_IsOK(ecode2
)) {
16820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16822 arg2
= static_cast< unsigned int >(val2
);
16824 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16825 if (!SWIG_IsOK(ecode3
)) {
16826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16828 arg3
= static_cast< bool >(val3
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 (arg1
)->Enable(arg2
,arg3
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_Py_Void();
16843 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= 0;
16845 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16846 unsigned int arg2
;
16847 bool arg3
= (bool) true ;
16850 unsigned int val2
;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "self",(char *) "n",(char *) "show", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16866 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16867 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16868 if (!SWIG_IsOK(ecode2
)) {
16869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16871 arg2
= static_cast< unsigned int >(val2
);
16873 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16874 if (!SWIG_IsOK(ecode3
)) {
16875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16877 arg3
= static_cast< bool >(val3
);
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->Show(arg2
,arg3
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_Py_Void();
16892 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16895 unsigned int arg2
;
16899 unsigned int val2
;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "self",(char *) "n", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) 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_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
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_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16917 arg2
= static_cast< unsigned int >(val2
);
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16933 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
= 0;
16935 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16936 unsigned int arg2
;
16940 unsigned int val2
;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char * kwnames
[] = {
16945 (char *) "self",(char *) "n", NULL
16948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16950 if (!SWIG_IsOK(res1
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16953 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16954 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16955 if (!SWIG_IsOK(ecode2
)) {
16956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16958 arg2
= static_cast< unsigned int >(val2
);
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16974 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 PyObject
*resultobj
= 0;
16976 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16977 unsigned int result
;
16980 PyObject
*swig_obj
[1] ;
16982 if (!args
) SWIG_fail
;
16983 swig_obj
[0] = args
;
16984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16985 if (!SWIG_IsOK(res1
)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16988 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17002 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17003 PyObject
*resultobj
= 0;
17004 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17005 unsigned int result
;
17008 PyObject
*swig_obj
[1] ;
17010 if (!args
) SWIG_fail
;
17011 swig_obj
[0] = args
;
17012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17016 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17030 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
= 0;
17032 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 PyObject
* obj2
= 0 ;
17048 PyObject
* obj3
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17058 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17060 if (!SWIG_IsOK(ecode2
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17063 arg2
= static_cast< int >(val2
);
17064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17065 if (!SWIG_IsOK(ecode3
)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17068 arg3
= static_cast< wxDirection
>(val3
);
17069 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17070 if (!SWIG_IsOK(ecode4
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17073 arg4
= static_cast< long >(val4
);
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= SWIG_From_int(static_cast< int >(result
));
17087 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
= 0;
17089 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17090 unsigned int arg2
;
17091 wxString
*arg3
= 0 ;
17094 unsigned int val2
;
17096 bool temp3
= false ;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 PyObject
* obj2
= 0 ;
17100 char * kwnames
[] = {
17101 (char *) "self",(char *) "item",(char *) "text", NULL
17104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17106 if (!SWIG_IsOK(res1
)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17109 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17110 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17111 if (!SWIG_IsOK(ecode2
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17114 arg2
= static_cast< unsigned int >(val2
);
17116 arg3
= wxString_in_helper(obj2
);
17117 if (arg3
== NULL
) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_Py_Void();
17141 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17144 unsigned int arg2
;
17145 wxToolTip
*result
= 0 ;
17148 unsigned int val2
;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char * kwnames
[] = {
17153 (char *) "self",(char *) "item", NULL
17156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17158 if (!SWIG_IsOK(res1
)) {
17159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17161 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17162 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17163 if (!SWIG_IsOK(ecode2
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17166 arg2
= static_cast< unsigned int >(val2
);
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17182 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
= 0;
17184 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17185 unsigned int arg2
;
17186 wxString
*arg3
= 0 ;
17189 unsigned int val2
;
17191 bool temp3
= false ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "n",(char *) "helpText", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17204 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17205 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17206 if (!SWIG_IsOK(ecode2
)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17209 arg2
= static_cast< unsigned int >(val2
);
17211 arg3
= wxString_in_helper(obj2
);
17212 if (arg3
== NULL
) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17239 unsigned int arg2
;
17243 unsigned int val2
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char * kwnames
[] = {
17248 (char *) "self",(char *) "n", NULL
17251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17256 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17257 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17258 if (!SWIG_IsOK(ecode2
)) {
17259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17261 arg2
= static_cast< unsigned int >(val2
);
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17281 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
= 0;
17283 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17284 SwigValueWrapper
<wxVisualAttributes
> result
;
17287 PyObject
* obj0
= 0 ;
17288 char * kwnames
[] = {
17289 (char *) "variant", NULL
17292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17295 if (!SWIG_IsOK(ecode1
)) {
17296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17298 arg1
= static_cast< wxWindowVariant
>(val1
);
17301 if (!wxPyCheckForApp()) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17314 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17317 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17318 return SWIG_Py_Void();
17321 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17322 return SWIG_Python_InitShadowInstance(args
);
17325 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
= 0;
17327 wxWindow
*arg1
= (wxWindow
*) 0 ;
17328 int arg2
= (int) -1 ;
17329 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17330 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17335 long arg6
= (long) 0 ;
17336 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17337 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17338 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17339 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17340 wxRadioButton
*result
= 0 ;
17345 bool temp3
= false ;
17352 bool temp8
= false ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 PyObject
* obj3
= 0 ;
17357 PyObject
* obj4
= 0 ;
17358 PyObject
* obj5
= 0 ;
17359 PyObject
* obj6
= 0 ;
17360 PyObject
* obj7
= 0 ;
17361 char * kwnames
[] = {
17362 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17367 if (!SWIG_IsOK(res1
)) {
17368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17373 if (!SWIG_IsOK(ecode2
)) {
17374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17376 arg2
= static_cast< int >(val2
);
17380 arg3
= wxString_in_helper(obj2
);
17381 if (arg3
== NULL
) SWIG_fail
;
17388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17399 if (!SWIG_IsOK(ecode6
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17402 arg6
= static_cast< long >(val6
);
17405 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17406 if (!SWIG_IsOK(res7
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17412 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17416 arg8
= wxString_in_helper(obj7
);
17417 if (arg8
== NULL
) SWIG_fail
;
17422 if (!wxPyCheckForApp()) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17451 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17452 PyObject
*resultobj
= 0;
17453 wxRadioButton
*result
= 0 ;
17455 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17457 if (!wxPyCheckForApp()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxRadioButton
*)new wxRadioButton();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17470 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
= 0;
17472 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17473 wxWindow
*arg2
= (wxWindow
*) 0 ;
17474 int arg3
= (int) -1 ;
17475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17481 long arg7
= (long) 0 ;
17482 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17483 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17484 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17485 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17493 bool temp4
= false ;
17500 bool temp9
= false ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 PyObject
* obj3
= 0 ;
17505 PyObject
* obj4
= 0 ;
17506 PyObject
* obj5
= 0 ;
17507 PyObject
* obj6
= 0 ;
17508 PyObject
* obj7
= 0 ;
17509 PyObject
* obj8
= 0 ;
17510 char * kwnames
[] = {
17511 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17516 if (!SWIG_IsOK(res1
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17519 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17521 if (!SWIG_IsOK(res2
)) {
17522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17527 if (!SWIG_IsOK(ecode3
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17530 arg3
= static_cast< int >(val3
);
17534 arg4
= wxString_in_helper(obj3
);
17535 if (arg4
== NULL
) SWIG_fail
;
17542 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17548 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17552 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17553 if (!SWIG_IsOK(ecode7
)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17556 arg7
= static_cast< long >(val7
);
17559 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17560 if (!SWIG_IsOK(res8
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17566 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17570 arg9
= wxString_in_helper(obj8
);
17571 if (arg9
== NULL
) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17607 PyObject
*resultobj
= 0;
17608 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17612 PyObject
*swig_obj
[1] ;
17614 if (!args
) SWIG_fail
;
17615 swig_obj
[0] = args
;
17616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17617 if (!SWIG_IsOK(res1
)) {
17618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17620 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (bool)(arg1
)->GetValue();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17636 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
= 0;
17638 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char * kwnames
[] = {
17647 (char *) "self",(char *) "value", NULL
17650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17652 if (!SWIG_IsOK(res1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17655 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17657 if (!SWIG_IsOK(ecode2
)) {
17658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17660 arg2
= static_cast< bool >(val2
);
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 (arg1
)->SetValue(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_Py_Void();
17674 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17677 SwigValueWrapper
<wxVisualAttributes
> result
;
17680 PyObject
* obj0
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "variant", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17688 if (!SWIG_IsOK(ecode1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17691 arg1
= static_cast< wxWindowVariant
>(val1
);
17694 if (!wxPyCheckForApp()) SWIG_fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17707 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17710 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17711 return SWIG_Py_Void();
17714 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17715 return SWIG_Python_InitShadowInstance(args
);
17718 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17719 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17724 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17725 PyObject
*pyobj
= 0;
17729 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17731 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17738 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
= 0;
17740 wxWindow
*arg1
= (wxWindow
*) 0 ;
17741 int arg2
= (int) -1 ;
17742 int arg3
= (int) 0 ;
17743 int arg4
= (int) 0 ;
17744 int arg5
= (int) 100 ;
17745 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17746 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17747 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17748 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17749 long arg8
= (long) wxSL_HORIZONTAL
;
17750 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17751 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17752 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17753 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17754 wxSlider
*result
= 0 ;
17771 bool temp10
= false ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 PyObject
* obj2
= 0 ;
17775 PyObject
* obj3
= 0 ;
17776 PyObject
* obj4
= 0 ;
17777 PyObject
* obj5
= 0 ;
17778 PyObject
* obj6
= 0 ;
17779 PyObject
* obj7
= 0 ;
17780 PyObject
* obj8
= 0 ;
17781 PyObject
* obj9
= 0 ;
17782 char * kwnames
[] = {
17783 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17788 if (!SWIG_IsOK(res1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17794 if (!SWIG_IsOK(ecode2
)) {
17795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17797 arg2
= static_cast< int >(val2
);
17800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17801 if (!SWIG_IsOK(ecode3
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17804 arg3
= static_cast< int >(val3
);
17807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17808 if (!SWIG_IsOK(ecode4
)) {
17809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17811 arg4
= static_cast< int >(val4
);
17814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17815 if (!SWIG_IsOK(ecode5
)) {
17816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17818 arg5
= static_cast< int >(val5
);
17823 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17829 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17833 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17834 if (!SWIG_IsOK(ecode8
)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17837 arg8
= static_cast< long >(val8
);
17840 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17841 if (!SWIG_IsOK(res9
)) {
17842 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17847 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17851 arg10
= wxString_in_helper(obj9
);
17852 if (arg10
== NULL
) SWIG_fail
;
17857 if (!wxPyCheckForApp()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17878 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17879 PyObject
*resultobj
= 0;
17880 wxSlider
*result
= 0 ;
17882 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17884 if (!wxPyCheckForApp()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (wxSlider
*)new wxSlider();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17897 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
= 0;
17899 wxSlider
*arg1
= (wxSlider
*) 0 ;
17900 wxWindow
*arg2
= (wxWindow
*) 0 ;
17901 int arg3
= (int) -1 ;
17902 int arg4
= (int) 0 ;
17903 int arg5
= (int) 0 ;
17904 int arg6
= (int) 100 ;
17905 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17906 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17907 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17908 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17909 long arg9
= (long) wxSL_HORIZONTAL
;
17910 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17911 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17912 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17913 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17933 bool temp11
= false ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 PyObject
* obj2
= 0 ;
17937 PyObject
* obj3
= 0 ;
17938 PyObject
* obj4
= 0 ;
17939 PyObject
* obj5
= 0 ;
17940 PyObject
* obj6
= 0 ;
17941 PyObject
* obj7
= 0 ;
17942 PyObject
* obj8
= 0 ;
17943 PyObject
* obj9
= 0 ;
17944 PyObject
* obj10
= 0 ;
17945 char * kwnames
[] = {
17946 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17951 if (!SWIG_IsOK(res1
)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17954 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17956 if (!SWIG_IsOK(res2
)) {
17957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17962 if (!SWIG_IsOK(ecode3
)) {
17963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17965 arg3
= static_cast< int >(val3
);
17968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17969 if (!SWIG_IsOK(ecode4
)) {
17970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17972 arg4
= static_cast< int >(val4
);
17975 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17976 if (!SWIG_IsOK(ecode5
)) {
17977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17979 arg5
= static_cast< int >(val5
);
17982 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17983 if (!SWIG_IsOK(ecode6
)) {
17984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17986 arg6
= static_cast< int >(val6
);
17991 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17997 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18001 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18002 if (!SWIG_IsOK(ecode9
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18005 arg9
= static_cast< long >(val9
);
18008 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18009 if (!SWIG_IsOK(res10
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18015 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18019 arg11
= wxString_in_helper(obj10
);
18020 if (arg11
== NULL
) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18048 PyObject
*resultobj
= 0;
18049 wxSlider
*arg1
= (wxSlider
*) 0 ;
18053 PyObject
*swig_obj
[1] ;
18055 if (!args
) SWIG_fail
;
18056 swig_obj
[0] = args
;
18057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18058 if (!SWIG_IsOK(res1
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18061 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_From_int(static_cast< int >(result
));
18075 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= 0;
18077 wxSlider
*arg1
= (wxSlider
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char * kwnames
[] = {
18086 (char *) "self",(char *) "value", NULL
18089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18091 if (!SWIG_IsOK(res1
)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18094 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18096 if (!SWIG_IsOK(ecode2
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18099 arg2
= static_cast< int >(val2
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->SetValue(arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxSlider
*arg1
= (wxSlider
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18136 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18138 if (!SWIG_IsOK(ecode2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18141 arg2
= static_cast< int >(val2
);
18142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18143 if (!SWIG_IsOK(ecode3
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18146 arg3
= static_cast< int >(val3
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetRange(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18161 PyObject
*resultobj
= 0;
18162 wxSlider
*arg1
= (wxSlider
*) 0 ;
18166 PyObject
*swig_obj
[1] ;
18168 if (!args
) SWIG_fail
;
18169 swig_obj
[0] = args
;
18170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18174 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_From_int(static_cast< int >(result
));
18188 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18189 PyObject
*resultobj
= 0;
18190 wxSlider
*arg1
= (wxSlider
*) 0 ;
18194 PyObject
*swig_obj
[1] ;
18196 if (!args
) SWIG_fail
;
18197 swig_obj
[0] = args
;
18198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18199 if (!SWIG_IsOK(res1
)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18202 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_From_int(static_cast< int >(result
));
18216 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
= 0;
18218 wxSlider
*arg1
= (wxSlider
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char * kwnames
[] = {
18227 (char *) "self",(char *) "minValue", NULL
18230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18235 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18237 if (!SWIG_IsOK(ecode2
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18240 arg2
= static_cast< int >(val2
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->SetMin(arg2
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_Py_Void();
18254 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= 0;
18256 wxSlider
*arg1
= (wxSlider
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "maxValue", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18273 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18275 if (!SWIG_IsOK(ecode2
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18278 arg2
= static_cast< int >(val2
);
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 (arg1
)->SetMax(arg2
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_Py_Void();
18292 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
= 0;
18294 wxSlider
*arg1
= (wxSlider
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char * kwnames
[] = {
18303 (char *) "self",(char *) "lineSize", NULL
18306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18308 if (!SWIG_IsOK(res1
)) {
18309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18311 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18313 if (!SWIG_IsOK(ecode2
)) {
18314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18316 arg2
= static_cast< int >(val2
);
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetLineSize(arg2
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_Py_Void();
18330 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
= 0;
18332 wxSlider
*arg1
= (wxSlider
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 char * kwnames
[] = {
18341 (char *) "self",(char *) "pageSize", NULL
18344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18346 if (!SWIG_IsOK(res1
)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18349 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18351 if (!SWIG_IsOK(ecode2
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18354 arg2
= static_cast< int >(val2
);
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->SetPageSize(arg2
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_Py_Void();
18368 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18369 PyObject
*resultobj
= 0;
18370 wxSlider
*arg1
= (wxSlider
*) 0 ;
18374 PyObject
*swig_obj
[1] ;
18376 if (!args
) SWIG_fail
;
18377 swig_obj
[0] = args
;
18378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18379 if (!SWIG_IsOK(res1
)) {
18380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18382 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int(static_cast< int >(result
));
18396 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18397 PyObject
*resultobj
= 0;
18398 wxSlider
*arg1
= (wxSlider
*) 0 ;
18402 PyObject
*swig_obj
[1] ;
18404 if (!args
) SWIG_fail
;
18405 swig_obj
[0] = args
;
18406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18407 if (!SWIG_IsOK(res1
)) {
18408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18410 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_From_int(static_cast< int >(result
));
18424 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxSlider
*arg1
= (wxSlider
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "lenPixels", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18443 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18448 arg2
= static_cast< int >(val2
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetThumbLength(arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_Py_Void();
18462 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18463 PyObject
*resultobj
= 0;
18464 wxSlider
*arg1
= (wxSlider
*) 0 ;
18468 PyObject
*swig_obj
[1] ;
18470 if (!args
) SWIG_fail
;
18471 swig_obj
[0] = args
;
18472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18476 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_From_int(static_cast< int >(result
));
18490 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
= 0;
18492 wxSlider
*arg1
= (wxSlider
*) 0 ;
18494 int arg3
= (int) 1 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 PyObject
* obj2
= 0 ;
18504 char * kwnames
[] = {
18505 (char *) "self",(char *) "n",(char *) "pos", NULL
18508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18510 if (!SWIG_IsOK(res1
)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18513 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18515 if (!SWIG_IsOK(ecode2
)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18518 arg2
= static_cast< int >(val2
);
18520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18521 if (!SWIG_IsOK(ecode3
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18524 arg3
= static_cast< int >(val3
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetTickFreq(arg2
,arg3
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_Py_Void();
18539 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18540 PyObject
*resultobj
= 0;
18541 wxSlider
*arg1
= (wxSlider
*) 0 ;
18545 PyObject
*swig_obj
[1] ;
18547 if (!args
) SWIG_fail
;
18548 swig_obj
[0] = args
;
18549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18553 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_From_int(static_cast< int >(result
));
18567 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18568 PyObject
*resultobj
= 0;
18569 wxSlider
*arg1
= (wxSlider
*) 0 ;
18572 PyObject
*swig_obj
[1] ;
18574 if (!args
) SWIG_fail
;
18575 swig_obj
[0] = args
;
18576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18580 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 (arg1
)->ClearTicks();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_Py_Void();
18594 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
= 0;
18596 wxSlider
*arg1
= (wxSlider
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "self",(char *) "tickPos", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18610 if (!SWIG_IsOK(res1
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18613 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18615 if (!SWIG_IsOK(ecode2
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18618 arg2
= static_cast< int >(val2
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->SetTick(arg2
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_Py_Void();
18632 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18633 PyObject
*resultobj
= 0;
18634 wxSlider
*arg1
= (wxSlider
*) 0 ;
18637 PyObject
*swig_obj
[1] ;
18639 if (!args
) SWIG_fail
;
18640 swig_obj
[0] = args
;
18641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18642 if (!SWIG_IsOK(res1
)) {
18643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18645 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->ClearSel();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_Py_Void();
18659 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18660 PyObject
*resultobj
= 0;
18661 wxSlider
*arg1
= (wxSlider
*) 0 ;
18665 PyObject
*swig_obj
[1] ;
18667 if (!args
) SWIG_fail
;
18668 swig_obj
[0] = args
;
18669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18670 if (!SWIG_IsOK(res1
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18673 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_From_int(static_cast< int >(result
));
18687 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18688 PyObject
*resultobj
= 0;
18689 wxSlider
*arg1
= (wxSlider
*) 0 ;
18693 PyObject
*swig_obj
[1] ;
18695 if (!args
) SWIG_fail
;
18696 swig_obj
[0] = args
;
18697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18698 if (!SWIG_IsOK(res1
)) {
18699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18701 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= SWIG_From_int(static_cast< int >(result
));
18715 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
= 0;
18717 wxSlider
*arg1
= (wxSlider
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 PyObject
* obj2
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "self",(char *) "min",(char *) "max", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18738 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18740 if (!SWIG_IsOK(ecode2
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18743 arg2
= static_cast< int >(val2
);
18744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18745 if (!SWIG_IsOK(ecode3
)) {
18746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18748 arg3
= static_cast< int >(val3
);
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 (arg1
)->SetSelection(arg2
,arg3
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_Py_Void();
18762 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
= 0;
18764 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18765 SwigValueWrapper
<wxVisualAttributes
> result
;
18768 PyObject
* obj0
= 0 ;
18769 char * kwnames
[] = {
18770 (char *) "variant", NULL
18773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18776 if (!SWIG_IsOK(ecode1
)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18779 arg1
= static_cast< wxWindowVariant
>(val1
);
18782 if (!wxPyCheckForApp()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18795 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18799 return SWIG_Py_Void();
18802 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18803 return SWIG_Python_InitShadowInstance(args
);
18806 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18807 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18812 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18813 PyObject
*pyobj
= 0;
18817 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18819 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18826 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
= 0;
18828 wxWindow
*arg1
= (wxWindow
*) 0 ;
18829 int arg2
= (int) -1 ;
18830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18836 long arg6
= (long) 0 ;
18837 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18838 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18839 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18841 wxToggleButton
*result
= 0 ;
18846 bool temp3
= false ;
18853 bool temp8
= false ;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 PyObject
* obj2
= 0 ;
18857 PyObject
* obj3
= 0 ;
18858 PyObject
* obj4
= 0 ;
18859 PyObject
* obj5
= 0 ;
18860 PyObject
* obj6
= 0 ;
18861 PyObject
* obj7
= 0 ;
18862 char * kwnames
[] = {
18863 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18874 if (!SWIG_IsOK(ecode2
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18877 arg2
= static_cast< int >(val2
);
18881 arg3
= wxString_in_helper(obj2
);
18882 if (arg3
== NULL
) SWIG_fail
;
18889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18900 if (!SWIG_IsOK(ecode6
)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18903 arg6
= static_cast< long >(val6
);
18906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18907 if (!SWIG_IsOK(res7
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18917 arg8
= wxString_in_helper(obj7
);
18918 if (arg8
== NULL
) SWIG_fail
;
18923 if (!wxPyCheckForApp()) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18952 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18953 PyObject
*resultobj
= 0;
18954 wxToggleButton
*result
= 0 ;
18956 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18958 if (!wxPyCheckForApp()) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (wxToggleButton
*)new wxToggleButton();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18971 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18974 wxWindow
*arg2
= (wxWindow
*) 0 ;
18975 int arg3
= (int) -1 ;
18976 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18977 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18982 long arg7
= (long) 0 ;
18983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18985 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18994 bool temp4
= false ;
19001 bool temp9
= false ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 PyObject
* obj2
= 0 ;
19005 PyObject
* obj3
= 0 ;
19006 PyObject
* obj4
= 0 ;
19007 PyObject
* obj5
= 0 ;
19008 PyObject
* obj6
= 0 ;
19009 PyObject
* obj7
= 0 ;
19010 PyObject
* obj8
= 0 ;
19011 char * kwnames
[] = {
19012 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19020 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19022 if (!SWIG_IsOK(res2
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19028 if (!SWIG_IsOK(ecode3
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19031 arg3
= static_cast< int >(val3
);
19035 arg4
= wxString_in_helper(obj3
);
19036 if (arg4
== NULL
) SWIG_fail
;
19043 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19049 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19053 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19054 if (!SWIG_IsOK(ecode7
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19057 arg7
= static_cast< long >(val7
);
19060 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19061 if (!SWIG_IsOK(res8
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19067 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19071 arg9
= wxString_in_helper(obj8
);
19072 if (arg9
== NULL
) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19107 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 char * kwnames
[] = {
19118 (char *) "self",(char *) "value", NULL
19121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19123 if (!SWIG_IsOK(res1
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19126 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19128 if (!SWIG_IsOK(ecode2
)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19131 arg2
= static_cast< bool >(val2
);
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 (arg1
)->SetValue(arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_Py_Void();
19145 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19146 PyObject
*resultobj
= 0;
19147 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19151 PyObject
*swig_obj
[1] ;
19153 if (!args
) SWIG_fail
;
19154 swig_obj
[0] = args
;
19155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19159 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19175 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
= 0;
19177 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19178 SwigValueWrapper
<wxVisualAttributes
> result
;
19181 PyObject
* obj0
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "variant", NULL
19186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19189 if (!SWIG_IsOK(ecode1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19192 arg1
= static_cast< wxWindowVariant
>(val1
);
19195 if (!wxPyCheckForApp()) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19208 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19211 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19212 return SWIG_Py_Void();
19215 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19216 return SWIG_Python_InitShadowInstance(args
);
19219 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19220 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19225 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19226 PyObject
*pyobj
= 0;
19230 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19232 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19239 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19240 PyObject
*resultobj
= 0;
19241 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19245 PyObject
*swig_obj
[1] ;
19247 if (!args
) SWIG_fail
;
19248 swig_obj
[0] = args
;
19249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19250 if (!SWIG_IsOK(res1
)) {
19251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19253 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19267 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= 0;
19269 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19271 wxWindow
*result
= 0 ;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 char * kwnames
[] = {
19279 (char *) "self",(char *) "n", NULL
19282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19284 if (!SWIG_IsOK(res1
)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19287 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19288 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19289 if (!SWIG_IsOK(ecode2
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19292 arg2
= static_cast< size_t >(val2
);
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= wxPyMake_wxObject(result
, 0);
19308 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19309 PyObject
*resultobj
= 0;
19310 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19311 wxWindow
*result
= 0 ;
19314 PyObject
*swig_obj
[1] ;
19316 if (!args
) SWIG_fail
;
19317 swig_obj
[0] = args
;
19318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19322 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= wxPyMake_wxObject(result
, 0);
19338 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19339 PyObject
*resultobj
= 0;
19340 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19344 PyObject
*swig_obj
[1] ;
19346 if (!args
) SWIG_fail
;
19347 swig_obj
[0] = args
;
19348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19352 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_From_int(static_cast< int >(result
));
19366 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
= 0;
19368 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 wxString
*arg3
= 0 ;
19376 bool temp3
= false ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "n",(char *) "strText", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19389 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19390 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19391 if (!SWIG_IsOK(ecode2
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19394 arg2
= static_cast< size_t >(val2
);
19396 arg3
= wxString_in_helper(obj2
);
19397 if (arg3
== NULL
) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19423 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
= 0;
19425 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char * kwnames
[] = {
19435 (char *) "self",(char *) "n", NULL
19438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19440 if (!SWIG_IsOK(res1
)) {
19441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19443 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19444 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19445 if (!SWIG_IsOK(ecode2
)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19448 arg2
= static_cast< size_t >(val2
);
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19468 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
= 0;
19470 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19471 wxImageList
*arg2
= (wxImageList
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char * kwnames
[] = {
19479 (char *) "self",(char *) "imageList", NULL
19482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19484 if (!SWIG_IsOK(res1
)) {
19485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19487 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19489 if (!SWIG_IsOK(res2
)) {
19490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19492 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->SetImageList(arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= SWIG_Py_Void();
19506 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
= 0;
19508 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19509 wxImageList
*arg2
= (wxImageList
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char * kwnames
[] = {
19516 (char *) "self",(char *) "imageList", NULL
19519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19524 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19525 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19526 if (!SWIG_IsOK(res2
)) {
19527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 (arg1
)->AssignImageList(arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_Py_Void();
19542 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19543 PyObject
*resultobj
= 0;
19544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19545 wxImageList
*result
= 0 ;
19548 PyObject
*swig_obj
[1] ;
19550 if (!args
) SWIG_fail
;
19551 swig_obj
[0] = args
;
19552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19553 if (!SWIG_IsOK(res1
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19556 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19572 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
= 0;
19574 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 PyObject
* obj1
= 0 ;
19583 char * kwnames
[] = {
19584 (char *) "self",(char *) "n", NULL
19587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19589 if (!SWIG_IsOK(res1
)) {
19590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19592 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19593 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19594 if (!SWIG_IsOK(ecode2
)) {
19595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19597 arg2
= static_cast< size_t >(val2
);
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_From_int(static_cast< int >(result
));
19611 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
= 0;
19613 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 PyObject
* obj2
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "n",(char *) "imageId", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19635 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19636 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19637 if (!SWIG_IsOK(ecode2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19640 arg2
= static_cast< size_t >(val2
);
19641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19642 if (!SWIG_IsOK(ecode3
)) {
19643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19645 arg3
= static_cast< int >(val3
);
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char * kwnames
[] = {
19671 (char *) "self",(char *) "size", NULL
19674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19679 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19682 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_Py_Void();
19697 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
= 0;
19699 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "self",(char *) "sizePage", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19716 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19734 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 PyObject
*resultobj
= 0;
19736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19737 unsigned int result
;
19740 PyObject
*swig_obj
[1] ;
19742 if (!args
) SWIG_fail
;
19743 swig_obj
[0] = args
;
19744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19748 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19762 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19765 unsigned int arg2
;
19768 unsigned int val2
;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "internalBorder", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19781 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19782 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19783 if (!SWIG_IsOK(ecode2
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19786 arg2
= static_cast< unsigned int >(val2
);
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 (arg1
)->SetInternalBorder(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_Py_Void();
19800 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19801 PyObject
*resultobj
= 0;
19802 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19806 PyObject
*swig_obj
[1] ;
19808 if (!args
) SWIG_fail
;
19809 swig_obj
[0] = args
;
19810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19814 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= 0;
19832 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char * kwnames
[] = {
19841 (char *) "self",(char *) "margin", NULL
19844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19849 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19851 if (!SWIG_IsOK(ecode2
)) {
19852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19854 arg2
= static_cast< int >(val2
);
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->SetControlMargin(arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= SWIG_Py_Void();
19868 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19869 PyObject
*resultobj
= 0;
19870 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19874 PyObject
*swig_obj
[1] ;
19876 if (!args
) SWIG_fail
;
19877 swig_obj
[0] = args
;
19878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19882 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= SWIG_From_int(static_cast< int >(result
));
19896 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
= 0;
19898 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char * kwnames
[] = {
19907 (char *) "self",(char *) "fit", NULL
19910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19912 if (!SWIG_IsOK(res1
)) {
19913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19915 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19917 if (!SWIG_IsOK(ecode2
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19920 arg2
= static_cast< bool >(val2
);
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 (arg1
)->SetFitToCurrentPage(arg2
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_Py_Void();
19934 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19935 PyObject
*resultobj
= 0;
19936 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19940 PyObject
*swig_obj
[1] ;
19942 if (!args
) SWIG_fail
;
19943 swig_obj
[0] = args
;
19944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19945 if (!SWIG_IsOK(res1
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19948 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19964 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19965 PyObject
*resultobj
= 0;
19966 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19967 wxSizer
*result
= 0 ;
19970 PyObject
*swig_obj
[1] ;
19972 if (!args
) SWIG_fail
;
19973 swig_obj
[0] = args
;
19974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19975 if (!SWIG_IsOK(res1
)) {
19976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19978 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19994 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
= 0;
19996 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char * kwnames
[] = {
20006 (char *) "self",(char *) "n", NULL
20009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20014 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20015 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20016 if (!SWIG_IsOK(ecode2
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20019 arg2
= static_cast< size_t >(val2
);
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (bool)(arg1
)->DeletePage(arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "n", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20055 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20056 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20057 if (!SWIG_IsOK(ecode2
)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20060 arg2
= static_cast< size_t >(val2
);
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (bool)(arg1
)->RemovePage(arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20077 PyObject
*resultobj
= 0;
20078 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20082 PyObject
*swig_obj
[1] ;
20084 if (!args
) SWIG_fail
;
20085 swig_obj
[0] = args
;
20086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20090 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (bool)(arg1
)->DeleteAllPages();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20106 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
= 0;
20108 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20109 wxWindow
*arg2
= (wxWindow
*) 0 ;
20110 wxString
*arg3
= 0 ;
20111 bool arg4
= (bool) false ;
20112 int arg5
= (int) -1 ;
20118 bool temp3
= false ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 PyObject
* obj3
= 0 ;
20127 PyObject
* obj4
= 0 ;
20128 char * kwnames
[] = {
20129 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20134 if (!SWIG_IsOK(res1
)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20137 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20139 if (!SWIG_IsOK(res2
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20144 arg3
= wxString_in_helper(obj2
);
20145 if (arg3
== NULL
) SWIG_fail
;
20149 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20150 if (!SWIG_IsOK(ecode4
)) {
20151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20153 arg4
= static_cast< bool >(val4
);
20156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20157 if (!SWIG_IsOK(ecode5
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20160 arg5
= static_cast< int >(val5
);
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20185 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
= 0;
20187 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20189 wxWindow
*arg3
= (wxWindow
*) 0 ;
20190 wxString
*arg4
= 0 ;
20191 bool arg5
= (bool) false ;
20192 int arg6
= (int) -1 ;
20200 bool temp4
= false ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 PyObject
* obj3
= 0 ;
20209 PyObject
* obj4
= 0 ;
20210 PyObject
* obj5
= 0 ;
20211 char * kwnames
[] = {
20212 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20220 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20221 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20222 if (!SWIG_IsOK(ecode2
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20225 arg2
= static_cast< size_t >(val2
);
20226 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20227 if (!SWIG_IsOK(res3
)) {
20228 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20230 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20232 arg4
= wxString_in_helper(obj3
);
20233 if (arg4
== NULL
) SWIG_fail
;
20237 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20238 if (!SWIG_IsOK(ecode5
)) {
20239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20241 arg5
= static_cast< bool >(val5
);
20244 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20245 if (!SWIG_IsOK(ecode6
)) {
20246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20248 arg6
= static_cast< int >(val6
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "n", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20293 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20295 if (!SWIG_IsOK(ecode2
)) {
20296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20298 arg2
= static_cast< size_t >(val2
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (int)(arg1
)->SetSelection(arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_From_int(static_cast< int >(result
));
20312 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
= 0;
20314 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "self",(char *) "n", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20332 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20333 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20334 if (!SWIG_IsOK(ecode2
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20337 arg2
= static_cast< size_t >(val2
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (int)(arg1
)->ChangeSelection(arg2
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_From_int(static_cast< int >(result
));
20351 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20354 bool arg2
= (bool) true ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 char * kwnames
[] = {
20362 (char *) "self",(char *) "forward", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20376 arg2
= static_cast< bool >(val2
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->AdvanceSelection(arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_Py_Void();
20391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20394 wxPoint
*arg2
= 0 ;
20395 long *arg3
= (long *) 0 ;
20401 int res3
= SWIG_TMPOBJ
;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char * kwnames
[] = {
20405 (char *) "self",(char *) "pt", NULL
20409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20414 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_From_int(static_cast< int >(result
));
20426 if (SWIG_IsTmpObj(res3
)) {
20427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20429 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20438 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= 0;
20440 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20441 SwigValueWrapper
<wxVisualAttributes
> result
;
20444 PyObject
* obj0
= 0 ;
20445 char * kwnames
[] = {
20446 (char *) "variant", NULL
20449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20452 if (!SWIG_IsOK(ecode1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20455 arg1
= static_cast< wxWindowVariant
>(val1
);
20458 if (!wxPyCheckForApp()) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20471 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20474 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20475 return SWIG_Py_Void();
20478 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
= 0;
20480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20481 int arg2
= (int) 0 ;
20482 int arg3
= (int) -1 ;
20483 int arg4
= (int) -1 ;
20484 wxBookCtrlBaseEvent
*result
= 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 PyObject
* obj2
= 0 ;
20496 PyObject
* obj3
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20504 if (!SWIG_IsOK(ecode1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20507 arg1
= static_cast< wxEventType
>(val1
);
20510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20511 if (!SWIG_IsOK(ecode2
)) {
20512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20514 arg2
= static_cast< int >(val2
);
20517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20518 if (!SWIG_IsOK(ecode3
)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20521 arg3
= static_cast< int >(val3
);
20524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20525 if (!SWIG_IsOK(ecode4
)) {
20526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20528 arg4
= static_cast< int >(val4
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20543 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 PyObject
*resultobj
= 0;
20545 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20549 PyObject
*swig_obj
[1] ;
20551 if (!args
) SWIG_fail
;
20552 swig_obj
[0] = args
;
20553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20554 if (!SWIG_IsOK(res1
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20557 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_From_int(static_cast< int >(result
));
20571 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char * kwnames
[] = {
20582 (char *) "self",(char *) "nSel", NULL
20585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20587 if (!SWIG_IsOK(res1
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20590 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20592 if (!SWIG_IsOK(ecode2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20595 arg2
= static_cast< int >(val2
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->SetSelection(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_Py_Void();
20609 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 PyObject
*resultobj
= 0;
20611 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20615 PyObject
*swig_obj
[1] ;
20617 if (!args
) SWIG_fail
;
20618 swig_obj
[0] = args
;
20619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20623 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_From_int(static_cast< int >(result
));
20637 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
= 0;
20639 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char * kwnames
[] = {
20648 (char *) "self",(char *) "nOldSel", NULL
20651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20653 if (!SWIG_IsOK(res1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20656 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20658 if (!SWIG_IsOK(ecode2
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20661 arg2
= static_cast< int >(val2
);
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 (arg1
)->SetOldSelection(arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_Py_Void();
20675 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20678 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20679 return SWIG_Py_Void();
20682 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 return SWIG_Python_InitShadowInstance(args
);
20686 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
= 0;
20688 wxWindow
*arg1
= (wxWindow
*) 0 ;
20689 int arg2
= (int) -1 ;
20690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20694 long arg5
= (long) 0 ;
20695 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20697 wxNotebook
*result
= 0 ;
20706 bool temp6
= false ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 PyObject
* obj2
= 0 ;
20710 PyObject
* obj3
= 0 ;
20711 PyObject
* obj4
= 0 ;
20712 PyObject
* obj5
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20725 if (!SWIG_IsOK(ecode2
)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20728 arg2
= static_cast< int >(val2
);
20733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20743 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20744 if (!SWIG_IsOK(ecode5
)) {
20745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20747 arg5
= static_cast< long >(val5
);
20751 arg6
= wxString_in_helper(obj5
);
20752 if (arg6
== NULL
) SWIG_fail
;
20757 if (!wxPyCheckForApp()) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20778 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxNotebook
*result
= 0 ;
20782 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20784 if (!wxPyCheckForApp()) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (wxNotebook
*)new wxNotebook();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20797 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
= 0;
20799 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20800 wxWindow
*arg2
= (wxWindow
*) 0 ;
20801 int arg3
= (int) -1 ;
20802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20806 long arg6
= (long) 0 ;
20807 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20820 bool temp7
= false ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 PyObject
* obj2
= 0 ;
20824 PyObject
* obj3
= 0 ;
20825 PyObject
* obj4
= 0 ;
20826 PyObject
* obj5
= 0 ;
20827 PyObject
* obj6
= 0 ;
20828 char * kwnames
[] = {
20829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20837 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20839 if (!SWIG_IsOK(res2
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20842 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20845 if (!SWIG_IsOK(ecode3
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20848 arg3
= static_cast< int >(val3
);
20853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20859 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20863 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20864 if (!SWIG_IsOK(ecode6
)) {
20865 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20867 arg6
= static_cast< long >(val6
);
20871 arg7
= wxString_in_helper(obj6
);
20872 if (arg7
== NULL
) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20899 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 PyObject
*resultobj
= 0;
20901 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20905 PyObject
*swig_obj
[1] ;
20907 if (!args
) SWIG_fail
;
20908 swig_obj
[0] = args
;
20909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20913 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_From_int(static_cast< int >(result
));
20927 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
= 0;
20929 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 char * kwnames
[] = {
20937 (char *) "self",(char *) "padding", NULL
20940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20945 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20948 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_Py_Void();
20963 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
= 0;
20965 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 char * kwnames
[] = {
20973 (char *) "self",(char *) "sz", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20981 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_Py_Void();
20999 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21000 PyObject
*resultobj
= 0;
21001 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21005 PyObject
*swig_obj
[1] ;
21007 if (!args
) SWIG_fail
;
21008 swig_obj
[0] = args
;
21009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21013 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21027 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= 0;
21029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21030 SwigValueWrapper
<wxVisualAttributes
> result
;
21033 PyObject
* obj0
= 0 ;
21034 char * kwnames
[] = {
21035 (char *) "variant", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21041 if (!SWIG_IsOK(ecode1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21044 arg1
= static_cast< wxWindowVariant
>(val1
);
21047 if (!wxPyCheckForApp()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21060 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
= 0;
21062 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char * kwnames
[] = {
21072 (char *) "self",(char *) "nPage", NULL
21075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21077 if (!SWIG_IsOK(res1
)) {
21078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21080 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21082 if (!SWIG_IsOK(ecode2
)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21085 arg2
= static_cast< int >(val2
);
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21101 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
= 0;
21103 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21105 int arg3
= (int) -1 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 PyObject
* obj2
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21124 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21126 if (!SWIG_IsOK(ecode2
)) {
21127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21129 arg2
= static_cast< int >(val2
);
21131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21132 if (!SWIG_IsOK(ecode3
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21135 arg3
= static_cast< int >(val3
);
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= SWIG_Py_Void();
21150 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21153 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21154 return SWIG_Py_Void();
21157 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21158 return SWIG_Python_InitShadowInstance(args
);
21161 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
= 0;
21163 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21164 int arg2
= (int) 0 ;
21165 int arg3
= (int) -1 ;
21166 int arg4
= (int) -1 ;
21167 wxNotebookEvent
*result
= 0 ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 PyObject
* obj2
= 0 ;
21179 PyObject
* obj3
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21187 if (!SWIG_IsOK(ecode1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21190 arg1
= static_cast< wxEventType
>(val1
);
21193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21194 if (!SWIG_IsOK(ecode2
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21197 arg2
= static_cast< int >(val2
);
21200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21201 if (!SWIG_IsOK(ecode3
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21204 arg3
= static_cast< int >(val3
);
21207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21208 if (!SWIG_IsOK(ecode4
)) {
21209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21211 arg4
= static_cast< int >(val4
);
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21226 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21229 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21230 return SWIG_Py_Void();
21233 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21234 return SWIG_Python_InitShadowInstance(args
);
21237 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= 0;
21239 wxWindow
*arg1
= (wxWindow
*) 0 ;
21240 int arg2
= (int) -1 ;
21241 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21242 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21243 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21244 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21245 long arg5
= (long) 0 ;
21246 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21247 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21248 wxListbook
*result
= 0 ;
21257 bool temp6
= false ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 PyObject
* obj2
= 0 ;
21261 PyObject
* obj3
= 0 ;
21262 PyObject
* obj4
= 0 ;
21263 PyObject
* obj5
= 0 ;
21264 char * kwnames
[] = {
21265 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21276 if (!SWIG_IsOK(ecode2
)) {
21277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21279 arg2
= static_cast< int >(val2
);
21284 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21290 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21294 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21295 if (!SWIG_IsOK(ecode5
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21298 arg5
= static_cast< long >(val5
);
21302 arg6
= wxString_in_helper(obj5
);
21303 if (arg6
== NULL
) SWIG_fail
;
21308 if (!wxPyCheckForApp()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21329 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21330 PyObject
*resultobj
= 0;
21331 wxListbook
*result
= 0 ;
21333 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21335 if (!wxPyCheckForApp()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (wxListbook
*)new wxListbook();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21348 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
= 0;
21350 wxListbook
*arg1
= (wxListbook
*) 0 ;
21351 wxWindow
*arg2
= (wxWindow
*) 0 ;
21352 int arg3
= (int) -1 ;
21353 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21354 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21355 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21356 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21357 long arg6
= (long) 0 ;
21358 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21359 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21371 bool temp7
= false ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 PyObject
* obj3
= 0 ;
21376 PyObject
* obj4
= 0 ;
21377 PyObject
* obj5
= 0 ;
21378 PyObject
* obj6
= 0 ;
21379 char * kwnames
[] = {
21380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21385 if (!SWIG_IsOK(res1
)) {
21386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21388 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21390 if (!SWIG_IsOK(res2
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21396 if (!SWIG_IsOK(ecode3
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21399 arg3
= static_cast< int >(val3
);
21404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21414 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21415 if (!SWIG_IsOK(ecode6
)) {
21416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21418 arg6
= static_cast< long >(val6
);
21422 arg7
= wxString_in_helper(obj6
);
21423 if (arg7
== NULL
) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21450 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21451 PyObject
*resultobj
= 0;
21452 wxListbook
*arg1
= (wxListbook
*) 0 ;
21453 wxListView
*result
= 0 ;
21456 PyObject
*swig_obj
[1] ;
21458 if (!args
) SWIG_fail
;
21459 swig_obj
[0] = args
;
21460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21464 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (wxListView
*)(arg1
)->GetListView();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21478 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21481 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21482 return SWIG_Py_Void();
21485 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21486 return SWIG_Python_InitShadowInstance(args
);
21489 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
= 0;
21491 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21492 int arg2
= (int) 0 ;
21493 int arg3
= (int) -1 ;
21494 int arg4
= (int) -1 ;
21495 wxListbookEvent
*result
= 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 PyObject
* obj2
= 0 ;
21507 PyObject
* obj3
= 0 ;
21508 char * kwnames
[] = {
21509 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21515 if (!SWIG_IsOK(ecode1
)) {
21516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21518 arg1
= static_cast< wxEventType
>(val1
);
21521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21522 if (!SWIG_IsOK(ecode2
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21525 arg2
= static_cast< int >(val2
);
21528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21529 if (!SWIG_IsOK(ecode3
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21532 arg3
= static_cast< int >(val3
);
21535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21536 if (!SWIG_IsOK(ecode4
)) {
21537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21539 arg4
= static_cast< int >(val4
);
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21554 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21557 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21558 return SWIG_Py_Void();
21561 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21562 return SWIG_Python_InitShadowInstance(args
);
21565 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= 0;
21567 wxWindow
*arg1
= (wxWindow
*) 0 ;
21569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21573 long arg5
= (long) 0 ;
21574 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21575 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21576 wxChoicebook
*result
= 0 ;
21585 bool temp6
= false ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 PyObject
* obj2
= 0 ;
21589 PyObject
* obj3
= 0 ;
21590 PyObject
* obj4
= 0 ;
21591 PyObject
* obj5
= 0 ;
21592 char * kwnames
[] = {
21593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21603 if (!SWIG_IsOK(ecode2
)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21606 arg2
= static_cast< int >(val2
);
21610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21620 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21621 if (!SWIG_IsOK(ecode5
)) {
21622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21624 arg5
= static_cast< long >(val5
);
21628 arg6
= wxString_in_helper(obj5
);
21629 if (arg6
== NULL
) SWIG_fail
;
21634 if (!wxPyCheckForApp()) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21655 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21656 PyObject
*resultobj
= 0;
21657 wxChoicebook
*result
= 0 ;
21659 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21661 if (!wxPyCheckForApp()) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (wxChoicebook
*)new wxChoicebook();
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21674 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21677 wxWindow
*arg2
= (wxWindow
*) 0 ;
21679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21683 long arg6
= (long) 0 ;
21684 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21685 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21697 bool temp7
= false ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 PyObject
* obj4
= 0 ;
21703 PyObject
* obj5
= 0 ;
21704 PyObject
* obj6
= 0 ;
21705 char * kwnames
[] = {
21706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21714 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21716 if (!SWIG_IsOK(res2
)) {
21717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21721 if (!SWIG_IsOK(ecode3
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21724 arg3
= static_cast< int >(val3
);
21728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21738 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21739 if (!SWIG_IsOK(ecode6
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21742 arg6
= static_cast< long >(val6
);
21746 arg7
= wxString_in_helper(obj6
);
21747 if (arg7
== NULL
) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21774 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21775 PyObject
*resultobj
= 0;
21776 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21777 wxChoice
*result
= 0 ;
21780 PyObject
*swig_obj
[1] ;
21782 if (!args
) SWIG_fail
;
21783 swig_obj
[0] = args
;
21784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21788 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21802 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21805 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21806 return SWIG_Py_Void();
21809 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 return SWIG_Python_InitShadowInstance(args
);
21813 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
= 0;
21815 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21816 int arg2
= (int) 0 ;
21817 int arg3
= (int) -1 ;
21818 int arg4
= (int) -1 ;
21819 wxChoicebookEvent
*result
= 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 PyObject
* obj2
= 0 ;
21831 PyObject
* obj3
= 0 ;
21832 char * kwnames
[] = {
21833 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21839 if (!SWIG_IsOK(ecode1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21842 arg1
= static_cast< wxEventType
>(val1
);
21845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21846 if (!SWIG_IsOK(ecode2
)) {
21847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21849 arg2
= static_cast< int >(val2
);
21852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21853 if (!SWIG_IsOK(ecode3
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21856 arg3
= static_cast< int >(val3
);
21859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21860 if (!SWIG_IsOK(ecode4
)) {
21861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21863 arg4
= static_cast< int >(val4
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21878 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21881 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21882 return SWIG_Py_Void();
21885 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 return SWIG_Python_InitShadowInstance(args
);
21889 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxWindow
*arg1
= (wxWindow
*) 0 ;
21893 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21894 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21895 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21896 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21897 long arg5
= (long) wxBK_DEFAULT
;
21898 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21899 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21900 wxTreebook
*result
= 0 ;
21909 bool temp6
= false ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 PyObject
* obj2
= 0 ;
21913 PyObject
* obj3
= 0 ;
21914 PyObject
* obj4
= 0 ;
21915 PyObject
* obj5
= 0 ;
21916 char * kwnames
[] = {
21917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21922 if (!SWIG_IsOK(res1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21927 if (!SWIG_IsOK(ecode2
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21930 arg2
= static_cast< int >(val2
);
21934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21944 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21945 if (!SWIG_IsOK(ecode5
)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21948 arg5
= static_cast< long >(val5
);
21952 arg6
= wxString_in_helper(obj5
);
21953 if (arg6
== NULL
) SWIG_fail
;
21958 if (!wxPyCheckForApp()) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21979 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21980 PyObject
*resultobj
= 0;
21981 wxTreebook
*result
= 0 ;
21983 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21985 if (!wxPyCheckForApp()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (wxTreebook
*)new wxTreebook();
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21998 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22001 wxWindow
*arg2
= (wxWindow
*) 0 ;
22003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22007 long arg6
= (long) wxBK_DEFAULT
;
22008 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22021 bool temp7
= false ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 PyObject
* obj2
= 0 ;
22025 PyObject
* obj3
= 0 ;
22026 PyObject
* obj4
= 0 ;
22027 PyObject
* obj5
= 0 ;
22028 PyObject
* obj6
= 0 ;
22029 char * kwnames
[] = {
22030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22038 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22040 if (!SWIG_IsOK(res2
)) {
22041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22045 if (!SWIG_IsOK(ecode3
)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22048 arg3
= static_cast< int >(val3
);
22052 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22058 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22062 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22063 if (!SWIG_IsOK(ecode6
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22066 arg6
= static_cast< long >(val6
);
22070 arg7
= wxString_in_helper(obj6
);
22071 if (arg7
== NULL
) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22098 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
= 0;
22100 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22102 wxWindow
*arg3
= (wxWindow
*) 0 ;
22103 wxString
*arg4
= 0 ;
22104 bool arg5
= (bool) false ;
22105 int arg6
= (int) wxNOT_FOUND
;
22113 bool temp4
= false ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 PyObject
* obj3
= 0 ;
22122 PyObject
* obj4
= 0 ;
22123 PyObject
* obj5
= 0 ;
22124 char * kwnames
[] = {
22125 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22133 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22135 if (!SWIG_IsOK(ecode2
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22138 arg2
= static_cast< size_t >(val2
);
22139 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22140 if (!SWIG_IsOK(res3
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22143 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22145 arg4
= wxString_in_helper(obj3
);
22146 if (arg4
== NULL
) SWIG_fail
;
22150 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22151 if (!SWIG_IsOK(ecode5
)) {
22152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22154 arg5
= static_cast< bool >(val5
);
22157 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22158 if (!SWIG_IsOK(ecode6
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22161 arg6
= static_cast< int >(val6
);
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22186 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
= 0;
22188 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22189 wxWindow
*arg2
= (wxWindow
*) 0 ;
22190 wxString
*arg3
= 0 ;
22191 bool arg4
= (bool) false ;
22192 int arg5
= (int) wxNOT_FOUND
;
22198 bool temp3
= false ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 PyObject
* obj2
= 0 ;
22206 PyObject
* obj3
= 0 ;
22207 PyObject
* obj4
= 0 ;
22208 char * kwnames
[] = {
22209 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22217 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22219 if (!SWIG_IsOK(res2
)) {
22220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22224 arg3
= wxString_in_helper(obj2
);
22225 if (arg3
== NULL
) SWIG_fail
;
22229 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22230 if (!SWIG_IsOK(ecode4
)) {
22231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22233 arg4
= static_cast< bool >(val4
);
22236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22237 if (!SWIG_IsOK(ecode5
)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22240 arg5
= static_cast< int >(val5
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
= 0;
22267 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 char * kwnames
[] = {
22277 (char *) "self",(char *) "pos", NULL
22280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22285 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22286 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22287 if (!SWIG_IsOK(ecode2
)) {
22288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22290 arg2
= static_cast< size_t >(val2
);
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
= 0;
22308 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22310 bool arg3
= (bool) true ;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 PyObject
* obj2
= 0 ;
22321 char * kwnames
[] = {
22322 (char *) "self",(char *) "pos",(char *) "expand", NULL
22325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22330 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22331 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22332 if (!SWIG_IsOK(ecode2
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22335 arg2
= static_cast< size_t >(val2
);
22337 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22338 if (!SWIG_IsOK(ecode3
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22341 arg3
= static_cast< bool >(val3
);
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22358 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
= 0;
22360 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 char * kwnames
[] = {
22370 (char *) "self",(char *) "pos", NULL
22373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22378 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22379 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22380 if (!SWIG_IsOK(ecode2
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22383 arg2
= static_cast< size_t >(val2
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (bool)(arg1
)->CollapseNode(arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22399 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
= 0;
22401 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char * kwnames
[] = {
22411 (char *) "self",(char *) "pos", NULL
22414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22416 if (!SWIG_IsOK(res1
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22419 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22420 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22421 if (!SWIG_IsOK(ecode2
)) {
22422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22424 arg2
= static_cast< size_t >(val2
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_From_int(static_cast< int >(result
));
22438 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22439 PyObject
*resultobj
= 0;
22440 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22441 wxPyTreeCtrl
*result
= 0 ;
22444 PyObject
*swig_obj
[1] ;
22446 if (!args
) SWIG_fail
;
22447 swig_obj
[0] = args
;
22448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22449 if (!SWIG_IsOK(res1
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22452 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22468 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22471 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22472 return SWIG_Py_Void();
22475 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 return SWIG_Python_InitShadowInstance(args
);
22479 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
= 0;
22481 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22482 int arg2
= (int) 0 ;
22483 int arg3
= (int) wxNOT_FOUND
;
22484 int arg4
= (int) wxNOT_FOUND
;
22485 wxTreebookEvent
*result
= 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 PyObject
* obj2
= 0 ;
22497 PyObject
* obj3
= 0 ;
22498 char * kwnames
[] = {
22499 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22505 if (!SWIG_IsOK(ecode1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22508 arg1
= static_cast< wxEventType
>(val1
);
22511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22512 if (!SWIG_IsOK(ecode2
)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22515 arg2
= static_cast< int >(val2
);
22518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22519 if (!SWIG_IsOK(ecode3
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22522 arg3
= static_cast< int >(val3
);
22525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22526 if (!SWIG_IsOK(ecode4
)) {
22527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22529 arg4
= static_cast< int >(val4
);
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22544 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22548 return SWIG_Py_Void();
22551 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22552 return SWIG_Python_InitShadowInstance(args
);
22555 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxWindow
*arg1
= (wxWindow
*) 0 ;
22559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22563 long arg5
= (long) wxBK_DEFAULT
;
22564 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22566 wxToolbook
*result
= 0 ;
22575 bool temp6
= false ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 PyObject
* obj3
= 0 ;
22580 PyObject
* obj4
= 0 ;
22581 PyObject
* obj5
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22596 arg2
= static_cast< int >(val2
);
22600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22611 if (!SWIG_IsOK(ecode5
)) {
22612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22614 arg5
= static_cast< long >(val5
);
22618 arg6
= wxString_in_helper(obj5
);
22619 if (arg6
== NULL
) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22644 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22645 PyObject
*resultobj
= 0;
22646 wxToolbook
*result
= 0 ;
22648 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxToolbook
*)new wxToolbook();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22662 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22665 wxWindow
*arg2
= (wxWindow
*) 0 ;
22667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22671 long arg6
= (long) 0 ;
22672 wxString
const &arg7_defvalue
= wxEmptyString
;
22673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22685 bool temp7
= false ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 PyObject
* obj3
= 0 ;
22690 PyObject
* obj4
= 0 ;
22691 PyObject
* obj5
= 0 ;
22692 PyObject
* obj6
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22702 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22704 if (!SWIG_IsOK(res2
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22709 if (!SWIG_IsOK(ecode3
)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22712 arg3
= static_cast< int >(val3
);
22716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22726 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22727 if (!SWIG_IsOK(ecode6
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22730 arg6
= static_cast< long >(val6
);
22734 arg7
= wxString_in_helper(obj6
);
22735 if (arg7
== NULL
) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22762 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22763 PyObject
*resultobj
= 0;
22764 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22765 wxToolBarBase
*result
= 0 ;
22768 PyObject
*swig_obj
[1] ;
22770 if (!args
) SWIG_fail
;
22771 swig_obj
[0] = args
;
22772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22776 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22792 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22793 PyObject
*resultobj
= 0;
22794 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22797 PyObject
*swig_obj
[1] ;
22799 if (!args
) SWIG_fail
;
22800 swig_obj
[0] = args
;
22801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22805 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= SWIG_Py_Void();
22819 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22822 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22823 return SWIG_Py_Void();
22826 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 return SWIG_Python_InitShadowInstance(args
);
22830 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
= 0;
22832 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22833 int arg2
= (int) 0 ;
22834 int arg3
= (int) wxNOT_FOUND
;
22835 int arg4
= (int) wxNOT_FOUND
;
22836 wxToolbookEvent
*result
= 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 PyObject
* obj2
= 0 ;
22848 PyObject
* obj3
= 0 ;
22849 char * kwnames
[] = {
22850 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22856 if (!SWIG_IsOK(ecode1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22859 arg1
= static_cast< wxEventType
>(val1
);
22862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22863 if (!SWIG_IsOK(ecode2
)) {
22864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22866 arg2
= static_cast< int >(val2
);
22869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22870 if (!SWIG_IsOK(ecode3
)) {
22871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22873 arg3
= static_cast< int >(val3
);
22876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22877 if (!SWIG_IsOK(ecode4
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22880 arg4
= static_cast< int >(val4
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22895 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22898 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22899 return SWIG_Py_Void();
22902 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 return SWIG_Python_InitShadowInstance(args
);
22906 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22907 PyObject
*resultobj
= 0;
22908 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22912 PyObject
*swig_obj
[1] ;
22914 if (!args
) SWIG_fail
;
22915 swig_obj
[0] = args
;
22916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22920 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (int)(arg1
)->GetId();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_From_int(static_cast< int >(result
));
22934 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 PyObject
*resultobj
= 0;
22936 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22937 wxControl
*result
= 0 ;
22940 PyObject
*swig_obj
[1] ;
22942 if (!args
) SWIG_fail
;
22943 swig_obj
[0] = args
;
22944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22945 if (!SWIG_IsOK(res1
)) {
22946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22948 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (wxControl
*)(arg1
)->GetControl();
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= wxPyMake_wxObject(result
, 0);
22964 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22965 PyObject
*resultobj
= 0;
22966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22967 wxToolBarBase
*result
= 0 ;
22970 PyObject
*swig_obj
[1] ;
22972 if (!args
) SWIG_fail
;
22973 swig_obj
[0] = args
;
22974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22975 if (!SWIG_IsOK(res1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22978 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22994 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22995 PyObject
*resultobj
= 0;
22996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23000 PyObject
*swig_obj
[1] ;
23002 if (!args
) SWIG_fail
;
23003 swig_obj
[0] = args
;
23004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23005 if (!SWIG_IsOK(res1
)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23008 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (int)(arg1
)->IsButton();
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_From_int(static_cast< int >(result
));
23022 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23023 PyObject
*resultobj
= 0;
23024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23028 PyObject
*swig_obj
[1] ;
23030 if (!args
) SWIG_fail
;
23031 swig_obj
[0] = args
;
23032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23036 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (int)(arg1
)->IsControl();
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_From_int(static_cast< int >(result
));
23050 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23051 PyObject
*resultobj
= 0;
23052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23056 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (int)(arg1
)->IsSeparator();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_From_int(static_cast< int >(result
));
23078 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23079 PyObject
*resultobj
= 0;
23080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23084 PyObject
*swig_obj
[1] ;
23086 if (!args
) SWIG_fail
;
23087 swig_obj
[0] = args
;
23088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23089 if (!SWIG_IsOK(res1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23092 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (int)(arg1
)->GetStyle();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_From_int(static_cast< int >(result
));
23106 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23107 PyObject
*resultobj
= 0;
23108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23112 PyObject
*swig_obj
[1] ;
23114 if (!args
) SWIG_fail
;
23115 swig_obj
[0] = args
;
23116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23117 if (!SWIG_IsOK(res1
)) {
23118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23120 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 result
= (wxItemKind
)(arg1
)->GetKind();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_From_int(static_cast< int >(result
));
23134 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23135 PyObject
*resultobj
= 0;
23136 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23140 PyObject
*swig_obj
[1] ;
23142 if (!args
) SWIG_fail
;
23143 swig_obj
[0] = args
;
23144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23145 if (!SWIG_IsOK(res1
)) {
23146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23148 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (bool)(arg1
)->IsEnabled();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23164 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 PyObject
*resultobj
= 0;
23166 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23170 PyObject
*swig_obj
[1] ;
23172 if (!args
) SWIG_fail
;
23173 swig_obj
[0] = args
;
23174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23175 if (!SWIG_IsOK(res1
)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23178 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (bool)(arg1
)->IsToggled();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23208 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (bool)(arg1
)->CanBeToggled();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23224 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23225 PyObject
*resultobj
= 0;
23226 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23227 wxBitmap
*result
= 0 ;
23230 PyObject
*swig_obj
[1] ;
23232 if (!args
) SWIG_fail
;
23233 swig_obj
[0] = args
;
23234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23235 if (!SWIG_IsOK(res1
)) {
23236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23238 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23243 result
= (wxBitmap
*) &_result_ref
;
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 wxBitmap
* resultptr
= new wxBitmap(*result
);
23250 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23258 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23261 wxBitmap
*result
= 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23272 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23277 result
= (wxBitmap
*) &_result_ref
;
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 wxBitmap
* resultptr
= new wxBitmap(*result
);
23284 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23292 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23293 PyObject
*resultobj
= 0;
23294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23298 PyObject
*swig_obj
[1] ;
23300 if (!args
) SWIG_fail
;
23301 swig_obj
[0] = args
;
23302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23306 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (arg1
)->GetBitmap();
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23320 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23321 PyObject
*resultobj
= 0;
23322 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23326 PyObject
*swig_obj
[1] ;
23328 if (!args
) SWIG_fail
;
23329 swig_obj
[0] = args
;
23330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23331 if (!SWIG_IsOK(res1
)) {
23332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23334 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (arg1
)->GetLabel();
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23354 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23355 PyObject
*resultobj
= 0;
23356 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23360 PyObject
*swig_obj
[1] ;
23362 if (!args
) SWIG_fail
;
23363 swig_obj
[0] = args
;
23364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23368 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (arg1
)->GetShortHelp();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23388 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23389 PyObject
*resultobj
= 0;
23390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23394 PyObject
*swig_obj
[1] ;
23396 if (!args
) SWIG_fail
;
23397 swig_obj
[0] = args
;
23398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23402 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (arg1
)->GetLongHelp();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23422 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
= 0;
23424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char * kwnames
[] = {
23434 (char *) "self",(char *) "enable", NULL
23437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23439 if (!SWIG_IsOK(res1
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23442 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23444 if (!SWIG_IsOK(ecode2
)) {
23445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23447 arg2
= static_cast< bool >(val2
);
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (bool)(arg1
)->Enable(arg2
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23463 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 PyObject
*resultobj
= 0;
23465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23468 PyObject
*swig_obj
[1] ;
23470 if (!args
) SWIG_fail
;
23471 swig_obj
[0] = args
;
23472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23473 if (!SWIG_IsOK(res1
)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23476 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_Py_Void();
23490 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= 0;
23492 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char * kwnames
[] = {
23502 (char *) "self",(char *) "toggle", NULL
23505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23510 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23512 if (!SWIG_IsOK(ecode2
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23515 arg2
= static_cast< bool >(val2
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (bool)(arg1
)->SetToggle(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23531 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
= 0;
23533 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23534 wxString
*arg2
= 0 ;
23538 bool temp2
= false ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "self",(char *) "help", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23550 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23552 arg2
= wxString_in_helper(obj1
);
23553 if (arg2
== NULL
) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23579 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
= 0;
23581 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23582 wxString
*arg2
= 0 ;
23586 bool temp2
= false ;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char * kwnames
[] = {
23590 (char *) "self",(char *) "help", NULL
23593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23595 if (!SWIG_IsOK(res1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23598 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23600 arg2
= wxString_in_helper(obj1
);
23601 if (arg2
== NULL
) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23627 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
= 0;
23629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23630 wxBitmap
*arg2
= 0 ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "self",(char *) "bmp", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23646 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23648 if (!SWIG_IsOK(res2
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23654 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_Py_Void();
23668 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
= 0;
23670 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23671 wxBitmap
*arg2
= 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char * kwnames
[] = {
23679 (char *) "self",(char *) "bmp", NULL
23682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23687 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23689 if (!SWIG_IsOK(res2
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23695 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_Py_Void();
23709 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
= 0;
23711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23712 wxString
*arg2
= 0 ;
23715 bool temp2
= false ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "label", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23727 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23729 arg2
= wxString_in_helper(obj1
);
23730 if (arg2
== NULL
) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 (arg1
)->SetLabel((wxString
const &)*arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_Py_Void();
23754 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23755 PyObject
*resultobj
= 0;
23756 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23759 PyObject
*swig_obj
[1] ;
23761 if (!args
) SWIG_fail
;
23762 swig_obj
[0] = args
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23767 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_Py_Void();
23781 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
= 0;
23783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23784 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char * kwnames
[] = {
23792 (char *) "self",(char *) "tbar", NULL
23795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23797 if (!SWIG_IsOK(res1
)) {
23798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23802 if (!SWIG_IsOK(res2
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23805 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->Attach(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_Py_Void();
23819 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23820 PyObject
*resultobj
= 0;
23821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23822 PyObject
*result
= 0 ;
23825 PyObject
*swig_obj
[1] ;
23827 if (!args
) SWIG_fail
;
23828 swig_obj
[0] = args
;
23829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23830 if (!SWIG_IsOK(res1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23833 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= result
;
23847 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
= 0;
23849 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23850 PyObject
*arg2
= (PyObject
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char * kwnames
[] = {
23856 (char *) "self",(char *) "clientData", NULL
23859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23864 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= SWIG_Py_Void();
23879 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23882 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23883 return SWIG_Py_Void();
23886 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23890 wxString
*arg3
= 0 ;
23891 wxBitmap
*arg4
= 0 ;
23892 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23893 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23894 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23895 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23897 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23898 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23899 PyObject
*arg9
= (PyObject
*) NULL
;
23900 wxToolBarToolBase
*result
= 0 ;
23905 bool temp3
= false ;
23912 bool temp7
= false ;
23913 bool temp8
= false ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 PyObject
* obj3
= 0 ;
23918 PyObject
* obj4
= 0 ;
23919 PyObject
* obj5
= 0 ;
23920 PyObject
* obj6
= 0 ;
23921 PyObject
* obj7
= 0 ;
23922 PyObject
* obj8
= 0 ;
23923 char * kwnames
[] = {
23924 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23929 if (!SWIG_IsOK(res1
)) {
23930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23932 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23934 if (!SWIG_IsOK(ecode2
)) {
23935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23937 arg2
= static_cast< int >(val2
);
23939 arg3
= wxString_in_helper(obj2
);
23940 if (arg3
== NULL
) SWIG_fail
;
23943 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23944 if (!SWIG_IsOK(res4
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23950 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23952 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23953 if (!SWIG_IsOK(res5
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23959 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23963 if (!SWIG_IsOK(ecode6
)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23966 arg6
= static_cast< wxItemKind
>(val6
);
23970 arg7
= wxString_in_helper(obj6
);
23971 if (arg7
== NULL
) SWIG_fail
;
23977 arg8
= wxString_in_helper(obj7
);
23978 if (arg8
== NULL
) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24024 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
= 0;
24026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24029 wxString
*arg4
= 0 ;
24030 wxBitmap
*arg5
= 0 ;
24031 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24032 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24033 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24034 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24036 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24037 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24038 PyObject
*arg10
= (PyObject
*) NULL
;
24039 wxToolBarToolBase
*result
= 0 ;
24046 bool temp4
= false ;
24053 bool temp8
= false ;
24054 bool temp9
= false ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 PyObject
* obj2
= 0 ;
24058 PyObject
* obj3
= 0 ;
24059 PyObject
* obj4
= 0 ;
24060 PyObject
* obj5
= 0 ;
24061 PyObject
* obj6
= 0 ;
24062 PyObject
* obj7
= 0 ;
24063 PyObject
* obj8
= 0 ;
24064 PyObject
* obj9
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24074 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24075 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24079 arg2
= static_cast< size_t >(val2
);
24080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24081 if (!SWIG_IsOK(ecode3
)) {
24082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24084 arg3
= static_cast< int >(val3
);
24086 arg4
= wxString_in_helper(obj3
);
24087 if (arg4
== NULL
) SWIG_fail
;
24090 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24091 if (!SWIG_IsOK(res5
)) {
24092 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24097 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24099 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24100 if (!SWIG_IsOK(res6
)) {
24101 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24106 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24109 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24110 if (!SWIG_IsOK(ecode7
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24113 arg7
= static_cast< wxItemKind
>(val7
);
24117 arg8
= wxString_in_helper(obj7
);
24118 if (arg8
== NULL
) SWIG_fail
;
24124 arg9
= wxString_in_helper(obj8
);
24125 if (arg9
== NULL
) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24171 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
= 0;
24173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24174 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24175 wxToolBarToolBase
*result
= 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char * kwnames
[] = {
24183 (char *) "self",(char *) "tool", NULL
24186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24188 if (!SWIG_IsOK(res1
)) {
24189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24191 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24193 if (!SWIG_IsOK(res2
)) {
24194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24196 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24212 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
= 0;
24214 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24216 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24217 wxToolBarToolBase
*result
= 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 PyObject
* obj2
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "pos",(char *) "tool", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24236 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24237 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24238 if (!SWIG_IsOK(ecode2
)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24241 arg2
= static_cast< size_t >(val2
);
24242 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24243 if (!SWIG_IsOK(res3
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24246 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24262 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
= 0;
24264 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24265 wxControl
*arg2
= (wxControl
*) 0 ;
24266 wxString
const &arg3_defvalue
= wxEmptyString
;
24267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24268 wxToolBarToolBase
*result
= 0 ;
24273 bool temp3
= false ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 PyObject
* obj2
= 0 ;
24277 char * kwnames
[] = {
24278 (char *) "self",(char *) "control",(char *) "label", NULL
24281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24286 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24288 if (!SWIG_IsOK(res2
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24291 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24294 arg3
= wxString_in_helper(obj2
);
24295 if (arg3
== NULL
) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24322 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24326 wxControl
*arg3
= (wxControl
*) 0 ;
24327 wxString
const &arg4_defvalue
= wxEmptyString
;
24328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24329 wxToolBarToolBase
*result
= 0 ;
24336 bool temp4
= false ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 PyObject
* obj2
= 0 ;
24340 PyObject
* obj3
= 0 ;
24341 char * kwnames
[] = {
24342 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24350 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24351 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24352 if (!SWIG_IsOK(ecode2
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24355 arg2
= static_cast< size_t >(val2
);
24356 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24357 if (!SWIG_IsOK(res3
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24360 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24363 arg4
= wxString_in_helper(obj3
);
24364 if (arg4
== NULL
) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24391 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
= 0;
24393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24395 wxControl
*result
= 0 ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "self",(char *) "id", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24413 if (!SWIG_IsOK(ecode2
)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24416 arg2
= static_cast< int >(val2
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= wxPyMake_wxObject(result
, 0);
24432 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 PyObject
*resultobj
= 0;
24434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24435 wxToolBarToolBase
*result
= 0 ;
24438 PyObject
*swig_obj
[1] ;
24440 if (!args
) SWIG_fail
;
24441 swig_obj
[0] = args
;
24442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24446 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24462 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
= 0;
24464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24466 wxToolBarToolBase
*result
= 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char * kwnames
[] = {
24474 (char *) "self",(char *) "pos", NULL
24477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24483 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24484 if (!SWIG_IsOK(ecode2
)) {
24485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24487 arg2
= static_cast< size_t >(val2
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24503 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= 0;
24505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24507 wxToolBarToolBase
*result
= 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char * kwnames
[] = {
24515 (char *) "self",(char *) "id", NULL
24518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24523 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24525 if (!SWIG_IsOK(ecode2
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24528 arg2
= static_cast< int >(val2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24544 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
= 0;
24546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char * kwnames
[] = {
24556 (char *) "self",(char *) "pos", NULL
24559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24564 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24565 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24566 if (!SWIG_IsOK(ecode2
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24569 arg2
= static_cast< size_t >(val2
);
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24585 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char * kwnames
[] = {
24597 (char *) "self",(char *) "id", NULL
24600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24605 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24607 if (!SWIG_IsOK(ecode2
)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24610 arg2
= static_cast< int >(val2
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (bool)(arg1
)->DeleteTool(arg2
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24626 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 PyObject
*resultobj
= 0;
24628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24631 PyObject
*swig_obj
[1] ;
24633 if (!args
) SWIG_fail
;
24634 swig_obj
[0] = args
;
24635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->ClearTools();
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_Py_Void();
24653 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24654 PyObject
*resultobj
= 0;
24655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24659 PyObject
*swig_obj
[1] ;
24661 if (!args
) SWIG_fail
;
24662 swig_obj
[0] = args
;
24663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)(arg1
)->Realize();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 PyObject
* obj2
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "self",(char *) "id",(char *) "enable", NULL
24701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24703 if (!SWIG_IsOK(res1
)) {
24704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24706 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24708 if (!SWIG_IsOK(ecode2
)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24711 arg2
= static_cast< int >(val2
);
24712 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24713 if (!SWIG_IsOK(ecode3
)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24716 arg3
= static_cast< bool >(val3
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->EnableTool(arg2
,arg3
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_Py_Void();
24730 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 PyObject
* obj2
= 0 ;
24744 char * kwnames
[] = {
24745 (char *) "self",(char *) "id",(char *) "toggle", NULL
24748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24753 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24755 if (!SWIG_IsOK(ecode2
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24758 arg2
= static_cast< int >(val2
);
24759 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24760 if (!SWIG_IsOK(ecode3
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24763 arg3
= static_cast< bool >(val3
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->ToggleTool(arg2
,arg3
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 PyObject
* obj2
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "id",(char *) "toggle", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24800 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24805 arg2
= static_cast< int >(val2
);
24806 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24807 if (!SWIG_IsOK(ecode3
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24810 arg3
= static_cast< bool >(val3
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 (arg1
)->SetToggle(arg2
,arg3
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_Py_Void();
24824 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24828 PyObject
*result
= 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "self",(char *) "id", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24844 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24846 if (!SWIG_IsOK(ecode2
)) {
24847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24849 arg2
= static_cast< int >(val2
);
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
;
24863 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
= 0;
24865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24867 PyObject
*arg3
= (PyObject
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 PyObject
* obj2
= 0 ;
24875 char * kwnames
[] = {
24876 (char *) "self",(char *) "id",(char *) "clientData", NULL
24879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24884 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24886 if (!SWIG_IsOK(ecode2
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24889 arg2
= static_cast< int >(val2
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_Py_Void();
24904 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "id", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24924 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24926 if (!SWIG_IsOK(ecode2
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24929 arg2
= static_cast< int >(val2
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_From_int(static_cast< int >(result
));
24943 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
= 0;
24945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char * kwnames
[] = {
24955 (char *) "self",(char *) "id", NULL
24958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24960 if (!SWIG_IsOK(res1
)) {
24961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24963 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24965 if (!SWIG_IsOK(ecode2
)) {
24966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24968 arg2
= static_cast< int >(val2
);
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (bool)(arg1
)->GetToolState(arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24984 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
= 0;
24986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "id", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25004 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25006 if (!SWIG_IsOK(ecode2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25009 arg2
= static_cast< int >(val2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25025 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
= 0;
25027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25029 wxString
*arg3
= 0 ;
25034 bool temp3
= false ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 PyObject
* obj2
= 0 ;
25038 char * kwnames
[] = {
25039 (char *) "self",(char *) "id",(char *) "helpString", NULL
25042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25047 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25049 if (!SWIG_IsOK(ecode2
)) {
25050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25052 arg2
= static_cast< int >(val2
);
25054 arg3
= wxString_in_helper(obj2
);
25055 if (arg3
== NULL
) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= SWIG_Py_Void();
25079 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
= 0;
25081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "self",(char *) "id", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25099 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25101 if (!SWIG_IsOK(ecode2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25104 arg2
= static_cast< int >(val2
);
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (arg1
)->GetToolShortHelp(arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25124 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= 0;
25126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25128 wxString
*arg3
= 0 ;
25133 bool temp3
= false ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 PyObject
* obj2
= 0 ;
25137 char * kwnames
[] = {
25138 (char *) "self",(char *) "id",(char *) "helpString", NULL
25141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25146 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25148 if (!SWIG_IsOK(ecode2
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25151 arg2
= static_cast< int >(val2
);
25153 arg3
= wxString_in_helper(obj2
);
25154 if (arg3
== NULL
) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_Py_Void();
25178 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
= 0;
25180 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char * kwnames
[] = {
25190 (char *) "self",(char *) "id", NULL
25193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25198 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25200 if (!SWIG_IsOK(ecode2
)) {
25201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25203 arg2
= static_cast< int >(val2
);
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (arg1
)->GetToolLongHelp(arg2
);
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25223 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
= 0;
25225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 char * kwnames
[] = {
25238 (char *) "self",(char *) "x",(char *) "y", NULL
25241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25243 if (!SWIG_IsOK(res1
)) {
25244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25246 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25248 if (!SWIG_IsOK(ecode2
)) {
25249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25251 arg2
= static_cast< int >(val2
);
25252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25253 if (!SWIG_IsOK(ecode3
)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25256 arg3
= static_cast< int >(val3
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->SetMargins(arg2
,arg3
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char * kwnames
[] = {
25280 (char *) "self",(char *) "size", NULL
25283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25288 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_Py_Void();
25306 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
= 0;
25308 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char * kwnames
[] = {
25317 (char *) "self",(char *) "packing", NULL
25320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25322 if (!SWIG_IsOK(res1
)) {
25323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25325 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25327 if (!SWIG_IsOK(ecode2
)) {
25328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25330 arg2
= static_cast< int >(val2
);
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->SetToolPacking(arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= SWIG_Py_Void();
25344 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char * kwnames
[] = {
25355 (char *) "self",(char *) "separation", NULL
25358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25360 if (!SWIG_IsOK(res1
)) {
25361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25363 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25365 if (!SWIG_IsOK(ecode2
)) {
25366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25368 arg2
= static_cast< int >(val2
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->SetToolSeparation(arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_Py_Void();
25382 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (arg1
)->GetToolMargins();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25410 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25411 PyObject
*resultobj
= 0;
25412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25416 PyObject
*swig_obj
[1] ;
25418 if (!args
) SWIG_fail
;
25419 swig_obj
[0] = args
;
25420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25421 if (!SWIG_IsOK(res1
)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25424 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (arg1
)->GetMargins();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25438 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25444 PyObject
*swig_obj
[1] ;
25446 if (!args
) SWIG_fail
;
25447 swig_obj
[0] = args
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25452 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (int)(arg1
)->GetToolPacking();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= SWIG_From_int(static_cast< int >(result
));
25466 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25467 PyObject
*resultobj
= 0;
25468 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25472 PyObject
*swig_obj
[1] ;
25474 if (!args
) SWIG_fail
;
25475 swig_obj
[0] = args
;
25476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25480 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (int)(arg1
)->GetToolSeparation();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_From_int(static_cast< int >(result
));
25494 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
= 0;
25496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 char * kwnames
[] = {
25505 (char *) "self",(char *) "nRows", NULL
25508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25513 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25515 if (!SWIG_IsOK(ecode2
)) {
25516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25518 arg2
= static_cast< int >(val2
);
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 (arg1
)->SetRows(arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_Py_Void();
25532 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
= 0;
25534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 PyObject
* obj2
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "rows",(char *) "cols", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25557 if (!SWIG_IsOK(ecode2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25560 arg2
= static_cast< int >(val2
);
25561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25562 if (!SWIG_IsOK(ecode3
)) {
25563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25565 arg3
= static_cast< int >(val3
);
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_Py_Void();
25579 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 PyObject
*resultobj
= 0;
25581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25585 PyObject
*swig_obj
[1] ;
25587 if (!args
) SWIG_fail
;
25588 swig_obj
[0] = args
;
25589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25590 if (!SWIG_IsOK(res1
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25593 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (int)(arg1
)->GetMaxRows();
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_From_int(static_cast< int >(result
));
25607 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25608 PyObject
*resultobj
= 0;
25609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25613 PyObject
*swig_obj
[1] ;
25615 if (!args
) SWIG_fail
;
25616 swig_obj
[0] = args
;
25617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25621 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (int)(arg1
)->GetMaxCols();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_From_int(static_cast< int >(result
));
25635 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char * kwnames
[] = {
25645 (char *) "self",(char *) "size", NULL
25648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25653 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25677 PyObject
*swig_obj
[1] ;
25679 if (!args
) SWIG_fail
;
25680 swig_obj
[0] = args
;
25681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (arg1
)->GetToolBitmapSize();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25699 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25700 PyObject
*resultobj
= 0;
25701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25705 PyObject
*swig_obj
[1] ;
25707 if (!args
) SWIG_fail
;
25708 swig_obj
[0] = args
;
25709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25713 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (arg1
)->GetToolSize();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25727 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25732 wxToolBarToolBase
*result
= 0 ;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 PyObject
* obj2
= 0 ;
25742 char * kwnames
[] = {
25743 (char *) "self",(char *) "x",(char *) "y", NULL
25746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25751 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25753 if (!SWIG_IsOK(ecode2
)) {
25754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25756 arg2
= static_cast< int >(val2
);
25757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25758 if (!SWIG_IsOK(ecode3
)) {
25759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25761 arg3
= static_cast< int >(val3
);
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25777 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
= 0;
25779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25781 wxToolBarToolBase
*result
= 0 ;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 char * kwnames
[] = {
25789 (char *) "self",(char *) "toolid", NULL
25792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) 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_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
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_FindById" "', expected argument " "2"" of type '" "int""'");
25802 arg2
= static_cast< int >(val2
);
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25818 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 PyObject
*resultobj
= 0;
25820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25824 PyObject
*swig_obj
[1] ;
25826 if (!args
) SWIG_fail
;
25827 swig_obj
[0] = args
;
25828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25832 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)(arg1
)->IsVertical();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25848 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 PyObject
*resultobj
= 0;
25850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25854 PyObject
*swig_obj
[1] ;
25856 if (!args
) SWIG_fail
;
25857 swig_obj
[0] = args
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25862 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25876 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25879 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25880 return SWIG_Py_Void();
25883 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxWindow
*arg1
= (wxWindow
*) 0 ;
25886 int arg2
= (int) -1 ;
25887 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25888 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25889 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25890 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25891 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25892 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25893 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25894 wxToolBar
*result
= 0 ;
25903 bool temp6
= false ;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 PyObject
* obj2
= 0 ;
25907 PyObject
* obj3
= 0 ;
25908 PyObject
* obj4
= 0 ;
25909 PyObject
* obj5
= 0 ;
25910 char * kwnames
[] = {
25911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25916 if (!SWIG_IsOK(res1
)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25922 if (!SWIG_IsOK(ecode2
)) {
25923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25925 arg2
= static_cast< int >(val2
);
25930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25940 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25941 if (!SWIG_IsOK(ecode5
)) {
25942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25944 arg5
= static_cast< long >(val5
);
25948 arg6
= wxString_in_helper(obj5
);
25949 if (arg6
== NULL
) SWIG_fail
;
25954 if (!wxPyCheckForApp()) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25975 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxToolBar
*result
= 0 ;
25979 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25981 if (!wxPyCheckForApp()) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (wxToolBar
*)new wxToolBar();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25994 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
= 0;
25996 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25997 wxWindow
*arg2
= (wxWindow
*) 0 ;
25998 int arg3
= (int) -1 ;
25999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26003 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26004 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26017 bool temp7
= false ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 PyObject
* obj2
= 0 ;
26021 PyObject
* obj3
= 0 ;
26022 PyObject
* obj4
= 0 ;
26023 PyObject
* obj5
= 0 ;
26024 PyObject
* obj6
= 0 ;
26025 char * kwnames
[] = {
26026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26034 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26036 if (!SWIG_IsOK(res2
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26039 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26042 if (!SWIG_IsOK(ecode3
)) {
26043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26045 arg3
= static_cast< int >(val3
);
26050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26061 if (!SWIG_IsOK(ecode6
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26064 arg6
= static_cast< long >(val6
);
26068 arg7
= wxString_in_helper(obj6
);
26069 if (arg7
== NULL
) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26096 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26100 wxBitmap
*arg3
= 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 char * kwnames
[] = {
26111 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26119 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26121 if (!SWIG_IsOK(ecode2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26124 arg2
= static_cast< int >(val2
);
26125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26126 if (!SWIG_IsOK(res3
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26132 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= 0;
26148 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26150 wxBitmap
*arg3
= 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26169 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26171 if (!SWIG_IsOK(ecode2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26174 arg2
= static_cast< int >(val2
);
26175 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26176 if (!SWIG_IsOK(res3
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26182 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_Py_Void();
26196 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
= 0;
26198 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26199 SwigValueWrapper
<wxVisualAttributes
> result
;
26202 PyObject
* obj0
= 0 ;
26203 char * kwnames
[] = {
26204 (char *) "variant", NULL
26207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26210 if (!SWIG_IsOK(ecode1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26213 arg1
= static_cast< wxWindowVariant
>(val1
);
26216 if (!wxPyCheckForApp()) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26229 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26232 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26233 return SWIG_Py_Void();
26236 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 return SWIG_Python_InitShadowInstance(args
);
26240 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26241 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26246 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26247 PyObject
*pyobj
= 0;
26251 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26253 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26260 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26262 wxColour
const &arg1_defvalue
= wxNullColour
;
26263 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26264 wxColour
const &arg2_defvalue
= wxNullColour
;
26265 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26266 wxFont
const &arg3_defvalue
= wxNullFont
;
26267 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26268 wxListItemAttr
*result
= 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 PyObject
* obj2
= 0 ;
26276 char * kwnames
[] = {
26277 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26284 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26294 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26295 if (!SWIG_IsOK(res3
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26301 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26316 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26321 PyObject
*swig_obj
[1] ;
26323 if (!args
) SWIG_fail
;
26324 swig_obj
[0] = args
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26329 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_Py_Void();
26344 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= 0;
26346 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26347 wxColour
*arg2
= 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "colText", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26362 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26383 wxColour
*arg2
= 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char * kwnames
[] = {
26390 (char *) "self",(char *) "colBack", NULL
26393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26398 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "font", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26437 if (!SWIG_IsOK(res2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26443 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 (arg1
)->SetFont((wxFont
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26463 PyObject
*swig_obj
[1] ;
26465 if (!args
) SWIG_fail
;
26466 swig_obj
[0] = args
;
26467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26471 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (bool)(arg1
)->HasTextColour();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26487 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26488 PyObject
*resultobj
= 0;
26489 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26493 PyObject
*swig_obj
[1] ;
26495 if (!args
) SWIG_fail
;
26496 swig_obj
[0] = args
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26501 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (bool)(arg1
)->HasBackgroundColour();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26517 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26523 PyObject
*swig_obj
[1] ;
26525 if (!args
) SWIG_fail
;
26526 swig_obj
[0] = args
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26531 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (bool)(arg1
)->HasFont();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26548 PyObject
*resultobj
= 0;
26549 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26553 PyObject
*swig_obj
[1] ;
26555 if (!args
) SWIG_fail
;
26556 swig_obj
[0] = args
;
26557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26558 if (!SWIG_IsOK(res1
)) {
26559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26561 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (arg1
)->GetTextColour();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26575 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26576 PyObject
*resultobj
= 0;
26577 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26581 PyObject
*swig_obj
[1] ;
26583 if (!args
) SWIG_fail
;
26584 swig_obj
[0] = args
;
26585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26589 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (arg1
)->GetBackgroundColour();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26603 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26604 PyObject
*resultobj
= 0;
26605 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26609 PyObject
*swig_obj
[1] ;
26611 if (!args
) SWIG_fail
;
26612 swig_obj
[0] = args
;
26613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26617 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (arg1
)->GetFont();
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26631 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= 0;
26633 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26634 wxListItemAttr
*arg2
= 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char * kwnames
[] = {
26642 (char *) "self",(char *) "source", NULL
26645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26650 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26652 if (!SWIG_IsOK(res2
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26658 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26673 PyObject
*resultobj
= 0;
26674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26677 PyObject
*swig_obj
[1] ;
26679 if (!args
) SWIG_fail
;
26680 swig_obj
[0] = args
;
26681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26682 if (!SWIG_IsOK(res1
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26685 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 wxListItemAttr_Destroy(arg1
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26702 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26703 return SWIG_Py_Void();
26706 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26707 return SWIG_Python_InitShadowInstance(args
);
26710 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 PyObject
*resultobj
= 0;
26712 wxListItem
*result
= 0 ;
26714 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (wxListItem
*)new wxListItem();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26728 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 PyObject
*resultobj
= 0;
26730 wxListItem
*arg1
= (wxListItem
*) 0 ;
26733 PyObject
*swig_obj
[1] ;
26735 if (!args
) SWIG_fail
;
26736 swig_obj
[0] = args
;
26737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26741 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_Py_Void();
26756 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxListItem
*arg1
= (wxListItem
*) 0 ;
26761 PyObject
*swig_obj
[1] ;
26763 if (!args
) SWIG_fail
;
26764 swig_obj
[0] = args
;
26765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26769 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= SWIG_Py_Void();
26783 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26784 PyObject
*resultobj
= 0;
26785 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 PyObject
*swig_obj
[1] ;
26790 if (!args
) SWIG_fail
;
26791 swig_obj
[0] = args
;
26792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 (arg1
)->ClearAttributes();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_Py_Void();
26810 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
= 0;
26812 wxListItem
*arg1
= (wxListItem
*) 0 ;
26818 PyObject
* obj0
= 0 ;
26819 PyObject
* obj1
= 0 ;
26820 char * kwnames
[] = {
26821 (char *) "self",(char *) "mask", NULL
26824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26826 if (!SWIG_IsOK(res1
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26829 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26831 if (!SWIG_IsOK(ecode2
)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26834 arg2
= static_cast< long >(val2
);
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 (arg1
)->SetMask(arg2
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_Py_Void();
26848 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
= 0;
26850 wxListItem
*arg1
= (wxListItem
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 char * kwnames
[] = {
26859 (char *) "self",(char *) "id", NULL
26862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26867 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26868 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26869 if (!SWIG_IsOK(ecode2
)) {
26870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26872 arg2
= static_cast< long >(val2
);
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 (arg1
)->SetId(arg2
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_Py_Void();
26886 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
= 0;
26888 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char * kwnames
[] = {
26897 (char *) "self",(char *) "col", NULL
26900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26902 if (!SWIG_IsOK(res1
)) {
26903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26905 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26907 if (!SWIG_IsOK(ecode2
)) {
26908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26910 arg2
= static_cast< int >(val2
);
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 (arg1
)->SetColumn(arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_Py_Void();
26924 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
= 0;
26926 wxListItem
*arg1
= (wxListItem
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 char * kwnames
[] = {
26935 (char *) "self",(char *) "state", NULL
26938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26940 if (!SWIG_IsOK(res1
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26944 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26945 if (!SWIG_IsOK(ecode2
)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26948 arg2
= static_cast< long >(val2
);
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 (arg1
)->SetState(arg2
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_Py_Void();
26962 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
= 0;
26964 wxListItem
*arg1
= (wxListItem
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 char * kwnames
[] = {
26973 (char *) "self",(char *) "stateMask", NULL
26976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26981 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26982 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26983 if (!SWIG_IsOK(ecode2
)) {
26984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26986 arg2
= static_cast< long >(val2
);
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 (arg1
)->SetStateMask(arg2
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_Py_Void();
27000 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
= 0;
27002 wxListItem
*arg1
= (wxListItem
*) 0 ;
27003 wxString
*arg2
= 0 ;
27006 bool temp2
= false ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 char * kwnames
[] = {
27010 (char *) "self",(char *) "text", NULL
27013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27015 if (!SWIG_IsOK(res1
)) {
27016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27018 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27020 arg2
= wxString_in_helper(obj1
);
27021 if (arg2
== NULL
) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->SetText((wxString
const &)*arg2
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_Py_Void();
27045 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
= 0;
27047 wxListItem
*arg1
= (wxListItem
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 char * kwnames
[] = {
27056 (char *) "self",(char *) "image", NULL
27059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",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_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27064 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27066 if (!SWIG_IsOK(ecode2
)) {
27067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27069 arg2
= static_cast< int >(val2
);
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->SetImage(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_Py_Void();
27083 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxListItem
*arg1
= (wxListItem
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char * kwnames
[] = {
27094 (char *) "self",(char *) "data", NULL
27097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27102 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27104 if (!SWIG_IsOK(ecode2
)) {
27105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27107 arg2
= static_cast< long >(val2
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 (arg1
)->SetData(arg2
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_Py_Void();
27121 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= 0;
27123 wxListItem
*arg1
= (wxListItem
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char * kwnames
[] = {
27132 (char *) "self",(char *) "width", NULL
27135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27140 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27142 if (!SWIG_IsOK(ecode2
)) {
27143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27145 arg2
= static_cast< int >(val2
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 (arg1
)->SetWidth(arg2
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_Py_Void();
27159 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
= 0;
27161 wxListItem
*arg1
= (wxListItem
*) 0 ;
27162 wxListColumnFormat arg2
;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char * kwnames
[] = {
27170 (char *) "self",(char *) "align", NULL
27173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27180 if (!SWIG_IsOK(ecode2
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27183 arg2
= static_cast< wxListColumnFormat
>(val2
);
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->SetAlign(arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= SWIG_Py_Void();
27197 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
= 0;
27199 wxListItem
*arg1
= (wxListItem
*) 0 ;
27200 wxColour
*arg2
= 0 ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char * kwnames
[] = {
27207 (char *) "self",(char *) "colText", NULL
27210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27212 if (!SWIG_IsOK(res1
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27215 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_Py_Void();
27233 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
= 0;
27235 wxListItem
*arg1
= (wxListItem
*) 0 ;
27236 wxColour
*arg2
= 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char * kwnames
[] = {
27243 (char *) "self",(char *) "colBack", NULL
27246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27254 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_Py_Void();
27269 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
= 0;
27271 wxListItem
*arg1
= (wxListItem
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 char * kwnames
[] = {
27280 (char *) "self",(char *) "font", NULL
27283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27290 if (!SWIG_IsOK(res2
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27296 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 (arg1
)->SetFont((wxFont
const &)*arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_Py_Void();
27310 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27311 PyObject
*resultobj
= 0;
27312 wxListItem
*arg1
= (wxListItem
*) 0 ;
27316 PyObject
*swig_obj
[1] ;
27318 if (!args
) SWIG_fail
;
27319 swig_obj
[0] = args
;
27320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (long)(arg1
)->GetMask();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_From_long(static_cast< long >(result
));
27338 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27339 PyObject
*resultobj
= 0;
27340 wxListItem
*arg1
= (wxListItem
*) 0 ;
27344 PyObject
*swig_obj
[1] ;
27346 if (!args
) SWIG_fail
;
27347 swig_obj
[0] = args
;
27348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 result
= (long)(arg1
)->GetId();
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_From_long(static_cast< long >(result
));
27366 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 PyObject
*resultobj
= 0;
27368 wxListItem
*arg1
= (wxListItem
*) 0 ;
27372 PyObject
*swig_obj
[1] ;
27374 if (!args
) SWIG_fail
;
27375 swig_obj
[0] = args
;
27376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27377 if (!SWIG_IsOK(res1
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27380 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (int)(arg1
)->GetColumn();
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_From_int(static_cast< int >(result
));
27394 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxListItem
*arg1
= (wxListItem
*) 0 ;
27400 PyObject
*swig_obj
[1] ;
27402 if (!args
) SWIG_fail
;
27403 swig_obj
[0] = args
;
27404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27408 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (long)(arg1
)->GetState();
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_From_long(static_cast< long >(result
));
27422 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27423 PyObject
*resultobj
= 0;
27424 wxListItem
*arg1
= (wxListItem
*) 0 ;
27425 wxString
*result
= 0 ;
27428 PyObject
*swig_obj
[1] ;
27430 if (!args
) SWIG_fail
;
27431 swig_obj
[0] = args
;
27432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27433 if (!SWIG_IsOK(res1
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27436 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 wxString
const &_result_ref
= (arg1
)->GetText();
27441 result
= (wxString
*) &_result_ref
;
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27459 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxListItem
*arg1
= (wxListItem
*) 0 ;
27465 PyObject
*swig_obj
[1] ;
27467 if (!args
) SWIG_fail
;
27468 swig_obj
[0] = args
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (int)(arg1
)->GetImage();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_From_int(static_cast< int >(result
));
27487 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxListItem
*arg1
= (wxListItem
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27501 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (long)(arg1
)->GetData();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= SWIG_From_long(static_cast< long >(result
));
27515 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27516 PyObject
*resultobj
= 0;
27517 wxListItem
*arg1
= (wxListItem
*) 0 ;
27521 PyObject
*swig_obj
[1] ;
27523 if (!args
) SWIG_fail
;
27524 swig_obj
[0] = args
;
27525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27526 if (!SWIG_IsOK(res1
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27529 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (int)(arg1
)->GetWidth();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 resultobj
= SWIG_From_int(static_cast< int >(result
));
27543 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27544 PyObject
*resultobj
= 0;
27545 wxListItem
*arg1
= (wxListItem
*) 0 ;
27546 wxListColumnFormat result
;
27549 PyObject
*swig_obj
[1] ;
27551 if (!args
) SWIG_fail
;
27552 swig_obj
[0] = args
;
27553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27557 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= SWIG_From_int(static_cast< int >(result
));
27571 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27572 PyObject
*resultobj
= 0;
27573 wxListItem
*arg1
= (wxListItem
*) 0 ;
27574 wxListItemAttr
*result
= 0 ;
27577 PyObject
*swig_obj
[1] ;
27579 if (!args
) SWIG_fail
;
27580 swig_obj
[0] = args
;
27581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27582 if (!SWIG_IsOK(res1
)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27585 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27599 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27600 PyObject
*resultobj
= 0;
27601 wxListItem
*arg1
= (wxListItem
*) 0 ;
27605 PyObject
*swig_obj
[1] ;
27607 if (!args
) SWIG_fail
;
27608 swig_obj
[0] = args
;
27609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27613 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= (bool)(arg1
)->HasAttributes();
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27629 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 PyObject
*resultobj
= 0;
27631 wxListItem
*arg1
= (wxListItem
*) 0 ;
27635 PyObject
*swig_obj
[1] ;
27637 if (!args
) SWIG_fail
;
27638 swig_obj
[0] = args
;
27639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27643 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27657 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27663 PyObject
*swig_obj
[1] ;
27665 if (!args
) SWIG_fail
;
27666 swig_obj
[0] = args
;
27667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27671 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27685 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27686 PyObject
*resultobj
= 0;
27687 wxListItem
*arg1
= (wxListItem
*) 0 ;
27691 PyObject
*swig_obj
[1] ;
27693 if (!args
) SWIG_fail
;
27694 swig_obj
[0] = args
;
27695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27699 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= ((wxListItem
const *)arg1
)->GetFont();
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27713 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27714 PyObject
*resultobj
= 0;
27715 wxListItem
*arg1
= (wxListItem
*) 0 ;
27721 PyObject
*swig_obj
[2] ;
27723 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27725 if (!SWIG_IsOK(res1
)) {
27726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27728 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27729 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27730 if (!SWIG_IsOK(ecode2
)) {
27731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27733 arg2
= static_cast< long >(val2
);
27734 if (arg1
) (arg1
)->m_mask
= arg2
;
27736 resultobj
= SWIG_Py_Void();
27743 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27744 PyObject
*resultobj
= 0;
27745 wxListItem
*arg1
= (wxListItem
*) 0 ;
27749 PyObject
*swig_obj
[1] ;
27751 if (!args
) SWIG_fail
;
27752 swig_obj
[0] = args
;
27753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27754 if (!SWIG_IsOK(res1
)) {
27755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27757 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27758 result
= (long) ((arg1
)->m_mask
);
27759 resultobj
= SWIG_From_long(static_cast< long >(result
));
27766 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxListItem
*arg1
= (wxListItem
*) 0 ;
27774 PyObject
*swig_obj
[2] ;
27776 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27781 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27782 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27783 if (!SWIG_IsOK(ecode2
)) {
27784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27786 arg2
= static_cast< long >(val2
);
27787 if (arg1
) (arg1
)->m_itemId
= arg2
;
27789 resultobj
= SWIG_Py_Void();
27796 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27797 PyObject
*resultobj
= 0;
27798 wxListItem
*arg1
= (wxListItem
*) 0 ;
27802 PyObject
*swig_obj
[1] ;
27804 if (!args
) SWIG_fail
;
27805 swig_obj
[0] = args
;
27806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27807 if (!SWIG_IsOK(res1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27811 result
= (long) ((arg1
)->m_itemId
);
27812 resultobj
= SWIG_From_long(static_cast< long >(result
));
27819 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27820 PyObject
*resultobj
= 0;
27821 wxListItem
*arg1
= (wxListItem
*) 0 ;
27827 PyObject
*swig_obj
[2] ;
27829 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27834 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27836 if (!SWIG_IsOK(ecode2
)) {
27837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27839 arg2
= static_cast< int >(val2
);
27840 if (arg1
) (arg1
)->m_col
= arg2
;
27842 resultobj
= SWIG_Py_Void();
27849 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27850 PyObject
*resultobj
= 0;
27851 wxListItem
*arg1
= (wxListItem
*) 0 ;
27855 PyObject
*swig_obj
[1] ;
27857 if (!args
) SWIG_fail
;
27858 swig_obj
[0] = args
;
27859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27860 if (!SWIG_IsOK(res1
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27863 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27864 result
= (int) ((arg1
)->m_col
);
27865 resultobj
= SWIG_From_int(static_cast< int >(result
));
27872 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27873 PyObject
*resultobj
= 0;
27874 wxListItem
*arg1
= (wxListItem
*) 0 ;
27880 PyObject
*swig_obj
[2] ;
27882 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27887 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27888 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27889 if (!SWIG_IsOK(ecode2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27892 arg2
= static_cast< long >(val2
);
27893 if (arg1
) (arg1
)->m_state
= arg2
;
27895 resultobj
= SWIG_Py_Void();
27902 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27903 PyObject
*resultobj
= 0;
27904 wxListItem
*arg1
= (wxListItem
*) 0 ;
27908 PyObject
*swig_obj
[1] ;
27910 if (!args
) SWIG_fail
;
27911 swig_obj
[0] = args
;
27912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27913 if (!SWIG_IsOK(res1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27916 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27917 result
= (long) ((arg1
)->m_state
);
27918 resultobj
= SWIG_From_long(static_cast< long >(result
));
27925 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27926 PyObject
*resultobj
= 0;
27927 wxListItem
*arg1
= (wxListItem
*) 0 ;
27933 PyObject
*swig_obj
[2] ;
27935 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27937 if (!SWIG_IsOK(res1
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27940 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27941 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27942 if (!SWIG_IsOK(ecode2
)) {
27943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27945 arg2
= static_cast< long >(val2
);
27946 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27948 resultobj
= SWIG_Py_Void();
27955 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27956 PyObject
*resultobj
= 0;
27957 wxListItem
*arg1
= (wxListItem
*) 0 ;
27961 PyObject
*swig_obj
[1] ;
27963 if (!args
) SWIG_fail
;
27964 swig_obj
[0] = args
;
27965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27966 if (!SWIG_IsOK(res1
)) {
27967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27969 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27970 result
= (long) ((arg1
)->m_stateMask
);
27971 resultobj
= SWIG_From_long(static_cast< long >(result
));
27978 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27979 PyObject
*resultobj
= 0;
27980 wxListItem
*arg1
= (wxListItem
*) 0 ;
27981 wxString
*arg2
= (wxString
*) 0 ;
27984 bool temp2
= false ;
27985 PyObject
*swig_obj
[2] ;
27987 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27992 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27994 arg2
= wxString_in_helper(swig_obj
[1]);
27995 if (arg2
== NULL
) SWIG_fail
;
27998 if (arg1
) (arg1
)->m_text
= *arg2
;
28000 resultobj
= SWIG_Py_Void();
28015 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28016 PyObject
*resultobj
= 0;
28017 wxListItem
*arg1
= (wxListItem
*) 0 ;
28018 wxString
*result
= 0 ;
28021 PyObject
*swig_obj
[1] ;
28023 if (!args
) SWIG_fail
;
28024 swig_obj
[0] = args
;
28025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28026 if (!SWIG_IsOK(res1
)) {
28027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28030 result
= (wxString
*)& ((arg1
)->m_text
);
28033 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28035 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28044 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListItem
*arg1
= (wxListItem
*) 0 ;
28052 PyObject
*swig_obj
[2] ;
28054 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28060 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28061 if (!SWIG_IsOK(ecode2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28064 arg2
= static_cast< int >(val2
);
28065 if (arg1
) (arg1
)->m_image
= arg2
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListItem
*arg1
= (wxListItem
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28088 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28089 result
= (int) ((arg1
)->m_image
);
28090 resultobj
= SWIG_From_int(static_cast< int >(result
));
28097 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxListItem
*arg1
= (wxListItem
*) 0 ;
28105 PyObject
*swig_obj
[2] ;
28107 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28113 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28117 arg2
= static_cast< long >(val2
);
28118 if (arg1
) (arg1
)->m_data
= arg2
;
28120 resultobj
= SWIG_Py_Void();
28127 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28128 PyObject
*resultobj
= 0;
28129 wxListItem
*arg1
= (wxListItem
*) 0 ;
28133 PyObject
*swig_obj
[1] ;
28135 if (!args
) SWIG_fail
;
28136 swig_obj
[0] = args
;
28137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28138 if (!SWIG_IsOK(res1
)) {
28139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28141 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28142 result
= (long) ((arg1
)->m_data
);
28143 resultobj
= SWIG_From_long(static_cast< long >(result
));
28150 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxListItem
*arg1
= (wxListItem
*) 0 ;
28158 PyObject
*swig_obj
[2] ;
28160 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28166 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28167 if (!SWIG_IsOK(ecode2
)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28170 arg2
= static_cast< int >(val2
);
28171 if (arg1
) (arg1
)->m_format
= arg2
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28181 PyObject
*resultobj
= 0;
28182 wxListItem
*arg1
= (wxListItem
*) 0 ;
28186 PyObject
*swig_obj
[1] ;
28188 if (!args
) SWIG_fail
;
28189 swig_obj
[0] = args
;
28190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28191 if (!SWIG_IsOK(res1
)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28194 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28195 result
= (int) ((arg1
)->m_format
);
28196 resultobj
= SWIG_From_int(static_cast< int >(result
));
28203 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28205 wxListItem
*arg1
= (wxListItem
*) 0 ;
28211 PyObject
*swig_obj
[2] ;
28213 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28215 if (!SWIG_IsOK(res1
)) {
28216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28218 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28219 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28220 if (!SWIG_IsOK(ecode2
)) {
28221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28223 arg2
= static_cast< int >(val2
);
28224 if (arg1
) (arg1
)->m_width
= arg2
;
28226 resultobj
= SWIG_Py_Void();
28233 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28234 PyObject
*resultobj
= 0;
28235 wxListItem
*arg1
= (wxListItem
*) 0 ;
28239 PyObject
*swig_obj
[1] ;
28241 if (!args
) SWIG_fail
;
28242 swig_obj
[0] = args
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28247 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28248 result
= (int) ((arg1
)->m_width
);
28249 resultobj
= SWIG_From_int(static_cast< int >(result
));
28256 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28259 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28260 return SWIG_Py_Void();
28263 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 return SWIG_Python_InitShadowInstance(args
);
28267 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
= 0;
28269 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28270 int arg2
= (int) 0 ;
28271 wxListEvent
*result
= 0 ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char * kwnames
[] = {
28279 (char *) "commandType",(char *) "id", NULL
28282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28284 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28285 if (!SWIG_IsOK(ecode1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28288 arg1
= static_cast< wxEventType
>(val1
);
28291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28292 if (!SWIG_IsOK(ecode2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28295 arg2
= static_cast< int >(val2
);
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28310 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28311 PyObject
*resultobj
= 0;
28312 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28318 PyObject
*swig_obj
[2] ;
28320 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28325 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28326 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28327 if (!SWIG_IsOK(ecode2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28330 arg2
= static_cast< int >(val2
);
28331 if (arg1
) (arg1
)->m_code
= arg2
;
28333 resultobj
= SWIG_Py_Void();
28340 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28346 PyObject
*swig_obj
[1] ;
28348 if (!args
) SWIG_fail
;
28349 swig_obj
[0] = args
;
28350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28354 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28355 result
= (int) ((arg1
)->m_code
);
28356 resultobj
= SWIG_From_int(static_cast< int >(result
));
28363 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28364 PyObject
*resultobj
= 0;
28365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28371 PyObject
*swig_obj
[2] ;
28373 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28378 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28379 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28380 if (!SWIG_IsOK(ecode2
)) {
28381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28383 arg2
= static_cast< long >(val2
);
28384 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28386 resultobj
= SWIG_Py_Void();
28393 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28394 PyObject
*resultobj
= 0;
28395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28399 PyObject
*swig_obj
[1] ;
28401 if (!args
) SWIG_fail
;
28402 swig_obj
[0] = args
;
28403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28407 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 result
= (long) ((arg1
)->m_oldItemIndex
);
28409 resultobj
= SWIG_From_long(static_cast< long >(result
));
28416 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28424 PyObject
*swig_obj
[2] ;
28426 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28431 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28432 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28433 if (!SWIG_IsOK(ecode2
)) {
28434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28436 arg2
= static_cast< long >(val2
);
28437 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28439 resultobj
= SWIG_Py_Void();
28446 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28447 PyObject
*resultobj
= 0;
28448 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28452 PyObject
*swig_obj
[1] ;
28454 if (!args
) SWIG_fail
;
28455 swig_obj
[0] = args
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28460 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28461 result
= (long) ((arg1
)->m_itemIndex
);
28462 resultobj
= SWIG_From_long(static_cast< long >(result
));
28469 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28477 PyObject
*swig_obj
[2] ;
28479 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28484 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28485 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28486 if (!SWIG_IsOK(ecode2
)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28489 arg2
= static_cast< int >(val2
);
28490 if (arg1
) (arg1
)->m_col
= arg2
;
28492 resultobj
= SWIG_Py_Void();
28499 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 PyObject
*resultobj
= 0;
28501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28505 PyObject
*swig_obj
[1] ;
28507 if (!args
) SWIG_fail
;
28508 swig_obj
[0] = args
;
28509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28513 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28514 result
= (int) ((arg1
)->m_col
);
28515 resultobj
= SWIG_From_int(static_cast< int >(result
));
28522 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28523 PyObject
*resultobj
= 0;
28524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28525 wxPoint
*arg2
= (wxPoint
*) 0 ;
28530 PyObject
*swig_obj
[2] ;
28532 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28534 if (!SWIG_IsOK(res1
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28537 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28538 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28539 if (!SWIG_IsOK(res2
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28542 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28543 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28545 resultobj
= SWIG_Py_Void();
28552 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 PyObject
*resultobj
= 0;
28554 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28555 wxPoint
*result
= 0 ;
28558 PyObject
*swig_obj
[1] ;
28560 if (!args
) SWIG_fail
;
28561 swig_obj
[0] = args
;
28562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28566 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28567 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28575 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28576 PyObject
*resultobj
= 0;
28577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28578 wxListItem
*result
= 0 ;
28581 PyObject
*swig_obj
[1] ;
28583 if (!args
) SWIG_fail
;
28584 swig_obj
[0] = args
;
28585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28586 if (!SWIG_IsOK(res1
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28589 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28590 result
= (wxListItem
*)& ((arg1
)->m_item
);
28592 resultobj
= wxPyMake_wxObject(result
, 0);
28600 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28601 PyObject
*resultobj
= 0;
28602 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28606 PyObject
*swig_obj
[1] ;
28608 if (!args
) SWIG_fail
;
28609 swig_obj
[0] = args
;
28610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28611 if (!SWIG_IsOK(res1
)) {
28612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28614 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (int)(arg1
)->GetKeyCode();
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_From_int(static_cast< int >(result
));
28628 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28629 PyObject
*resultobj
= 0;
28630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28634 PyObject
*swig_obj
[1] ;
28636 if (!args
) SWIG_fail
;
28637 swig_obj
[0] = args
;
28638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28639 if (!SWIG_IsOK(res1
)) {
28640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28642 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 result
= (long)(arg1
)->GetIndex();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_From_long(static_cast< long >(result
));
28656 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28657 PyObject
*resultobj
= 0;
28658 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28662 PyObject
*swig_obj
[1] ;
28664 if (!args
) SWIG_fail
;
28665 swig_obj
[0] = args
;
28666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28670 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (int)(arg1
)->GetColumn();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_From_int(static_cast< int >(result
));
28684 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28685 PyObject
*resultobj
= 0;
28686 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28690 PyObject
*swig_obj
[1] ;
28692 if (!args
) SWIG_fail
;
28693 swig_obj
[0] = args
;
28694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28695 if (!SWIG_IsOK(res1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28698 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (arg1
)->GetPoint();
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28712 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28713 PyObject
*resultobj
= 0;
28714 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28715 wxString
*result
= 0 ;
28718 PyObject
*swig_obj
[1] ;
28720 if (!args
) SWIG_fail
;
28721 swig_obj
[0] = args
;
28722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28726 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 wxString
const &_result_ref
= (arg1
)->GetLabel();
28731 result
= (wxString
*) &_result_ref
;
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28749 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28750 PyObject
*resultobj
= 0;
28751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28752 wxString
*result
= 0 ;
28755 PyObject
*swig_obj
[1] ;
28757 if (!args
) SWIG_fail
;
28758 swig_obj
[0] = args
;
28759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28760 if (!SWIG_IsOK(res1
)) {
28761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28763 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 wxString
const &_result_ref
= (arg1
)->GetText();
28768 result
= (wxString
*) &_result_ref
;
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28777 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28786 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28787 PyObject
*resultobj
= 0;
28788 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28792 PyObject
*swig_obj
[1] ;
28794 if (!args
) SWIG_fail
;
28795 swig_obj
[0] = args
;
28796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28797 if (!SWIG_IsOK(res1
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28800 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (int)(arg1
)->GetImage();
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_From_int(static_cast< int >(result
));
28814 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28815 PyObject
*resultobj
= 0;
28816 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28820 PyObject
*swig_obj
[1] ;
28822 if (!args
) SWIG_fail
;
28823 swig_obj
[0] = args
;
28824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28825 if (!SWIG_IsOK(res1
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28828 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (long)(arg1
)->GetData();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_From_long(static_cast< long >(result
));
28842 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28843 PyObject
*resultobj
= 0;
28844 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28848 PyObject
*swig_obj
[1] ;
28850 if (!args
) SWIG_fail
;
28851 swig_obj
[0] = args
;
28852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28856 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 result
= (long)(arg1
)->GetMask();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_From_long(static_cast< long >(result
));
28870 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28873 wxListItem
*result
= 0 ;
28876 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28884 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28889 result
= (wxListItem
*) &_result_ref
;
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28901 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28902 PyObject
*resultobj
= 0;
28903 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28907 PyObject
*swig_obj
[1] ;
28909 if (!args
) SWIG_fail
;
28910 swig_obj
[0] = args
;
28911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28915 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (long)(arg1
)->GetCacheFrom();
28919 wxPyEndAllowThreads(__tstate
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= SWIG_From_long(static_cast< long >(result
));
28929 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28930 PyObject
*resultobj
= 0;
28931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28935 PyObject
*swig_obj
[1] ;
28937 if (!args
) SWIG_fail
;
28938 swig_obj
[0] = args
;
28939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28943 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 result
= (long)(arg1
)->GetCacheTo();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= SWIG_From_long(static_cast< long >(result
));
28957 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 PyObject
*resultobj
= 0;
28959 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28963 PyObject
*swig_obj
[1] ;
28965 if (!args
) SWIG_fail
;
28966 swig_obj
[0] = args
;
28967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28971 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28987 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
= 0;
28989 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 char * kwnames
[] = {
28998 (char *) "self",(char *) "editCancelled", NULL
29001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29003 if (!SWIG_IsOK(res1
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29006 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29007 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29008 if (!SWIG_IsOK(ecode2
)) {
29009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29011 arg2
= static_cast< bool >(val2
);
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 (arg1
)->SetEditCanceled(arg2
);
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= SWIG_Py_Void();
29025 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29028 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29029 return SWIG_Py_Void();
29032 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29033 return SWIG_Python_InitShadowInstance(args
);
29036 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
= 0;
29038 wxWindow
*arg1
= (wxWindow
*) 0 ;
29039 int arg2
= (int) -1 ;
29040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29044 long arg5
= (long) wxLC_ICON
;
29045 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29046 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29047 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29049 wxPyListCtrl
*result
= 0 ;
29060 bool temp7
= false ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 PyObject
* obj2
= 0 ;
29064 PyObject
* obj3
= 0 ;
29065 PyObject
* obj4
= 0 ;
29066 PyObject
* obj5
= 0 ;
29067 PyObject
* obj6
= 0 ;
29068 char * kwnames
[] = {
29069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29074 if (!SWIG_IsOK(res1
)) {
29075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29080 if (!SWIG_IsOK(ecode2
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29083 arg2
= static_cast< int >(val2
);
29088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29098 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29099 if (!SWIG_IsOK(ecode5
)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29102 arg5
= static_cast< long >(val5
);
29105 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29106 if (!SWIG_IsOK(res6
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29112 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29116 arg7
= wxString_in_helper(obj6
);
29117 if (arg7
== NULL
) SWIG_fail
;
29122 if (!wxPyCheckForApp()) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29143 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29144 PyObject
*resultobj
= 0;
29145 wxPyListCtrl
*result
= 0 ;
29147 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29149 if (!wxPyCheckForApp()) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29162 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
= 0;
29164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29165 wxWindow
*arg2
= (wxWindow
*) 0 ;
29166 int arg3
= (int) -1 ;
29167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29171 long arg6
= (long) wxLC_ICON
;
29172 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29173 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29174 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29175 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29189 bool temp8
= false ;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 PyObject
* obj2
= 0 ;
29193 PyObject
* obj3
= 0 ;
29194 PyObject
* obj4
= 0 ;
29195 PyObject
* obj5
= 0 ;
29196 PyObject
* obj6
= 0 ;
29197 PyObject
* obj7
= 0 ;
29198 char * kwnames
[] = {
29199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29204 if (!SWIG_IsOK(res1
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29207 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29209 if (!SWIG_IsOK(res2
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29215 if (!SWIG_IsOK(ecode3
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29218 arg3
= static_cast< int >(val3
);
29223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29234 if (!SWIG_IsOK(ecode6
)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29237 arg6
= static_cast< long >(val6
);
29240 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29241 if (!SWIG_IsOK(res7
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29247 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29251 arg8
= wxString_in_helper(obj7
);
29252 if (arg8
== NULL
) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29279 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
= 0;
29281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29282 PyObject
*arg2
= (PyObject
*) 0 ;
29283 PyObject
*arg3
= (PyObject
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 char * kwnames
[] = {
29290 (char *) "self",(char *) "self",(char *) "_class", NULL
29293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29295 if (!SWIG_IsOK(res1
)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= SWIG_Py_Void();
29314 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29318 wxListItem
*result
= 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "col", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29334 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29336 if (!SWIG_IsOK(ecode2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29339 arg2
= static_cast< int >(val2
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= wxPyMake_wxObject(result
, 0);
29355 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29359 wxListItem
*arg3
= 0 ;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 PyObject
* obj2
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "col",(char *) "item", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29381 if (!SWIG_IsOK(ecode2
)) {
29382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29384 arg2
= static_cast< int >(val2
);
29385 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29386 if (!SWIG_IsOK(res3
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29392 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29408 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char * kwnames
[] = {
29420 (char *) "self",(char *) "col", NULL
29423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29430 if (!SWIG_IsOK(ecode2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29433 arg2
= static_cast< int >(val2
);
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_From_int(static_cast< int >(result
));
29447 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
= 0;
29449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 PyObject
* obj2
= 0 ;
29462 char * kwnames
[] = {
29463 (char *) "self",(char *) "col",(char *) "width", NULL
29466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29473 if (!SWIG_IsOK(ecode2
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29476 arg2
= static_cast< int >(val2
);
29477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29478 if (!SWIG_IsOK(ecode3
)) {
29479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29481 arg3
= static_cast< int >(val3
);
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29497 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29498 PyObject
*resultobj
= 0;
29499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29503 PyObject
*swig_obj
[1] ;
29505 if (!args
) SWIG_fail
;
29506 swig_obj
[0] = args
;
29507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= SWIG_From_int(static_cast< int >(result
));
29525 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29526 PyObject
*resultobj
= 0;
29527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29531 PyObject
*swig_obj
[1] ;
29533 if (!args
) SWIG_fail
;
29534 swig_obj
[0] = args
;
29535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29539 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29553 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29554 PyObject
*resultobj
= 0;
29555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29556 wxTextCtrl
*result
= 0 ;
29559 PyObject
*swig_obj
[1] ;
29561 if (!args
) SWIG_fail
;
29562 swig_obj
[0] = args
;
29563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= wxPyMake_wxObject(result
, 0);
29583 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
= 0;
29585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29587 int arg3
= (int) 0 ;
29588 wxListItem
*result
= 0 ;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 PyObject
* obj2
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "itemId",(char *) "col", NULL
29602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29607 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29608 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29609 if (!SWIG_IsOK(ecode2
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29612 arg2
= static_cast< long >(val2
);
29614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29615 if (!SWIG_IsOK(ecode3
)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29618 arg3
= static_cast< int >(val3
);
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= wxPyMake_wxObject(result
, 0);
29635 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
= 0;
29637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29638 wxListItem
*arg2
= 0 ;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char * kwnames
[] = {
29647 (char *) "self",(char *) "info", NULL
29650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29655 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29657 if (!SWIG_IsOK(res2
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29663 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (bool)(arg1
)->SetItem(*arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29679 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29684 wxString
*arg4
= 0 ;
29685 int arg5
= (int) -1 ;
29693 bool temp4
= false ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 PyObject
* obj2
= 0 ;
29699 PyObject
* obj3
= 0 ;
29700 PyObject
* obj4
= 0 ;
29701 char * kwnames
[] = {
29702 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29710 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29711 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29712 if (!SWIG_IsOK(ecode2
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29715 arg2
= static_cast< long >(val2
);
29716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29717 if (!SWIG_IsOK(ecode3
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29720 arg3
= static_cast< int >(val3
);
29722 arg4
= wxString_in_helper(obj3
);
29723 if (arg4
== NULL
) SWIG_fail
;
29727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29728 if (!SWIG_IsOK(ecode5
)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29731 arg5
= static_cast< int >(val5
);
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= SWIG_From_long(static_cast< long >(result
));
29754 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
= 0;
29756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 PyObject
* obj2
= 0 ;
29769 char * kwnames
[] = {
29770 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29775 if (!SWIG_IsOK(res1
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29778 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29780 if (!SWIG_IsOK(ecode2
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29783 arg2
= static_cast< long >(val2
);
29784 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29785 if (!SWIG_IsOK(ecode3
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29788 arg3
= static_cast< long >(val3
);
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_From_int(static_cast< int >(result
));
29802 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 PyObject
* obj2
= 0 ;
29820 PyObject
* obj3
= 0 ;
29821 char * kwnames
[] = {
29822 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29832 if (!SWIG_IsOK(ecode2
)) {
29833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29835 arg2
= static_cast< long >(val2
);
29836 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29837 if (!SWIG_IsOK(ecode3
)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29840 arg3
= static_cast< long >(val3
);
29841 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29842 if (!SWIG_IsOK(ecode4
)) {
29843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29845 arg4
= static_cast< long >(val4
);
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29861 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
= 0;
29863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29866 int arg4
= (int) -1 ;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 PyObject
* obj2
= 0 ;
29879 PyObject
* obj3
= 0 ;
29880 char * kwnames
[] = {
29881 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29889 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29891 if (!SWIG_IsOK(ecode2
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29894 arg2
= static_cast< long >(val2
);
29895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29896 if (!SWIG_IsOK(ecode3
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29899 arg3
= static_cast< int >(val3
);
29901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29902 if (!SWIG_IsOK(ecode4
)) {
29903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29905 arg4
= static_cast< int >(val4
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29922 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
= 0;
29924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 PyObject
* obj2
= 0 ;
29940 PyObject
* obj3
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29951 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29952 if (!SWIG_IsOK(ecode2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29955 arg2
= static_cast< long >(val2
);
29956 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29957 if (!SWIG_IsOK(ecode3
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29960 arg3
= static_cast< long >(val3
);
29961 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29962 if (!SWIG_IsOK(ecode4
)) {
29963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29965 arg4
= static_cast< int >(val4
);
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29981 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
= 0;
29983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 char * kwnames
[] = {
29993 (char *) "self",(char *) "item", NULL
29996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29998 if (!SWIG_IsOK(res1
)) {
29999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30001 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30002 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30003 if (!SWIG_IsOK(ecode2
)) {
30004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30006 arg2
= static_cast< long >(val2
);
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30026 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
= 0;
30028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30030 wxString
*arg3
= 0 ;
30035 bool temp3
= false ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "item",(char *) "str", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30048 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30049 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30050 if (!SWIG_IsOK(ecode2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30053 arg2
= static_cast< long >(val2
);
30055 arg3
= wxString_in_helper(obj2
);
30056 if (arg3
== NULL
) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= SWIG_Py_Void();
30080 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30089 PyObject
* obj0
= 0 ;
30090 PyObject
* obj1
= 0 ;
30091 char * kwnames
[] = {
30092 (char *) "self",(char *) "item", NULL
30095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30097 if (!SWIG_IsOK(res1
)) {
30098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30100 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30102 if (!SWIG_IsOK(ecode2
)) {
30103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30105 arg2
= static_cast< long >(val2
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_From_long(static_cast< long >(result
));
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30131 PyObject
* obj0
= 0 ;
30132 PyObject
* obj1
= 0 ;
30133 PyObject
* obj2
= 0 ;
30134 char * kwnames
[] = {
30135 (char *) "self",(char *) "item",(char *) "data", NULL
30138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30140 if (!SWIG_IsOK(res1
)) {
30141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30143 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30145 if (!SWIG_IsOK(ecode2
)) {
30146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30148 arg2
= static_cast< long >(val2
);
30149 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30150 if (!SWIG_IsOK(ecode3
)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30153 arg3
= static_cast< long >(val3
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30169 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "item", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) 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_GetItemPosition" "', 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_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30194 arg2
= static_cast< long >(val2
);
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30208 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30212 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 PyObject
* obj2
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "item",(char *) "code", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30234 if (!SWIG_IsOK(ecode2
)) {
30235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30237 arg2
= static_cast< long >(val2
);
30239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30240 if (!SWIG_IsOK(ecode3
)) {
30241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30243 arg3
= static_cast< int >(val3
);
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30258 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
= 0;
30260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30262 wxPoint
*arg3
= 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 PyObject
* obj2
= 0 ;
30272 char * kwnames
[] = {
30273 (char *) "self",(char *) "item",(char *) "pos", NULL
30276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30278 if (!SWIG_IsOK(res1
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30282 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30283 if (!SWIG_IsOK(ecode2
)) {
30284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30286 arg2
= static_cast< long >(val2
);
30289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30306 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30307 PyObject
*resultobj
= 0;
30308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30312 PyObject
*swig_obj
[1] ;
30314 if (!args
) SWIG_fail
;
30315 swig_obj
[0] = args
;
30316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30320 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_From_int(static_cast< int >(result
));
30334 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30335 PyObject
*resultobj
= 0;
30336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30340 PyObject
*swig_obj
[1] ;
30342 if (!args
) SWIG_fail
;
30343 swig_obj
[0] = args
;
30344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30348 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_From_int(static_cast< int >(result
));
30362 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30368 PyObject
*swig_obj
[1] ;
30370 if (!args
) SWIG_fail
;
30371 swig_obj
[0] = args
;
30372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30376 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30390 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30394 bool arg3
= (bool) false ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 PyObject
* obj2
= 0 ;
30404 char * kwnames
[] = {
30405 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30410 if (!SWIG_IsOK(res1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30413 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30415 if (!SWIG_IsOK(ecode2
)) {
30416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30418 arg2
= static_cast< int >(val2
);
30420 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30421 if (!SWIG_IsOK(ecode3
)) {
30422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30424 arg3
= static_cast< bool >(val3
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetItemSpacing(arg2
,arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= SWIG_Py_Void();
30439 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30440 PyObject
*resultobj
= 0;
30441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30445 PyObject
*swig_obj
[1] ;
30447 if (!args
) SWIG_fail
;
30448 swig_obj
[0] = args
;
30449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30450 if (!SWIG_IsOK(res1
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_From_int(static_cast< int >(result
));
30467 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30468 PyObject
*resultobj
= 0;
30469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30473 PyObject
*swig_obj
[1] ;
30475 if (!args
) SWIG_fail
;
30476 swig_obj
[0] = args
;
30477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30478 if (!SWIG_IsOK(res1
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30481 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30495 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30498 wxColour
*arg2
= 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "col", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= SWIG_Py_Void();
30531 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30532 PyObject
*resultobj
= 0;
30533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30537 PyObject
*swig_obj
[1] ;
30539 if (!args
) SWIG_fail
;
30540 swig_obj
[0] = args
;
30541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30545 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_From_long(static_cast< long >(result
));
30559 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
= 0;
30561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30563 bool arg3
= (bool) true ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 PyObject
* obj2
= 0 ;
30573 char * kwnames
[] = {
30574 (char *) "self",(char *) "style",(char *) "add", NULL
30577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30582 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30584 if (!SWIG_IsOK(ecode2
)) {
30585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30587 arg2
= static_cast< long >(val2
);
30589 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30590 if (!SWIG_IsOK(ecode3
)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30593 arg3
= static_cast< bool >(val3
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 (arg1
)->SetSingleStyle(arg2
,arg3
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_Py_Void();
30608 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
= 0;
30610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30612 int arg3
= (int) wxLIST_NEXT_ALL
;
30613 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 PyObject
* obj2
= 0 ;
30626 PyObject
* obj3
= 0 ;
30627 char * kwnames
[] = {
30628 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30636 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30638 if (!SWIG_IsOK(ecode2
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30641 arg2
= static_cast< long >(val2
);
30643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30644 if (!SWIG_IsOK(ecode3
)) {
30645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30647 arg3
= static_cast< int >(val3
);
30650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30651 if (!SWIG_IsOK(ecode4
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30654 arg4
= static_cast< int >(val4
);
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_From_long(static_cast< long >(result
));
30669 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
= 0;
30671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30673 wxImageList
*result
= 0 ;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 char * kwnames
[] = {
30681 (char *) "self",(char *) "which", NULL
30684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30686 if (!SWIG_IsOK(res1
)) {
30687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30689 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30691 if (!SWIG_IsOK(ecode2
)) {
30692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30694 arg2
= static_cast< int >(val2
);
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30710 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30713 wxImageList
*arg2
= (wxImageList
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 PyObject
* obj2
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "imageList",(char *) "which", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30735 if (!SWIG_IsOK(res2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30738 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30740 if (!SWIG_IsOK(ecode3
)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30743 arg3
= static_cast< int >(val3
);
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->SetImageList(arg2
,arg3
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_Py_Void();
30757 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30760 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_AssignImageList",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_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30780 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30781 if (!SWIG_IsOK(res2
)) {
30782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30785 if (!SWIG_IsOK(ecode3
)) {
30786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30788 arg3
= static_cast< int >(val3
);
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 (arg1
)->AssignImageList(arg2
,arg3
);
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= SWIG_Py_Void();
30802 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 PyObject
*resultobj
= 0;
30804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30808 PyObject
*swig_obj
[1] ;
30810 if (!args
) SWIG_fail
;
30811 swig_obj
[0] = args
;
30812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30813 if (!SWIG_IsOK(res1
)) {
30814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30838 PyObject
*swig_obj
[1] ;
30840 if (!args
) SWIG_fail
;
30841 swig_obj
[0] = args
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30846 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30862 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30863 PyObject
*resultobj
= 0;
30864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 char * kwnames
[] = {
30873 (char *) "self",(char *) "item", NULL
30876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30883 if (!SWIG_IsOK(ecode2
)) {
30884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30886 arg2
= static_cast< long >(val2
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 (arg1
)->RefreshItem(arg2
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_Py_Void();
30900 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 PyObject
* obj2
= 0 ;
30914 char * kwnames
[] = {
30915 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30925 if (!SWIG_IsOK(ecode2
)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30928 arg2
= static_cast< long >(val2
);
30929 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30930 if (!SWIG_IsOK(ecode3
)) {
30931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30933 arg3
= static_cast< long >(val3
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 (arg1
)->RefreshItems(arg2
,arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_Py_Void();
30947 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
= 0;
30949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30950 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 char * kwnames
[] = {
30959 (char *) "self",(char *) "flag", NULL
30962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30964 if (!SWIG_IsOK(res1
)) {
30965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30967 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30970 if (!SWIG_IsOK(ecode2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30973 arg2
= static_cast< int >(val2
);
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 result
= (bool)(arg1
)->Arrange(arg2
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30990 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
= 0;
30992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "item", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31012 if (!SWIG_IsOK(ecode2
)) {
31013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31015 arg2
= static_cast< long >(val2
);
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (bool)(arg1
)->DeleteItem(arg2
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31031 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31032 PyObject
*resultobj
= 0;
31033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31037 PyObject
*swig_obj
[1] ;
31039 if (!args
) SWIG_fail
;
31040 swig_obj
[0] = args
;
31041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31042 if (!SWIG_IsOK(res1
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31045 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (bool)(arg1
)->DeleteAllItems();
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31061 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
= 0;
31063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 char * kwnames
[] = {
31073 (char *) "self",(char *) "col", NULL
31076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31081 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31083 if (!SWIG_IsOK(ecode2
)) {
31084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31086 arg2
= static_cast< int >(val2
);
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31102 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31103 PyObject
*resultobj
= 0;
31104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 PyObject
*swig_obj
[1] ;
31110 if (!args
) SWIG_fail
;
31111 swig_obj
[0] = args
;
31112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31116 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 result
= (bool)(arg1
)->DeleteAllColumns();
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31132 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31133 PyObject
*resultobj
= 0;
31134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31137 PyObject
*swig_obj
[1] ;
31139 if (!args
) SWIG_fail
;
31140 swig_obj
[0] = args
;
31141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 (arg1
)->ClearAll();
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_Py_Void();
31159 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
= 0;
31161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 char * kwnames
[] = {
31170 (char *) "self",(char *) "item", NULL
31173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31179 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31180 if (!SWIG_IsOK(ecode2
)) {
31181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31183 arg2
= static_cast< long >(val2
);
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 (arg1
)->EditLabel(arg2
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 resultobj
= SWIG_Py_Void();
31197 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
= 0;
31199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "self",(char *) "item", NULL
31212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31214 if (!SWIG_IsOK(res1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31219 if (!SWIG_IsOK(ecode2
)) {
31220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31222 arg2
= static_cast< long >(val2
);
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31238 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
= 0;
31240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31242 wxString
*arg3
= 0 ;
31243 bool arg4
= (bool) false ;
31249 bool temp3
= false ;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 PyObject
* obj2
= 0 ;
31255 PyObject
* obj3
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31267 if (!SWIG_IsOK(ecode2
)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31270 arg2
= static_cast< long >(val2
);
31272 arg3
= wxString_in_helper(obj2
);
31273 if (arg3
== NULL
) SWIG_fail
;
31277 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31278 if (!SWIG_IsOK(ecode4
)) {
31279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31281 arg4
= static_cast< bool >(val4
);
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= SWIG_From_long(static_cast< long >(result
));
31304 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
= 0;
31306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 PyObject
* obj2
= 0 ;
31319 char * kwnames
[] = {
31320 (char *) "self",(char *) "start",(char *) "data", NULL
31323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31325 if (!SWIG_IsOK(res1
)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31328 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31329 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31330 if (!SWIG_IsOK(ecode2
)) {
31331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31333 arg2
= static_cast< long >(val2
);
31334 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31335 if (!SWIG_IsOK(ecode3
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31338 arg3
= static_cast< long >(val3
);
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= SWIG_From_long(static_cast< long >(result
));
31352 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31353 PyObject
*resultobj
= 0;
31354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31356 wxPoint
*arg3
= 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 PyObject
* obj2
= 0 ;
31369 PyObject
* obj3
= 0 ;
31370 char * kwnames
[] = {
31371 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31376 if (!SWIG_IsOK(res1
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31380 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31381 if (!SWIG_IsOK(ecode2
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31384 arg2
= static_cast< long >(val2
);
31387 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31390 if (!SWIG_IsOK(ecode4
)) {
31391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31393 arg4
= static_cast< int >(val4
);
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 resultobj
= SWIG_From_long(static_cast< long >(result
));
31407 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
= 0;
31409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31410 wxPoint
*arg2
= 0 ;
31417 int res3
= SWIG_TMPOBJ
;
31418 PyObject
* obj0
= 0 ;
31419 PyObject
* obj1
= 0 ;
31420 char * kwnames
[] = {
31421 (char *) "self",(char *) "point", NULL
31425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31427 if (!SWIG_IsOK(res1
)) {
31428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31430 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= SWIG_From_long(static_cast< long >(result
));
31442 if (SWIG_IsTmpObj(res3
)) {
31443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31445 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31454 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31457 wxPoint
*arg2
= 0 ;
31459 long *arg4
= (long *) 0 ;
31465 int res3
= SWIG_TMPOBJ
;
31467 int res4
= SWIG_TMPOBJ
;
31468 PyObject
* obj0
= 0 ;
31469 PyObject
* obj1
= 0 ;
31470 char * kwnames
[] = {
31471 (char *) "self",(char *) "point", NULL
31476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31478 if (!SWIG_IsOK(res1
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31481 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31488 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 resultobj
= SWIG_From_long(static_cast< long >(result
));
31493 if (SWIG_IsTmpObj(res3
)) {
31494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31496 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31499 if (SWIG_IsTmpObj(res4
)) {
31500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31502 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31511 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= 0;
31513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31514 wxListItem
*arg2
= 0 ;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 char * kwnames
[] = {
31523 (char *) "self",(char *) "info", NULL
31526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31531 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31533 if (!SWIG_IsOK(res2
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31539 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= (long)(arg1
)->InsertItem(*arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_From_long(static_cast< long >(result
));
31553 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31557 wxString
*arg3
= 0 ;
31558 int arg4
= (int) -1 ;
31564 bool temp3
= false ;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 PyObject
* obj2
= 0 ;
31570 PyObject
* obj3
= 0 ;
31571 char * kwnames
[] = {
31572 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31577 if (!SWIG_IsOK(res1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31580 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31582 if (!SWIG_IsOK(ecode2
)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31585 arg2
= static_cast< long >(val2
);
31587 arg3
= wxString_in_helper(obj2
);
31588 if (arg3
== NULL
) SWIG_fail
;
31592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31593 if (!SWIG_IsOK(ecode4
)) {
31594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31596 arg4
= static_cast< int >(val4
);
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 resultobj
= SWIG_From_long(static_cast< long >(result
));
31619 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
= 0;
31621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 PyObject
* obj2
= 0 ;
31634 char * kwnames
[] = {
31635 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31640 if (!SWIG_IsOK(res1
)) {
31641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31645 if (!SWIG_IsOK(ecode2
)) {
31646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31648 arg2
= static_cast< long >(val2
);
31649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31650 if (!SWIG_IsOK(ecode3
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31653 arg3
= static_cast< int >(val3
);
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_From_long(static_cast< long >(result
));
31667 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
= 0;
31669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31671 wxString
*arg3
= 0 ;
31678 bool temp3
= false ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 PyObject
* obj2
= 0 ;
31684 PyObject
* obj3
= 0 ;
31685 char * kwnames
[] = {
31686 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31691 if (!SWIG_IsOK(res1
)) {
31692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31694 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31695 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31696 if (!SWIG_IsOK(ecode2
)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31699 arg2
= static_cast< long >(val2
);
31701 arg3
= wxString_in_helper(obj2
);
31702 if (arg3
== NULL
) SWIG_fail
;
31705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31706 if (!SWIG_IsOK(ecode4
)) {
31707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31709 arg4
= static_cast< int >(val4
);
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= SWIG_From_long(static_cast< long >(result
));
31731 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
= 0;
31733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31735 wxListItem
*arg3
= 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 PyObject
* obj2
= 0 ;
31746 char * kwnames
[] = {
31747 (char *) "self",(char *) "col",(char *) "info", NULL
31750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31752 if (!SWIG_IsOK(res1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31756 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31757 if (!SWIG_IsOK(ecode2
)) {
31758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31760 arg2
= static_cast< long >(val2
);
31761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31762 if (!SWIG_IsOK(res3
)) {
31763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31768 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= SWIG_From_long(static_cast< long >(result
));
31782 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
= 0;
31784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31786 wxString
*arg3
= 0 ;
31787 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31788 int arg5
= (int) -1 ;
31794 bool temp3
= false ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 PyObject
* obj2
= 0 ;
31802 PyObject
* obj3
= 0 ;
31803 PyObject
* obj4
= 0 ;
31804 char * kwnames
[] = {
31805 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31810 if (!SWIG_IsOK(res1
)) {
31811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31813 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31815 if (!SWIG_IsOK(ecode2
)) {
31816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31818 arg2
= static_cast< long >(val2
);
31820 arg3
= wxString_in_helper(obj2
);
31821 if (arg3
== NULL
) SWIG_fail
;
31825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31826 if (!SWIG_IsOK(ecode4
)) {
31827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31829 arg4
= static_cast< int >(val4
);
31832 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31833 if (!SWIG_IsOK(ecode5
)) {
31834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31836 arg5
= static_cast< int >(val5
);
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_From_long(static_cast< long >(result
));
31859 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
= 0;
31861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31867 PyObject
* obj0
= 0 ;
31868 PyObject
* obj1
= 0 ;
31869 char * kwnames
[] = {
31870 (char *) "self",(char *) "count", NULL
31873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31875 if (!SWIG_IsOK(res1
)) {
31876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31878 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31880 if (!SWIG_IsOK(ecode2
)) {
31881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31883 arg2
= static_cast< long >(val2
);
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 (arg1
)->SetItemCount(arg2
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_Py_Void();
31897 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
= 0;
31899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31909 PyObject
* obj0
= 0 ;
31910 PyObject
* obj1
= 0 ;
31911 PyObject
* obj2
= 0 ;
31912 char * kwnames
[] = {
31913 (char *) "self",(char *) "dx",(char *) "dy", NULL
31916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31921 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31923 if (!SWIG_IsOK(ecode2
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31926 arg2
= static_cast< int >(val2
);
31927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31928 if (!SWIG_IsOK(ecode3
)) {
31929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31931 arg3
= static_cast< int >(val3
);
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31947 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
= 0;
31949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31951 wxColour
*arg3
= 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 PyObject
* obj2
= 0 ;
31960 char * kwnames
[] = {
31961 (char *) "self",(char *) "item",(char *) "col", NULL
31964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31966 if (!SWIG_IsOK(res1
)) {
31967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31971 if (!SWIG_IsOK(ecode2
)) {
31972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31974 arg2
= static_cast< long >(val2
);
31977 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_Py_Void();
31992 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 char * kwnames
[] = {
32004 (char *) "self",(char *) "item", NULL
32007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32012 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32014 if (!SWIG_IsOK(ecode2
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32017 arg2
= static_cast< long >(val2
);
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32031 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
= 0;
32033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32035 wxColour
*arg3
= 0 ;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 PyObject
* obj2
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "item",(char *) "col", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32055 if (!SWIG_IsOK(ecode2
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32058 arg2
= static_cast< long >(val2
);
32061 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_Py_Void();
32076 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32085 PyObject
* obj0
= 0 ;
32086 PyObject
* obj1
= 0 ;
32087 char * kwnames
[] = {
32088 (char *) "self",(char *) "item", NULL
32091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32093 if (!SWIG_IsOK(res1
)) {
32094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32098 if (!SWIG_IsOK(ecode2
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32101 arg2
= static_cast< long >(val2
);
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32104 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32115 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
= 0;
32117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 PyObject
* obj2
= 0 ;
32129 char * kwnames
[] = {
32130 (char *) "self",(char *) "item",(char *) "f", NULL
32133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32135 if (!SWIG_IsOK(res1
)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32140 if (!SWIG_IsOK(ecode2
)) {
32141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32143 arg2
= static_cast< long >(val2
);
32144 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32145 if (!SWIG_IsOK(res3
)) {
32146 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32151 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_Py_Void();
32165 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
= 0;
32167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32174 PyObject
* obj0
= 0 ;
32175 PyObject
* obj1
= 0 ;
32176 char * kwnames
[] = {
32177 (char *) "self",(char *) "item", NULL
32180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32182 if (!SWIG_IsOK(res1
)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32187 if (!SWIG_IsOK(ecode2
)) {
32188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32190 arg2
= static_cast< long >(val2
);
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32204 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
= 0;
32206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32207 PyObject
*arg2
= (PyObject
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 char * kwnames
[] = {
32214 (char *) "self",(char *) "func", NULL
32217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32219 if (!SWIG_IsOK(res1
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32222 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32227 wxPyEndAllowThreads(__tstate
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32239 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32240 PyObject
*resultobj
= 0;
32241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32242 wxWindow
*result
= 0 ;
32245 PyObject
*swig_obj
[1] ;
32247 if (!args
) SWIG_fail
;
32248 swig_obj
[0] = args
;
32249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32261 resultobj
= wxPyMake_wxObject(result
, 0);
32269 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
= 0;
32271 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32272 SwigValueWrapper
<wxVisualAttributes
> result
;
32275 PyObject
* obj0
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "variant", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32283 if (!SWIG_IsOK(ecode1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32286 arg1
= static_cast< wxWindowVariant
>(val1
);
32289 if (!wxPyCheckForApp()) SWIG_fail
;
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32302 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32306 return SWIG_Py_Void();
32309 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32310 return SWIG_Python_InitShadowInstance(args
);
32313 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
= 0;
32315 wxWindow
*arg1
= (wxWindow
*) 0 ;
32316 int arg2
= (int) -1 ;
32317 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32318 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32319 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32320 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32321 long arg5
= (long) wxLC_REPORT
;
32322 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32323 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32324 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32326 wxListView
*result
= 0 ;
32337 bool temp7
= false ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 PyObject
* obj2
= 0 ;
32341 PyObject
* obj3
= 0 ;
32342 PyObject
* obj4
= 0 ;
32343 PyObject
* obj5
= 0 ;
32344 PyObject
* obj6
= 0 ;
32345 char * kwnames
[] = {
32346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32351 if (!SWIG_IsOK(res1
)) {
32352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32357 if (!SWIG_IsOK(ecode2
)) {
32358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32360 arg2
= static_cast< int >(val2
);
32365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32375 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32376 if (!SWIG_IsOK(ecode5
)) {
32377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32379 arg5
= static_cast< long >(val5
);
32382 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32383 if (!SWIG_IsOK(res6
)) {
32384 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32389 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32393 arg7
= wxString_in_helper(obj6
);
32394 if (arg7
== NULL
) SWIG_fail
;
32399 if (!wxPyCheckForApp()) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32420 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32421 PyObject
*resultobj
= 0;
32422 wxListView
*result
= 0 ;
32424 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32426 if (!wxPyCheckForApp()) SWIG_fail
;
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 result
= (wxListView
*)new wxListView();
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32439 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32440 PyObject
*resultobj
= 0;
32441 wxListView
*arg1
= (wxListView
*) 0 ;
32442 wxWindow
*arg2
= (wxWindow
*) 0 ;
32443 int arg3
= (int) -1 ;
32444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32448 long arg6
= (long) wxLC_REPORT
;
32449 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32450 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32451 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32466 bool temp8
= false ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 PyObject
* obj2
= 0 ;
32470 PyObject
* obj3
= 0 ;
32471 PyObject
* obj4
= 0 ;
32472 PyObject
* obj5
= 0 ;
32473 PyObject
* obj6
= 0 ;
32474 PyObject
* obj7
= 0 ;
32475 char * kwnames
[] = {
32476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32484 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32486 if (!SWIG_IsOK(res2
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32492 if (!SWIG_IsOK(ecode3
)) {
32493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32495 arg3
= static_cast< int >(val3
);
32500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32511 if (!SWIG_IsOK(ecode6
)) {
32512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32514 arg6
= static_cast< long >(val6
);
32517 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32518 if (!SWIG_IsOK(res7
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32524 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32528 arg8
= wxString_in_helper(obj7
);
32529 if (arg8
== NULL
) SWIG_fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32556 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxListView
*arg1
= (wxListView
*) 0 ;
32560 bool arg3
= (bool) true ;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 PyObject
* obj2
= 0 ;
32570 char * kwnames
[] = {
32571 (char *) "self",(char *) "n",(char *) "on", NULL
32574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32579 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32581 if (!SWIG_IsOK(ecode2
)) {
32582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32584 arg2
= static_cast< long >(val2
);
32586 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32587 if (!SWIG_IsOK(ecode3
)) {
32588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32590 arg3
= static_cast< bool >(val3
);
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 (arg1
)->Select(arg2
,arg3
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 resultobj
= SWIG_Py_Void();
32605 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
= 0;
32607 wxListView
*arg1
= (wxListView
*) 0 ;
32613 PyObject
* obj0
= 0 ;
32614 PyObject
* obj1
= 0 ;
32615 char * kwnames
[] = {
32616 (char *) "self",(char *) "index", NULL
32619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32621 if (!SWIG_IsOK(res1
)) {
32622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32624 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32625 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32626 if (!SWIG_IsOK(ecode2
)) {
32627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32629 arg2
= static_cast< long >(val2
);
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 (arg1
)->Focus(arg2
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_Py_Void();
32643 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32644 PyObject
*resultobj
= 0;
32645 wxListView
*arg1
= (wxListView
*) 0 ;
32649 PyObject
*swig_obj
[1] ;
32651 if (!args
) SWIG_fail
;
32652 swig_obj
[0] = args
;
32653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32654 if (!SWIG_IsOK(res1
)) {
32655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32657 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_From_long(static_cast< long >(result
));
32671 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
= 0;
32673 wxListView
*arg1
= (wxListView
*) 0 ;
32680 PyObject
* obj0
= 0 ;
32681 PyObject
* obj1
= 0 ;
32682 char * kwnames
[] = {
32683 (char *) "self",(char *) "item", NULL
32686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32688 if (!SWIG_IsOK(res1
)) {
32689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32691 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32693 if (!SWIG_IsOK(ecode2
)) {
32694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32696 arg2
= static_cast< long >(val2
);
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= SWIG_From_long(static_cast< long >(result
));
32710 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32711 PyObject
*resultobj
= 0;
32712 wxListView
*arg1
= (wxListView
*) 0 ;
32716 PyObject
*swig_obj
[1] ;
32718 if (!args
) SWIG_fail
;
32719 swig_obj
[0] = args
;
32720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32721 if (!SWIG_IsOK(res1
)) {
32722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32724 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= SWIG_From_long(static_cast< long >(result
));
32738 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
= 0;
32740 wxListView
*arg1
= (wxListView
*) 0 ;
32747 PyObject
* obj0
= 0 ;
32748 PyObject
* obj1
= 0 ;
32749 char * kwnames
[] = {
32750 (char *) "self",(char *) "index", NULL
32753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32755 if (!SWIG_IsOK(res1
)) {
32756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32758 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32760 if (!SWIG_IsOK(ecode2
)) {
32761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32763 arg2
= static_cast< long >(val2
);
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 result
= (bool)(arg1
)->IsSelected(arg2
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32779 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= 0;
32781 wxListView
*arg1
= (wxListView
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 PyObject
* obj2
= 0 ;
32793 char * kwnames
[] = {
32794 (char *) "self",(char *) "col",(char *) "image", NULL
32797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32799 if (!SWIG_IsOK(res1
)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32802 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32804 if (!SWIG_IsOK(ecode2
)) {
32805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32807 arg2
= static_cast< int >(val2
);
32808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32809 if (!SWIG_IsOK(ecode3
)) {
32810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32812 arg3
= static_cast< int >(val3
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 (arg1
)->SetColumnImage(arg2
,arg3
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_Py_Void();
32826 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxListView
*arg1
= (wxListView
*) 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "col", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32845 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32847 if (!SWIG_IsOK(ecode2
)) {
32848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32850 arg2
= static_cast< int >(val2
);
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 (arg1
)->ClearColumnImage(arg2
);
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_Py_Void();
32864 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32867 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32868 return SWIG_Py_Void();
32871 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32872 return SWIG_Python_InitShadowInstance(args
);
32875 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32876 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32881 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32882 PyObject
*pyobj
= 0;
32886 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32888 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32895 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32896 PyObject
*resultobj
= 0;
32897 wxTreeItemId
*result
= 0 ;
32899 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (wxTreeItemId
*)new wxTreeItemId();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32913 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 PyObject
*resultobj
= 0;
32915 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32918 PyObject
*swig_obj
[1] ;
32920 if (!args
) SWIG_fail
;
32921 swig_obj
[0] = args
;
32922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32923 if (!SWIG_IsOK(res1
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32926 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_Py_Void();
32941 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32942 PyObject
*resultobj
= 0;
32943 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32947 PyObject
*swig_obj
[1] ;
32949 if (!args
) SWIG_fail
;
32950 swig_obj
[0] = args
;
32951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32952 if (!SWIG_IsOK(res1
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32955 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32971 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
= 0;
32973 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32974 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 char * kwnames
[] = {
32983 (char *) "self",(char *) "other", NULL
32986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32988 if (!SWIG_IsOK(res1
)) {
32989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32991 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32993 if (!SWIG_IsOK(res2
)) {
32994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32996 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33000 wxPyEndAllowThreads(__tstate
);
33001 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33012 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33015 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "other", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33032 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33033 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33034 if (!SWIG_IsOK(res2
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33037 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33041 wxPyEndAllowThreads(__tstate
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33053 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33054 PyObject
*resultobj
= 0;
33055 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33056 void *arg2
= (void *) 0 ;
33060 PyObject
*swig_obj
[2] ;
33062 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33067 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33068 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33069 if (!SWIG_IsOK(res2
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33072 if (arg1
) (arg1
)->m_pItem
= arg2
;
33074 resultobj
= SWIG_Py_Void();
33081 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33082 PyObject
*resultobj
= 0;
33083 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33087 PyObject
*swig_obj
[1] ;
33089 if (!args
) SWIG_fail
;
33090 swig_obj
[0] = args
;
33091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33092 if (!SWIG_IsOK(res1
)) {
33093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33095 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33096 result
= (void *) ((arg1
)->m_pItem
);
33097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33104 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33107 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33108 return SWIG_Py_Void();
33111 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33112 return SWIG_Python_InitShadowInstance(args
);
33115 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
= 0;
33117 PyObject
*arg1
= (PyObject
*) NULL
;
33118 wxPyTreeItemData
*result
= 0 ;
33119 PyObject
* obj0
= 0 ;
33120 char * kwnames
[] = {
33121 (char *) "obj", NULL
33124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33141 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 PyObject
*resultobj
= 0;
33143 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33146 PyObject
*swig_obj
[1] ;
33148 if (!args
) SWIG_fail
;
33149 swig_obj
[0] = args
;
33150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33154 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= SWIG_Py_Void();
33169 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33170 PyObject
*resultobj
= 0;
33171 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33172 PyObject
*result
= 0 ;
33175 PyObject
*swig_obj
[1] ;
33177 if (!args
) SWIG_fail
;
33178 swig_obj
[0] = args
;
33179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33183 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (PyObject
*)(arg1
)->GetData();
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= result
;
33197 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
= 0;
33199 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33200 PyObject
*arg2
= (PyObject
*) 0 ;
33203 PyObject
* obj0
= 0 ;
33204 PyObject
* obj1
= 0 ;
33205 char * kwnames
[] = {
33206 (char *) "self",(char *) "obj", NULL
33209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33214 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 (arg1
)->SetData(arg2
);
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_Py_Void();
33229 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33230 PyObject
*resultobj
= 0;
33231 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33232 wxTreeItemId
*result
= 0 ;
33235 PyObject
*swig_obj
[1] ;
33237 if (!args
) SWIG_fail
;
33238 swig_obj
[0] = args
;
33239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33240 if (!SWIG_IsOK(res1
)) {
33241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33243 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33248 result
= (wxTreeItemId
*) &_result_ref
;
33250 wxPyEndAllowThreads(__tstate
);
33251 if (PyErr_Occurred()) SWIG_fail
;
33253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33260 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33261 PyObject
*resultobj
= 0;
33262 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33263 wxTreeItemId
*arg2
= 0 ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char * kwnames
[] = {
33271 (char *) "self",(char *) "id", NULL
33274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33276 if (!SWIG_IsOK(res1
)) {
33277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33279 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33281 if (!SWIG_IsOK(res2
)) {
33282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33294 resultobj
= SWIG_Py_Void();
33301 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33302 PyObject
*resultobj
= 0;
33303 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33306 PyObject
*swig_obj
[1] ;
33308 if (!args
) SWIG_fail
;
33309 swig_obj
[0] = args
;
33310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33311 if (!SWIG_IsOK(res1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33314 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 wxPyTreeItemData_Destroy(arg1
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_Py_Void();
33328 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33331 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33332 return SWIG_Py_Void();
33335 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33336 return SWIG_Python_InitShadowInstance(args
);
33339 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33342 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33343 if (!SWIG_IsOK(res
)) {
33344 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33349 wxTreeItemId
* temp
;
33350 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33351 wxNullTreeItemId
= *temp
;
33352 if (SWIG_IsNewObj(res
)) delete temp
;
33361 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33362 PyObject
*pyobj
= 0;
33364 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33369 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33370 PyObject
*resultobj
= 0;
33371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33372 int arg2
= (int) 0 ;
33373 wxTreeEvent
*result
= 0 ;
33379 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33381 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33382 if (!SWIG_IsOK(ecode1
)) {
33383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33385 arg1
= static_cast< wxEventType
>(val1
);
33388 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33389 if (!SWIG_IsOK(ecode2
)) {
33390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33392 arg2
= static_cast< int >(val2
);
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33407 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33408 PyObject
*resultobj
= 0;
33410 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33411 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33412 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33413 wxTreeEvent
*result
= 0 ;
33421 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33422 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33423 if (!SWIG_IsOK(ecode1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33426 arg1
= static_cast< wxEventType
>(val1
);
33427 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33428 if (!SWIG_IsOK(res2
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33431 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33433 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33434 if (!SWIG_IsOK(res3
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33440 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33455 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33459 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33461 if ((argc
>= 0) && (argc
<= 2)) {
33466 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33467 _v
= SWIG_CheckState(res
);
33470 if (!_v
) goto check_1
;
33472 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33476 if ((argc
>= 2) && (argc
<= 3)) {
33477 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33481 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33486 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33487 PyObject
*resultobj
= 0;
33488 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33489 wxTreeItemId result
;
33492 PyObject
*swig_obj
[1] ;
33494 if (!args
) SWIG_fail
;
33495 swig_obj
[0] = args
;
33496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33497 if (!SWIG_IsOK(res1
)) {
33498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33500 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33507 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33514 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33515 PyObject
*resultobj
= 0;
33516 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33517 wxTreeItemId
*arg2
= 0 ;
33522 PyObject
* obj0
= 0 ;
33523 PyObject
* obj1
= 0 ;
33524 char * kwnames
[] = {
33525 (char *) "self",(char *) "item", NULL
33528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33530 if (!SWIG_IsOK(res1
)) {
33531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33533 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33535 if (!SWIG_IsOK(res2
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33541 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_Py_Void();
33555 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33558 wxTreeItemId result
;
33561 PyObject
*swig_obj
[1] ;
33563 if (!args
) SWIG_fail
;
33564 swig_obj
[0] = args
;
33565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33569 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33583 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
= 0;
33585 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33586 wxTreeItemId
*arg2
= 0 ;
33591 PyObject
* obj0
= 0 ;
33592 PyObject
* obj1
= 0 ;
33593 char * kwnames
[] = {
33594 (char *) "self",(char *) "item", NULL
33597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33599 if (!SWIG_IsOK(res1
)) {
33600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33602 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33604 if (!SWIG_IsOK(res2
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33610 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 resultobj
= SWIG_Py_Void();
33624 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33625 PyObject
*resultobj
= 0;
33626 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33630 PyObject
*swig_obj
[1] ;
33632 if (!args
) SWIG_fail
;
33633 swig_obj
[0] = args
;
33634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33635 if (!SWIG_IsOK(res1
)) {
33636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33638 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33642 wxPyEndAllowThreads(__tstate
);
33643 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33652 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33653 PyObject
*resultobj
= 0;
33654 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33655 wxPoint
*arg2
= 0 ;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 char * kwnames
[] = {
33662 (char *) "self",(char *) "pt", NULL
33665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33670 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33681 resultobj
= SWIG_Py_Void();
33688 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33689 PyObject
*resultobj
= 0;
33690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33691 wxKeyEvent
*result
= 0 ;
33694 PyObject
*swig_obj
[1] ;
33696 if (!args
) SWIG_fail
;
33697 swig_obj
[0] = args
;
33698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33699 if (!SWIG_IsOK(res1
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33702 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33707 result
= (wxKeyEvent
*) &_result_ref
;
33709 wxPyEndAllowThreads(__tstate
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33719 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33720 PyObject
*resultobj
= 0;
33721 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33725 PyObject
*swig_obj
[1] ;
33727 if (!args
) SWIG_fail
;
33728 swig_obj
[0] = args
;
33729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33730 if (!SWIG_IsOK(res1
)) {
33731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33733 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_From_int(static_cast< int >(result
));
33747 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
= 0;
33749 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33750 wxKeyEvent
*arg2
= 0 ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 char * kwnames
[] = {
33758 (char *) "self",(char *) "evt", NULL
33761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33766 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33768 if (!SWIG_IsOK(res2
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33774 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33778 wxPyEndAllowThreads(__tstate
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= SWIG_Py_Void();
33788 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33789 PyObject
*resultobj
= 0;
33790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33791 wxString
*result
= 0 ;
33794 PyObject
*swig_obj
[1] ;
33796 if (!args
) SWIG_fail
;
33797 swig_obj
[0] = args
;
33798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33802 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33806 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33807 result
= (wxString
*) &_result_ref
;
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33825 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
= 0;
33827 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33828 wxString
*arg2
= 0 ;
33831 bool temp2
= false ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "label", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33843 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33845 arg2
= wxString_in_helper(obj1
);
33846 if (arg2
== NULL
) SWIG_fail
;
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 (arg1
)->SetLabel((wxString
const &)*arg2
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= SWIG_Py_Void();
33870 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33871 PyObject
*resultobj
= 0;
33872 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33876 PyObject
*swig_obj
[1] ;
33878 if (!args
) SWIG_fail
;
33879 swig_obj
[0] = args
;
33880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33884 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33887 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33900 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
= 0;
33902 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 char * kwnames
[] = {
33911 (char *) "self",(char *) "editCancelled", NULL
33914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33919 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33921 if (!SWIG_IsOK(ecode2
)) {
33922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33924 arg2
= static_cast< bool >(val2
);
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 (arg1
)->SetEditCanceled(arg2
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 resultobj
= SWIG_Py_Void();
33938 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
= 0;
33940 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33941 wxString
*arg2
= 0 ;
33944 bool temp2
= false ;
33945 PyObject
* obj0
= 0 ;
33946 PyObject
* obj1
= 0 ;
33947 char * kwnames
[] = {
33948 (char *) "self",(char *) "toolTip", NULL
33951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33956 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33958 arg2
= wxString_in_helper(obj1
);
33959 if (arg2
== NULL
) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33965 wxPyEndAllowThreads(__tstate
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33968 resultobj
= SWIG_Py_Void();
33983 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33984 PyObject
*resultobj
= 0;
33985 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33989 PyObject
*swig_obj
[1] ;
33991 if (!args
) SWIG_fail
;
33992 swig_obj
[0] = args
;
33993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33994 if (!SWIG_IsOK(res1
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33997 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (arg1
)->GetToolTip();
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34017 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34020 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34021 return SWIG_Py_Void();
34024 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34025 return SWIG_Python_InitShadowInstance(args
);
34028 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
= 0;
34030 wxWindow
*arg1
= (wxWindow
*) 0 ;
34031 int arg2
= (int) -1 ;
34032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34036 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34037 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34038 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34039 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34040 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34041 wxPyTreeCtrl
*result
= 0 ;
34052 bool temp7
= false ;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 PyObject
* obj2
= 0 ;
34056 PyObject
* obj3
= 0 ;
34057 PyObject
* obj4
= 0 ;
34058 PyObject
* obj5
= 0 ;
34059 PyObject
* obj6
= 0 ;
34060 char * kwnames
[] = {
34061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34066 if (!SWIG_IsOK(res1
)) {
34067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34072 if (!SWIG_IsOK(ecode2
)) {
34073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34075 arg2
= static_cast< int >(val2
);
34080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34090 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34091 if (!SWIG_IsOK(ecode5
)) {
34092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34094 arg5
= static_cast< long >(val5
);
34097 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34098 if (!SWIG_IsOK(res6
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34104 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34108 arg7
= wxString_in_helper(obj6
);
34109 if (arg7
== NULL
) SWIG_fail
;
34114 if (!wxPyCheckForApp()) SWIG_fail
;
34115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34116 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34135 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34136 PyObject
*resultobj
= 0;
34137 wxPyTreeCtrl
*result
= 0 ;
34139 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34141 if (!wxPyCheckForApp()) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34154 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34157 wxWindow
*arg2
= (wxWindow
*) 0 ;
34158 int arg3
= (int) -1 ;
34159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34163 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34164 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34165 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34166 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34167 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34181 bool temp8
= false ;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 PyObject
* obj2
= 0 ;
34185 PyObject
* obj3
= 0 ;
34186 PyObject
* obj4
= 0 ;
34187 PyObject
* obj5
= 0 ;
34188 PyObject
* obj6
= 0 ;
34189 PyObject
* obj7
= 0 ;
34190 char * kwnames
[] = {
34191 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34201 if (!SWIG_IsOK(res2
)) {
34202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34207 if (!SWIG_IsOK(ecode3
)) {
34208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34210 arg3
= static_cast< int >(val3
);
34215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34225 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34226 if (!SWIG_IsOK(ecode6
)) {
34227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34229 arg6
= static_cast< long >(val6
);
34232 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34233 if (!SWIG_IsOK(res7
)) {
34234 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34239 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34243 arg8
= wxString_in_helper(obj7
);
34244 if (arg8
== NULL
) SWIG_fail
;
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34271 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
= 0;
34273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34274 PyObject
*arg2
= (PyObject
*) 0 ;
34275 PyObject
*arg3
= (PyObject
*) 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 PyObject
* obj2
= 0 ;
34281 char * kwnames
[] = {
34282 (char *) "self",(char *) "self",(char *) "_class", NULL
34285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34287 if (!SWIG_IsOK(res1
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= SWIG_Py_Void();
34306 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34307 PyObject
*resultobj
= 0;
34308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34309 unsigned int result
;
34312 PyObject
*swig_obj
[1] ;
34314 if (!args
) SWIG_fail
;
34315 swig_obj
[0] = args
;
34316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34317 if (!SWIG_IsOK(res1
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34320 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34334 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34335 PyObject
*resultobj
= 0;
34336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34337 unsigned int result
;
34340 PyObject
*swig_obj
[1] ;
34342 if (!args
) SWIG_fail
;
34343 swig_obj
[0] = args
;
34344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34362 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
= 0;
34364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34365 unsigned int arg2
;
34368 unsigned int val2
;
34370 PyObject
* obj0
= 0 ;
34371 PyObject
* obj1
= 0 ;
34372 char * kwnames
[] = {
34373 (char *) "self",(char *) "indent", NULL
34376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34378 if (!SWIG_IsOK(res1
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34382 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34383 if (!SWIG_IsOK(ecode2
)) {
34384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34386 arg2
= static_cast< unsigned int >(val2
);
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34389 (arg1
)->SetIndent(arg2
);
34390 wxPyEndAllowThreads(__tstate
);
34391 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= SWIG_Py_Void();
34400 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34401 PyObject
*resultobj
= 0;
34402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34403 unsigned int result
;
34406 PyObject
*swig_obj
[1] ;
34408 if (!args
) SWIG_fail
;
34409 swig_obj
[0] = args
;
34410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34428 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
= 0;
34430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34431 unsigned int arg2
;
34434 unsigned int val2
;
34436 PyObject
* obj0
= 0 ;
34437 PyObject
* obj1
= 0 ;
34438 char * kwnames
[] = {
34439 (char *) "self",(char *) "spacing", NULL
34442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34448 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34449 if (!SWIG_IsOK(ecode2
)) {
34450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34452 arg2
= static_cast< unsigned int >(val2
);
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 (arg1
)->SetSpacing(arg2
);
34456 wxPyEndAllowThreads(__tstate
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= SWIG_Py_Void();
34466 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34467 PyObject
*resultobj
= 0;
34468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34469 wxImageList
*result
= 0 ;
34472 PyObject
*swig_obj
[1] ;
34474 if (!args
) SWIG_fail
;
34475 swig_obj
[0] = args
;
34476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34477 if (!SWIG_IsOK(res1
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34496 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34497 PyObject
*resultobj
= 0;
34498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34499 wxImageList
*result
= 0 ;
34502 PyObject
*swig_obj
[1] ;
34504 if (!args
) SWIG_fail
;
34505 swig_obj
[0] = args
;
34506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34507 if (!SWIG_IsOK(res1
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34518 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34526 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34529 wxImageList
*arg2
= (wxImageList
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 char * kwnames
[] = {
34537 (char *) "self",(char *) "imageList", NULL
34540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34542 if (!SWIG_IsOK(res1
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34547 if (!SWIG_IsOK(res2
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34550 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 (arg1
)->SetImageList(arg2
);
34554 wxPyEndAllowThreads(__tstate
);
34555 if (PyErr_Occurred()) SWIG_fail
;
34557 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxImageList
*arg2
= (wxImageList
*) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 char * kwnames
[] = {
34575 (char *) "self",(char *) "imageList", NULL
34578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34580 if (!SWIG_IsOK(res1
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34585 if (!SWIG_IsOK(res2
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34588 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 (arg1
)->SetStateImageList(arg2
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_Py_Void();
34602 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
= 0;
34604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34605 wxImageList
*arg2
= (wxImageList
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 PyObject
* obj1
= 0 ;
34611 char * kwnames
[] = {
34612 (char *) "self",(char *) "imageList", NULL
34615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34617 if (!SWIG_IsOK(res1
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34621 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34622 if (!SWIG_IsOK(res2
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 (arg1
)->AssignImageList(arg2
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= SWIG_Py_Void();
34638 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
= 0;
34640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34641 wxImageList
*arg2
= (wxImageList
*) 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 char * kwnames
[] = {
34648 (char *) "self",(char *) "imageList", NULL
34651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34653 if (!SWIG_IsOK(res1
)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34656 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34657 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34658 if (!SWIG_IsOK(res2
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34663 (arg1
)->AssignStateImageList(arg2
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= SWIG_Py_Void();
34674 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
= 0;
34676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34677 wxTreeItemId
*arg2
= 0 ;
34683 PyObject
* obj0
= 0 ;
34684 PyObject
* obj1
= 0 ;
34685 char * kwnames
[] = {
34686 (char *) "self",(char *) "item", NULL
34689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34691 if (!SWIG_IsOK(res1
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34694 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34696 if (!SWIG_IsOK(res2
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34722 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34723 PyObject
*resultobj
= 0;
34724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34725 wxTreeItemId
*arg2
= 0 ;
34726 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 PyObject
* obj2
= 0 ;
34737 char * kwnames
[] = {
34738 (char *) "self",(char *) "item",(char *) "which", NULL
34741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34743 if (!SWIG_IsOK(res1
)) {
34744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34748 if (!SWIG_IsOK(res2
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34754 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34757 if (!SWIG_IsOK(ecode3
)) {
34758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34760 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_From_int(static_cast< int >(result
));
34775 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
= 0;
34777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34778 wxTreeItemId
*arg2
= 0 ;
34779 wxPyTreeItemData
*result
= 0 ;
34784 PyObject
* obj0
= 0 ;
34785 PyObject
* obj1
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "item", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34792 if (!SWIG_IsOK(res1
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34797 if (!SWIG_IsOK(res2
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34806 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34807 wxPyEndAllowThreads(__tstate
);
34808 if (PyErr_Occurred()) SWIG_fail
;
34810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34817 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34818 PyObject
*resultobj
= 0;
34819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34820 wxTreeItemId
*arg2
= 0 ;
34821 PyObject
*result
= 0 ;
34826 PyObject
* obj0
= 0 ;
34827 PyObject
* obj1
= 0 ;
34828 char * kwnames
[] = {
34829 (char *) "self",(char *) "item", NULL
34832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34834 if (!SWIG_IsOK(res1
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34837 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34839 if (!SWIG_IsOK(res2
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34845 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 resultobj
= result
;
34859 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
= 0;
34861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34862 wxTreeItemId
*arg2
= 0 ;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 char * kwnames
[] = {
34871 (char *) "self",(char *) "item", NULL
34874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34876 if (!SWIG_IsOK(res1
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34881 if (!SWIG_IsOK(res2
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34894 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34901 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
= 0;
34903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34904 wxTreeItemId
*arg2
= 0 ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 char * kwnames
[] = {
34913 (char *) "self",(char *) "item", NULL
34916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34923 if (!SWIG_IsOK(res2
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34943 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
= 0;
34945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34946 wxTreeItemId
*arg2
= 0 ;
34952 PyObject
* obj0
= 0 ;
34953 PyObject
* obj1
= 0 ;
34954 char * kwnames
[] = {
34955 (char *) "self",(char *) "item", NULL
34958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34960 if (!SWIG_IsOK(res1
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34965 if (!SWIG_IsOK(res2
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34974 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34985 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
= 0;
34987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34988 wxTreeItemId
*arg2
= 0 ;
34989 wxString
*arg3
= 0 ;
34994 bool temp3
= false ;
34995 PyObject
* obj0
= 0 ;
34996 PyObject
* obj1
= 0 ;
34997 PyObject
* obj2
= 0 ;
34998 char * kwnames
[] = {
34999 (char *) "self",(char *) "item",(char *) "text", NULL
35002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35004 if (!SWIG_IsOK(res1
)) {
35005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35007 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35009 if (!SWIG_IsOK(res2
)) {
35010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35015 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35017 arg3
= wxString_in_helper(obj2
);
35018 if (arg3
== NULL
) SWIG_fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35024 wxPyEndAllowThreads(__tstate
);
35025 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= SWIG_Py_Void();
35042 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35043 PyObject
*resultobj
= 0;
35044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35045 wxTreeItemId
*arg2
= 0 ;
35047 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35056 PyObject
* obj0
= 0 ;
35057 PyObject
* obj1
= 0 ;
35058 PyObject
* obj2
= 0 ;
35059 PyObject
* obj3
= 0 ;
35060 char * kwnames
[] = {
35061 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35066 if (!SWIG_IsOK(res1
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35069 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35071 if (!SWIG_IsOK(res2
)) {
35072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35077 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35079 if (!SWIG_IsOK(ecode3
)) {
35080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35082 arg3
= static_cast< int >(val3
);
35084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35085 if (!SWIG_IsOK(ecode4
)) {
35086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35088 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 resultobj
= SWIG_Py_Void();
35103 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
= 0;
35105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35106 wxTreeItemId
*arg2
= 0 ;
35107 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 PyObject
* obj1
= 0 ;
35115 PyObject
* obj2
= 0 ;
35116 char * kwnames
[] = {
35117 (char *) "self",(char *) "item",(char *) "data", NULL
35120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35122 if (!SWIG_IsOK(res1
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35127 if (!SWIG_IsOK(res2
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35134 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35135 if (!SWIG_IsOK(res3
)) {
35136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35140 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= SWIG_Py_Void();
35151 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35152 PyObject
*resultobj
= 0;
35153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35154 wxTreeItemId
*arg2
= 0 ;
35155 PyObject
*arg3
= (PyObject
*) 0 ;
35160 PyObject
* obj0
= 0 ;
35161 PyObject
* obj1
= 0 ;
35162 PyObject
* obj2
= 0 ;
35163 char * kwnames
[] = {
35164 (char *) "self",(char *) "item",(char *) "obj", NULL
35167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35169 if (!SWIG_IsOK(res1
)) {
35170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35172 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35174 if (!SWIG_IsOK(res2
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35180 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_Py_Void();
35195 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35196 PyObject
*resultobj
= 0;
35197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35198 wxTreeItemId
*arg2
= 0 ;
35199 bool arg3
= (bool) true ;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 PyObject
* obj2
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "self",(char *) "item",(char *) "has", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",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_SetItemHasChildren" "', 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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35228 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35229 if (!SWIG_IsOK(ecode3
)) {
35230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35232 arg3
= static_cast< bool >(val3
);
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_Py_Void();
35247 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
= 0;
35249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35250 wxTreeItemId
*arg2
= 0 ;
35251 bool arg3
= (bool) true ;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 PyObject
* obj2
= 0 ;
35261 char * kwnames
[] = {
35262 (char *) "self",(char *) "item",(char *) "bold", NULL
35265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35267 if (!SWIG_IsOK(res1
)) {
35268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35272 if (!SWIG_IsOK(res2
)) {
35273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35281 if (!SWIG_IsOK(ecode3
)) {
35282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35284 arg3
= static_cast< bool >(val3
);
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35289 wxPyEndAllowThreads(__tstate
);
35290 if (PyErr_Occurred()) SWIG_fail
;
35292 resultobj
= SWIG_Py_Void();
35299 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
= 0;
35301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35302 wxTreeItemId
*arg2
= 0 ;
35303 bool arg3
= (bool) true ;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 PyObject
* obj2
= 0 ;
35313 char * kwnames
[] = {
35314 (char *) "self",(char *) "item",(char *) "highlight", NULL
35317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35319 if (!SWIG_IsOK(res1
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35324 if (!SWIG_IsOK(res2
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35330 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35332 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35333 if (!SWIG_IsOK(ecode3
)) {
35334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35336 arg3
= static_cast< bool >(val3
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_Py_Void();
35351 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 wxTreeItemId
*arg2
= 0 ;
35355 wxColour
*arg3
= 0 ;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 PyObject
* obj2
= 0 ;
35364 char * kwnames
[] = {
35365 (char *) "self",(char *) "item",(char *) "col", NULL
35368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35370 if (!SWIG_IsOK(res1
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35375 if (!SWIG_IsOK(res2
)) {
35376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35384 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35389 wxPyEndAllowThreads(__tstate
);
35390 if (PyErr_Occurred()) SWIG_fail
;
35392 resultobj
= SWIG_Py_Void();
35399 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35400 PyObject
*resultobj
= 0;
35401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35402 wxTreeItemId
*arg2
= 0 ;
35403 wxColour
*arg3
= 0 ;
35409 PyObject
* obj0
= 0 ;
35410 PyObject
* obj1
= 0 ;
35411 PyObject
* obj2
= 0 ;
35412 char * kwnames
[] = {
35413 (char *) "self",(char *) "item",(char *) "col", NULL
35416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35418 if (!SWIG_IsOK(res1
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35421 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35423 if (!SWIG_IsOK(res2
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35429 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35432 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 resultobj
= SWIG_Py_Void();
35447 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
= 0;
35449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35450 wxTreeItemId
*arg2
= 0 ;
35458 PyObject
* obj0
= 0 ;
35459 PyObject
* obj1
= 0 ;
35460 PyObject
* obj2
= 0 ;
35461 char * kwnames
[] = {
35462 (char *) "self",(char *) "item",(char *) "font", NULL
35465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35467 if (!SWIG_IsOK(res1
)) {
35468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35470 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35472 if (!SWIG_IsOK(res2
)) {
35473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35478 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35479 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35480 if (!SWIG_IsOK(res3
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35486 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35490 wxPyEndAllowThreads(__tstate
);
35491 if (PyErr_Occurred()) SWIG_fail
;
35493 resultobj
= SWIG_Py_Void();
35500 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35501 PyObject
*resultobj
= 0;
35502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35503 wxTreeItemId
*arg2
= 0 ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 char * kwnames
[] = {
35512 (char *) "self",(char *) "item", NULL
35515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35517 if (!SWIG_IsOK(res1
)) {
35518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35520 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35522 if (!SWIG_IsOK(res2
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35532 wxPyEndAllowThreads(__tstate
);
35533 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35544 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
= 0;
35546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35547 wxTreeItemId
*arg2
= 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 char * kwnames
[] = {
35556 (char *) "self",(char *) "item", NULL
35559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35561 if (!SWIG_IsOK(res1
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35564 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35566 if (!SWIG_IsOK(res2
)) {
35567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35572 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35588 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
= 0;
35590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35591 wxTreeItemId
*arg2
= 0 ;
35597 PyObject
* obj0
= 0 ;
35598 PyObject
* obj1
= 0 ;
35599 char * kwnames
[] = {
35600 (char *) "self",(char *) "item", NULL
35603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35605 if (!SWIG_IsOK(res1
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35608 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35610 if (!SWIG_IsOK(res2
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35632 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
= 0;
35634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35635 wxTreeItemId
*arg2
= 0 ;
35641 PyObject
* obj0
= 0 ;
35642 PyObject
* obj1
= 0 ;
35643 char * kwnames
[] = {
35644 (char *) "self",(char *) "item", NULL
35647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35649 if (!SWIG_IsOK(res1
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35654 if (!SWIG_IsOK(res2
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35676 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35677 PyObject
*resultobj
= 0;
35678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35679 wxTreeItemId
*arg2
= 0 ;
35685 PyObject
* obj0
= 0 ;
35686 PyObject
* obj1
= 0 ;
35687 char * kwnames
[] = {
35688 (char *) "self",(char *) "item", NULL
35691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35693 if (!SWIG_IsOK(res1
)) {
35694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35696 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35698 if (!SWIG_IsOK(res2
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35704 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35708 wxPyEndAllowThreads(__tstate
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35720 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35721 PyObject
*resultobj
= 0;
35722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35726 PyObject
*swig_obj
[1] ;
35728 if (!args
) SWIG_fail
;
35729 swig_obj
[0] = args
;
35730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35750 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
= 0;
35752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35753 wxTreeItemId
*arg2
= 0 ;
35754 bool arg3
= (bool) true ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 PyObject
* obj2
= 0 ;
35765 char * kwnames
[] = {
35766 (char *) "self",(char *) "item",(char *) "recursively", NULL
35769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35771 if (!SWIG_IsOK(res1
)) {
35772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35776 if (!SWIG_IsOK(res2
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35782 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35784 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35785 if (!SWIG_IsOK(ecode3
)) {
35786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35788 arg3
= static_cast< bool >(val3
);
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35803 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35804 PyObject
*resultobj
= 0;
35805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35806 wxTreeItemId result
;
35809 PyObject
*swig_obj
[1] ;
35811 if (!args
) SWIG_fail
;
35812 swig_obj
[0] = args
;
35813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35814 if (!SWIG_IsOK(res1
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35817 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35821 wxPyEndAllowThreads(__tstate
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35824 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35831 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35832 PyObject
*resultobj
= 0;
35833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35834 wxTreeItemId result
;
35837 PyObject
*swig_obj
[1] ;
35839 if (!args
) SWIG_fail
;
35840 swig_obj
[0] = args
;
35841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35842 if (!SWIG_IsOK(res1
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35845 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35859 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35860 PyObject
*resultobj
= 0;
35861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35862 PyObject
*result
= 0 ;
35865 PyObject
*swig_obj
[1] ;
35867 if (!args
) SWIG_fail
;
35868 swig_obj
[0] = args
;
35869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35870 if (!SWIG_IsOK(res1
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= result
;
35887 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
= 0;
35889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35890 wxTreeItemId
*arg2
= 0 ;
35891 wxTreeItemId result
;
35896 PyObject
* obj0
= 0 ;
35897 PyObject
* obj1
= 0 ;
35898 char * kwnames
[] = {
35899 (char *) "self",(char *) "item", NULL
35902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35904 if (!SWIG_IsOK(res1
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35907 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35909 if (!SWIG_IsOK(res2
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35915 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35919 wxPyEndAllowThreads(__tstate
);
35920 if (PyErr_Occurred()) SWIG_fail
;
35922 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35930 PyObject
*resultobj
= 0;
35931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35932 wxTreeItemId
*arg2
= 0 ;
35933 PyObject
*result
= 0 ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 char * kwnames
[] = {
35941 (char *) "self",(char *) "item", NULL
35944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35946 if (!SWIG_IsOK(res1
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35951 if (!SWIG_IsOK(res2
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= result
;
35971 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
= 0;
35973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35974 wxTreeItemId
*arg2
= 0 ;
35975 void *arg3
= (void *) 0 ;
35976 PyObject
*result
= 0 ;
35982 PyObject
* obj0
= 0 ;
35983 PyObject
* obj1
= 0 ;
35984 PyObject
* obj2
= 0 ;
35985 char * kwnames
[] = {
35986 (char *) "self",(char *) "item",(char *) "cookie", NULL
35989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35991 if (!SWIG_IsOK(res1
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35994 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35996 if (!SWIG_IsOK(res2
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36002 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36003 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36004 if (!SWIG_IsOK(res3
)) {
36005 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36010 wxPyEndAllowThreads(__tstate
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= result
;
36020 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36021 PyObject
*resultobj
= 0;
36022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36023 wxTreeItemId
*arg2
= 0 ;
36024 wxTreeItemId result
;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "item", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) 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_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36051 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36062 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
= 0;
36064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36065 wxTreeItemId
*arg2
= 0 ;
36066 wxTreeItemId result
;
36071 PyObject
* obj0
= 0 ;
36072 PyObject
* obj1
= 0 ;
36073 char * kwnames
[] = {
36074 (char *) "self",(char *) "item", NULL
36077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36079 if (!SWIG_IsOK(res1
)) {
36080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36082 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36084 if (!SWIG_IsOK(res2
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36104 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36105 PyObject
*resultobj
= 0;
36106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36107 wxTreeItemId
*arg2
= 0 ;
36108 wxTreeItemId result
;
36113 PyObject
* obj0
= 0 ;
36114 PyObject
* obj1
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "item", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36124 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36126 if (!SWIG_IsOK(res2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36132 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36135 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36136 wxPyEndAllowThreads(__tstate
);
36137 if (PyErr_Occurred()) SWIG_fail
;
36139 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36146 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36147 PyObject
*resultobj
= 0;
36148 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36149 wxTreeItemId result
;
36152 PyObject
*swig_obj
[1] ;
36154 if (!args
) SWIG_fail
;
36155 swig_obj
[0] = args
;
36156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36160 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36164 wxPyEndAllowThreads(__tstate
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36167 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36174 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36177 wxTreeItemId
*arg2
= 0 ;
36178 wxTreeItemId result
;
36183 PyObject
* obj0
= 0 ;
36184 PyObject
* obj1
= 0 ;
36185 char * kwnames
[] = {
36186 (char *) "self",(char *) "item", NULL
36189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36191 if (!SWIG_IsOK(res1
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36194 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36196 if (!SWIG_IsOK(res2
)) {
36197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36216 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
= 0;
36218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36219 wxTreeItemId
*arg2
= 0 ;
36220 wxTreeItemId result
;
36225 PyObject
* obj0
= 0 ;
36226 PyObject
* obj1
= 0 ;
36227 char * kwnames
[] = {
36228 (char *) "self",(char *) "item", NULL
36231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36233 if (!SWIG_IsOK(res1
)) {
36234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36236 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36238 if (!SWIG_IsOK(res2
)) {
36239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36244 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36247 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36248 wxPyEndAllowThreads(__tstate
);
36249 if (PyErr_Occurred()) SWIG_fail
;
36251 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36258 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36259 PyObject
*resultobj
= 0;
36260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36261 wxString
*arg2
= 0 ;
36262 int arg3
= (int) -1 ;
36263 int arg4
= (int) -1 ;
36264 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36265 wxTreeItemId result
;
36268 bool temp2
= false ;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 PyObject
* obj3
= 0 ;
36278 PyObject
* obj4
= 0 ;
36279 char * kwnames
[] = {
36280 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36285 if (!SWIG_IsOK(res1
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36290 arg2
= wxString_in_helper(obj1
);
36291 if (arg2
== NULL
) SWIG_fail
;
36295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36296 if (!SWIG_IsOK(ecode3
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36299 arg3
= static_cast< int >(val3
);
36302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36303 if (!SWIG_IsOK(ecode4
)) {
36304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36306 arg4
= static_cast< int >(val4
);
36309 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36310 if (!SWIG_IsOK(res5
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36320 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36335 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
= 0;
36337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36338 wxTreeItemId
*arg2
= 0 ;
36339 wxString
*arg3
= 0 ;
36340 int arg4
= (int) -1 ;
36341 int arg5
= (int) -1 ;
36342 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36343 wxTreeItemId result
;
36348 bool temp3
= false ;
36354 PyObject
* obj0
= 0 ;
36355 PyObject
* obj1
= 0 ;
36356 PyObject
* obj2
= 0 ;
36357 PyObject
* obj3
= 0 ;
36358 PyObject
* obj4
= 0 ;
36359 PyObject
* obj5
= 0 ;
36360 char * kwnames
[] = {
36361 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36371 if (!SWIG_IsOK(res2
)) {
36372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36377 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36379 arg3
= wxString_in_helper(obj2
);
36380 if (arg3
== NULL
) SWIG_fail
;
36384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36385 if (!SWIG_IsOK(ecode4
)) {
36386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36388 arg4
= static_cast< int >(val4
);
36391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36392 if (!SWIG_IsOK(ecode5
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36395 arg5
= static_cast< int >(val5
);
36398 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36399 if (!SWIG_IsOK(res6
)) {
36400 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36424 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
= 0;
36426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36427 wxTreeItemId
*arg2
= 0 ;
36428 wxTreeItemId
*arg3
= 0 ;
36429 wxString
*arg4
= 0 ;
36430 int arg5
= (int) -1 ;
36431 int arg6
= (int) -1 ;
36432 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36433 wxTreeItemId result
;
36440 bool temp4
= false ;
36446 PyObject
* obj0
= 0 ;
36447 PyObject
* obj1
= 0 ;
36448 PyObject
* obj2
= 0 ;
36449 PyObject
* obj3
= 0 ;
36450 PyObject
* obj4
= 0 ;
36451 PyObject
* obj5
= 0 ;
36452 PyObject
* obj6
= 0 ;
36453 char * kwnames
[] = {
36454 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36459 if (!SWIG_IsOK(res1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36464 if (!SWIG_IsOK(res2
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36471 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36472 if (!SWIG_IsOK(res3
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36478 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36480 arg4
= wxString_in_helper(obj3
);
36481 if (arg4
== NULL
) SWIG_fail
;
36485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36486 if (!SWIG_IsOK(ecode5
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36489 arg5
= static_cast< int >(val5
);
36492 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36493 if (!SWIG_IsOK(ecode6
)) {
36494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36496 arg6
= static_cast< int >(val6
);
36499 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36500 if (!SWIG_IsOK(res7
)) {
36501 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36506 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36525 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
= 0;
36527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36528 wxTreeItemId
*arg2
= 0 ;
36530 wxString
*arg4
= 0 ;
36531 int arg5
= (int) -1 ;
36532 int arg6
= (int) -1 ;
36533 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36534 wxTreeItemId result
;
36541 bool temp4
= false ;
36547 PyObject
* obj0
= 0 ;
36548 PyObject
* obj1
= 0 ;
36549 PyObject
* obj2
= 0 ;
36550 PyObject
* obj3
= 0 ;
36551 PyObject
* obj4
= 0 ;
36552 PyObject
* obj5
= 0 ;
36553 PyObject
* obj6
= 0 ;
36554 char * kwnames
[] = {
36555 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36560 if (!SWIG_IsOK(res1
)) {
36561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36565 if (!SWIG_IsOK(res2
)) {
36566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36571 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36572 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36573 if (!SWIG_IsOK(ecode3
)) {
36574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36576 arg3
= static_cast< size_t >(val3
);
36578 arg4
= wxString_in_helper(obj3
);
36579 if (arg4
== NULL
) SWIG_fail
;
36583 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36584 if (!SWIG_IsOK(ecode5
)) {
36585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36587 arg5
= static_cast< int >(val5
);
36590 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36591 if (!SWIG_IsOK(ecode6
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36594 arg6
= static_cast< int >(val6
);
36597 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36598 if (!SWIG_IsOK(res7
)) {
36599 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36604 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36605 wxPyEndAllowThreads(__tstate
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36608 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36623 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36624 PyObject
*resultobj
= 0;
36625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36626 wxTreeItemId
*arg2
= 0 ;
36627 wxString
*arg3
= 0 ;
36628 int arg4
= (int) -1 ;
36629 int arg5
= (int) -1 ;
36630 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36631 wxTreeItemId result
;
36636 bool temp3
= false ;
36642 PyObject
* obj0
= 0 ;
36643 PyObject
* obj1
= 0 ;
36644 PyObject
* obj2
= 0 ;
36645 PyObject
* obj3
= 0 ;
36646 PyObject
* obj4
= 0 ;
36647 PyObject
* obj5
= 0 ;
36648 char * kwnames
[] = {
36649 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36654 if (!SWIG_IsOK(res1
)) {
36655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36657 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36659 if (!SWIG_IsOK(res2
)) {
36660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36665 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36667 arg3
= wxString_in_helper(obj2
);
36668 if (arg3
== NULL
) SWIG_fail
;
36672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36673 if (!SWIG_IsOK(ecode4
)) {
36674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36676 arg4
= static_cast< int >(val4
);
36679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36680 if (!SWIG_IsOK(ecode5
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36683 arg5
= static_cast< int >(val5
);
36686 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36687 if (!SWIG_IsOK(res6
)) {
36688 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36693 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36697 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36712 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
= 0;
36714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36715 wxTreeItemId
*arg2
= 0 ;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 char * kwnames
[] = {
36723 (char *) "self",(char *) "item", NULL
36726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36728 if (!SWIG_IsOK(res1
)) {
36729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36733 if (!SWIG_IsOK(res2
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36739 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36746 resultobj
= SWIG_Py_Void();
36753 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36754 PyObject
*resultobj
= 0;
36755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36756 wxTreeItemId
*arg2
= 0 ;
36761 PyObject
* obj0
= 0 ;
36762 PyObject
* obj1
= 0 ;
36763 char * kwnames
[] = {
36764 (char *) "self",(char *) "item", NULL
36767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36769 if (!SWIG_IsOK(res1
)) {
36770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36772 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36774 if (!SWIG_IsOK(res2
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36780 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36784 wxPyEndAllowThreads(__tstate
);
36785 if (PyErr_Occurred()) SWIG_fail
;
36787 resultobj
= SWIG_Py_Void();
36794 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36795 PyObject
*resultobj
= 0;
36796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36799 PyObject
*swig_obj
[1] ;
36801 if (!args
) SWIG_fail
;
36802 swig_obj
[0] = args
;
36803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36804 if (!SWIG_IsOK(res1
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 (arg1
)->DeleteAllItems();
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= SWIG_Py_Void();
36821 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
= 0;
36823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36824 wxTreeItemId
*arg2
= 0 ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 char * kwnames
[] = {
36832 (char *) "self",(char *) "item", NULL
36835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36837 if (!SWIG_IsOK(res1
)) {
36838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36840 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36842 if (!SWIG_IsOK(res2
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36848 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
= 0;
36864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36865 wxTreeItemId
*arg2
= 0 ;
36870 PyObject
* obj0
= 0 ;
36871 PyObject
* obj1
= 0 ;
36872 char * kwnames
[] = {
36873 (char *) "self",(char *) "item", NULL
36876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36878 if (!SWIG_IsOK(res1
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36881 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36883 if (!SWIG_IsOK(res2
)) {
36884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36889 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36893 wxPyEndAllowThreads(__tstate
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36896 resultobj
= SWIG_Py_Void();
36903 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36904 PyObject
*resultobj
= 0;
36905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36908 PyObject
*swig_obj
[1] ;
36910 if (!args
) SWIG_fail
;
36911 swig_obj
[0] = args
;
36912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36913 if (!SWIG_IsOK(res1
)) {
36914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->ExpandAll();
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36933 wxTreeItemId
*arg2
= 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "item", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36951 if (!SWIG_IsOK(res2
)) {
36952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
= 0;
36973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36974 wxTreeItemId
*arg2
= 0 ;
36979 PyObject
* obj0
= 0 ;
36980 PyObject
* obj1
= 0 ;
36981 char * kwnames
[] = {
36982 (char *) "self",(char *) "item", NULL
36985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36987 if (!SWIG_IsOK(res1
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36992 if (!SWIG_IsOK(res2
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36998 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37001 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= SWIG_Py_Void();
37012 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37013 PyObject
*resultobj
= 0;
37014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37017 PyObject
*swig_obj
[1] ;
37019 if (!args
) SWIG_fail
;
37020 swig_obj
[0] = args
;
37021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37022 if (!SWIG_IsOK(res1
)) {
37023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37025 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37028 (arg1
)->CollapseAll();
37029 wxPyEndAllowThreads(__tstate
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37032 resultobj
= SWIG_Py_Void();
37039 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37040 PyObject
*resultobj
= 0;
37041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37042 wxTreeItemId
*arg2
= 0 ;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 char * kwnames
[] = {
37050 (char *) "self",(char *) "item", NULL
37053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37055 if (!SWIG_IsOK(res1
)) {
37056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37060 if (!SWIG_IsOK(res2
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37066 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_Py_Void();
37080 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
= 0;
37082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37083 wxTreeItemId
*arg2
= 0 ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 char * kwnames
[] = {
37091 (char *) "self",(char *) "item", NULL
37094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37096 if (!SWIG_IsOK(res1
)) {
37097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37099 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37101 if (!SWIG_IsOK(res2
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37107 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= SWIG_Py_Void();
37121 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37122 PyObject
*resultobj
= 0;
37123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37126 PyObject
*swig_obj
[1] ;
37128 if (!args
) SWIG_fail
;
37129 swig_obj
[0] = args
;
37130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37131 if (!SWIG_IsOK(res1
)) {
37132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37134 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->Unselect();
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= SWIG_Py_Void();
37148 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
= 0;
37150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37151 wxTreeItemId
*arg2
= 0 ;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 char * kwnames
[] = {
37159 (char *) "self",(char *) "item", NULL
37162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37164 if (!SWIG_IsOK(res1
)) {
37165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37167 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37169 if (!SWIG_IsOK(res2
)) {
37170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37175 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37179 wxPyEndAllowThreads(__tstate
);
37180 if (PyErr_Occurred()) SWIG_fail
;
37182 resultobj
= SWIG_Py_Void();
37189 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37190 PyObject
*resultobj
= 0;
37191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37194 PyObject
*swig_obj
[1] ;
37196 if (!args
) SWIG_fail
;
37197 swig_obj
[0] = args
;
37198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37199 if (!SWIG_IsOK(res1
)) {
37200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37205 (arg1
)->UnselectAll();
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37209 resultobj
= SWIG_Py_Void();
37216 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37217 PyObject
*resultobj
= 0;
37218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37219 wxTreeItemId
*arg2
= 0 ;
37220 bool arg3
= (bool) true ;
37227 PyObject
* obj0
= 0 ;
37228 PyObject
* obj1
= 0 ;
37229 PyObject
* obj2
= 0 ;
37230 char * kwnames
[] = {
37231 (char *) "self",(char *) "item",(char *) "select", NULL
37234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37241 if (!SWIG_IsOK(res2
)) {
37242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37247 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37249 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37250 if (!SWIG_IsOK(ecode3
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37253 arg3
= static_cast< bool >(val3
);
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37261 resultobj
= SWIG_Py_Void();
37268 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37269 PyObject
*resultobj
= 0;
37270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37271 wxTreeItemId
*arg2
= 0 ;
37276 PyObject
* obj0
= 0 ;
37277 PyObject
* obj1
= 0 ;
37278 char * kwnames
[] = {
37279 (char *) "self",(char *) "item", NULL
37282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37284 if (!SWIG_IsOK(res1
)) {
37285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37287 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37289 if (!SWIG_IsOK(res2
)) {
37290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37295 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37298 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37299 wxPyEndAllowThreads(__tstate
);
37300 if (PyErr_Occurred()) SWIG_fail
;
37302 resultobj
= SWIG_Py_Void();
37309 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37310 PyObject
*resultobj
= 0;
37311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37312 wxTreeItemId
*arg2
= 0 ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 char * kwnames
[] = {
37320 (char *) "self",(char *) "item", NULL
37323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37325 if (!SWIG_IsOK(res1
)) {
37326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37330 if (!SWIG_IsOK(res2
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37336 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= SWIG_Py_Void();
37350 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37351 PyObject
*resultobj
= 0;
37352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37353 wxTreeItemId
*arg2
= 0 ;
37358 PyObject
* obj0
= 0 ;
37359 PyObject
* obj1
= 0 ;
37360 char * kwnames
[] = {
37361 (char *) "self",(char *) "item", NULL
37364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37366 if (!SWIG_IsOK(res1
)) {
37367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37371 if (!SWIG_IsOK(res2
)) {
37372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37377 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37384 resultobj
= SWIG_Py_Void();
37391 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
= 0;
37393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37394 wxTreeItemId
*arg2
= 0 ;
37399 PyObject
* obj0
= 0 ;
37400 PyObject
* obj1
= 0 ;
37401 char * kwnames
[] = {
37402 (char *) "self",(char *) "item", NULL
37405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37407 if (!SWIG_IsOK(res1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37412 if (!SWIG_IsOK(res2
)) {
37413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37418 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37421 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37422 wxPyEndAllowThreads(__tstate
);
37423 if (PyErr_Occurred()) SWIG_fail
;
37425 resultobj
= SWIG_Py_Void();
37432 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37433 PyObject
*resultobj
= 0;
37434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37435 wxTextCtrl
*result
= 0 ;
37438 PyObject
*swig_obj
[1] ;
37440 if (!args
) SWIG_fail
;
37441 swig_obj
[0] = args
;
37442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37443 if (!SWIG_IsOK(res1
)) {
37444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= wxPyMake_wxObject(result
, 0);
37462 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
= 0;
37464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37465 wxTreeItemId
*arg2
= 0 ;
37470 PyObject
* obj0
= 0 ;
37471 PyObject
* obj1
= 0 ;
37472 char * kwnames
[] = {
37473 (char *) "self",(char *) "item", NULL
37476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37478 if (!SWIG_IsOK(res1
)) {
37479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37483 if (!SWIG_IsOK(res2
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_Py_Void();
37503 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
= 0;
37505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37506 wxPoint
*arg2
= 0 ;
37508 wxTreeItemId result
;
37513 int res3
= SWIG_TMPOBJ
;
37514 PyObject
* obj0
= 0 ;
37515 PyObject
* obj1
= 0 ;
37516 char * kwnames
[] = {
37517 (char *) "self",(char *) "point", NULL
37521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37523 if (!SWIG_IsOK(res1
)) {
37524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37533 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37534 wxPyEndAllowThreads(__tstate
);
37535 if (PyErr_Occurred()) SWIG_fail
;
37537 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37538 if (SWIG_IsTmpObj(res3
)) {
37539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37541 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37550 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
= 0;
37552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37553 wxTreeItemId
*arg2
= 0 ;
37554 bool arg3
= (bool) false ;
37555 PyObject
*result
= 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 PyObject
* obj2
= 0 ;
37565 char * kwnames
[] = {
37566 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37571 if (!SWIG_IsOK(res1
)) {
37572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37576 if (!SWIG_IsOK(res2
)) {
37577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37584 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37585 if (!SWIG_IsOK(ecode3
)) {
37586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37588 arg3
= static_cast< bool >(val3
);
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= result
;
37603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37604 PyObject
*resultobj
= 0;
37605 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37606 SwigValueWrapper
<wxVisualAttributes
> result
;
37609 PyObject
* obj0
= 0 ;
37610 char * kwnames
[] = {
37611 (char *) "variant", NULL
37614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37617 if (!SWIG_IsOK(ecode1
)) {
37618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37620 arg1
= static_cast< wxWindowVariant
>(val1
);
37623 if (!wxPyCheckForApp()) SWIG_fail
;
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37629 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37636 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
= 0;
37638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 char * kwnames
[] = {
37647 (char *) "self",(char *) "q", NULL
37650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37652 if (!SWIG_IsOK(res1
)) {
37653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37657 if (!SWIG_IsOK(ecode2
)) {
37658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37660 arg2
= static_cast< bool >(val2
);
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 (arg1
)->SetQuickBestSize(arg2
);
37664 wxPyEndAllowThreads(__tstate
);
37665 if (PyErr_Occurred()) SWIG_fail
;
37667 resultobj
= SWIG_Py_Void();
37674 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37675 PyObject
*resultobj
= 0;
37676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37680 PyObject
*swig_obj
[1] ;
37682 if (!args
) SWIG_fail
;
37683 swig_obj
[0] = args
;
37684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37685 if (!SWIG_IsOK(res1
)) {
37686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37704 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37708 return SWIG_Py_Void();
37711 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37712 return SWIG_Python_InitShadowInstance(args
);
37715 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37716 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37721 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37722 PyObject
*pyobj
= 0;
37726 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37728 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37735 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
= 0;
37737 wxWindow
*arg1
= (wxWindow
*) 0 ;
37738 int arg2
= (int) (int)-1 ;
37739 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37745 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37746 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37748 int arg8
= (int) 0 ;
37749 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37750 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37751 wxGenericDirCtrl
*result
= 0 ;
37756 bool temp3
= false ;
37761 bool temp7
= false ;
37764 bool temp9
= false ;
37765 PyObject
* obj0
= 0 ;
37766 PyObject
* obj1
= 0 ;
37767 PyObject
* obj2
= 0 ;
37768 PyObject
* obj3
= 0 ;
37769 PyObject
* obj4
= 0 ;
37770 PyObject
* obj5
= 0 ;
37771 PyObject
* obj6
= 0 ;
37772 PyObject
* obj7
= 0 ;
37773 PyObject
* obj8
= 0 ;
37774 char * kwnames
[] = {
37775 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37780 if (!SWIG_IsOK(res1
)) {
37781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37786 if (!SWIG_IsOK(ecode2
)) {
37787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37789 arg2
= static_cast< int >(val2
);
37793 arg3
= wxString_in_helper(obj2
);
37794 if (arg3
== NULL
) SWIG_fail
;
37801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37811 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37812 if (!SWIG_IsOK(ecode6
)) {
37813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37815 arg6
= static_cast< long >(val6
);
37819 arg7
= wxString_in_helper(obj6
);
37820 if (arg7
== NULL
) SWIG_fail
;
37825 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37826 if (!SWIG_IsOK(ecode8
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37829 arg8
= static_cast< int >(val8
);
37833 arg9
= wxString_in_helper(obj8
);
37834 if (arg9
== NULL
) SWIG_fail
;
37839 if (!wxPyCheckForApp()) SWIG_fail
;
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37841 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37876 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37877 PyObject
*resultobj
= 0;
37878 wxGenericDirCtrl
*result
= 0 ;
37880 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37882 if (!wxPyCheckForApp()) SWIG_fail
;
37883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37884 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37885 wxPyEndAllowThreads(__tstate
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37895 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37896 PyObject
*resultobj
= 0;
37897 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37898 wxWindow
*arg2
= (wxWindow
*) 0 ;
37899 int arg3
= (int) (int)-1 ;
37900 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37901 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37902 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37903 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37904 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37905 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37906 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37907 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37908 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37909 int arg9
= (int) 0 ;
37910 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37911 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37919 bool temp4
= false ;
37924 bool temp8
= false ;
37927 bool temp10
= false ;
37928 PyObject
* obj0
= 0 ;
37929 PyObject
* obj1
= 0 ;
37930 PyObject
* obj2
= 0 ;
37931 PyObject
* obj3
= 0 ;
37932 PyObject
* obj4
= 0 ;
37933 PyObject
* obj5
= 0 ;
37934 PyObject
* obj6
= 0 ;
37935 PyObject
* obj7
= 0 ;
37936 PyObject
* obj8
= 0 ;
37937 PyObject
* obj9
= 0 ;
37938 char * kwnames
[] = {
37939 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37944 if (!SWIG_IsOK(res1
)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37947 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37949 if (!SWIG_IsOK(res2
)) {
37950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37955 if (!SWIG_IsOK(ecode3
)) {
37956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37958 arg3
= static_cast< int >(val3
);
37962 arg4
= wxString_in_helper(obj3
);
37963 if (arg4
== NULL
) SWIG_fail
;
37970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37976 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37980 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37981 if (!SWIG_IsOK(ecode7
)) {
37982 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37984 arg7
= static_cast< long >(val7
);
37988 arg8
= wxString_in_helper(obj7
);
37989 if (arg8
== NULL
) SWIG_fail
;
37994 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37995 if (!SWIG_IsOK(ecode9
)) {
37996 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37998 arg9
= static_cast< int >(val9
);
38002 arg10
= wxString_in_helper(obj9
);
38003 if (arg10
== NULL
) SWIG_fail
;
38008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38010 wxPyEndAllowThreads(__tstate
);
38011 if (PyErr_Occurred()) SWIG_fail
;
38014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38046 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
= 0;
38048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38049 wxString
*arg2
= 0 ;
38053 bool temp2
= false ;
38054 PyObject
* obj0
= 0 ;
38055 PyObject
* obj1
= 0 ;
38056 char * kwnames
[] = {
38057 (char *) "self",(char *) "path", NULL
38060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38062 if (!SWIG_IsOK(res1
)) {
38063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38065 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38067 arg2
= wxString_in_helper(obj1
);
38068 if (arg2
== NULL
) SWIG_fail
;
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38094 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
= 0;
38096 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38097 wxString
*arg2
= 0 ;
38101 bool temp2
= false ;
38102 PyObject
* obj0
= 0 ;
38103 PyObject
* obj1
= 0 ;
38104 char * kwnames
[] = {
38105 (char *) "self",(char *) "path", NULL
38108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38110 if (!SWIG_IsOK(res1
)) {
38111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38113 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38115 arg2
= wxString_in_helper(obj1
);
38116 if (arg2
== NULL
) SWIG_fail
;
38120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38121 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38142 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38143 PyObject
*resultobj
= 0;
38144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38148 PyObject
*swig_obj
[1] ;
38150 if (!args
) SWIG_fail
;
38151 swig_obj
[0] = args
;
38152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38153 if (!SWIG_IsOK(res1
)) {
38154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38156 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38176 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38177 PyObject
*resultobj
= 0;
38178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38179 wxString
*arg2
= 0 ;
38182 bool temp2
= false ;
38183 PyObject
* obj0
= 0 ;
38184 PyObject
* obj1
= 0 ;
38185 char * kwnames
[] = {
38186 (char *) "self",(char *) "path", NULL
38189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38191 if (!SWIG_IsOK(res1
)) {
38192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38194 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38196 arg2
= wxString_in_helper(obj1
);
38197 if (arg2
== NULL
) SWIG_fail
;
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38206 resultobj
= SWIG_Py_Void();
38221 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38222 PyObject
*resultobj
= 0;
38223 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38227 PyObject
*swig_obj
[1] ;
38229 if (!args
) SWIG_fail
;
38230 swig_obj
[0] = args
;
38231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38232 if (!SWIG_IsOK(res1
)) {
38233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38235 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38239 wxPyEndAllowThreads(__tstate
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38255 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38256 PyObject
*resultobj
= 0;
38257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38261 PyObject
*swig_obj
[1] ;
38263 if (!args
) SWIG_fail
;
38264 swig_obj
[0] = args
;
38265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38266 if (!SWIG_IsOK(res1
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38269 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38272 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38273 wxPyEndAllowThreads(__tstate
);
38274 if (PyErr_Occurred()) SWIG_fail
;
38278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38289 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38290 PyObject
*resultobj
= 0;
38291 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38292 wxString
*arg2
= 0 ;
38295 bool temp2
= false ;
38296 PyObject
* obj0
= 0 ;
38297 PyObject
* obj1
= 0 ;
38298 char * kwnames
[] = {
38299 (char *) "self",(char *) "path", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38307 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38309 arg2
= wxString_in_helper(obj1
);
38310 if (arg2
== NULL
) SWIG_fail
;
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 (arg1
)->SetPath((wxString
const &)*arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= SWIG_Py_Void();
38334 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38335 PyObject
*resultobj
= 0;
38336 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38342 PyObject
* obj0
= 0 ;
38343 PyObject
* obj1
= 0 ;
38344 char * kwnames
[] = {
38345 (char *) "self",(char *) "show", NULL
38348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",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_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38353 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38354 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38355 if (!SWIG_IsOK(ecode2
)) {
38356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38358 arg2
= static_cast< bool >(val2
);
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 (arg1
)->ShowHidden(arg2
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 resultobj
= SWIG_Py_Void();
38372 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38373 PyObject
*resultobj
= 0;
38374 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38378 PyObject
*swig_obj
[1] ;
38380 if (!args
) SWIG_fail
;
38381 swig_obj
[0] = args
;
38382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38383 if (!SWIG_IsOK(res1
)) {
38384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38386 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 result
= (bool)(arg1
)->GetShowHidden();
38390 wxPyEndAllowThreads(__tstate
);
38391 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38402 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 PyObject
*resultobj
= 0;
38404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38408 PyObject
*swig_obj
[1] ;
38410 if (!args
) SWIG_fail
;
38411 swig_obj
[0] = args
;
38412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38413 if (!SWIG_IsOK(res1
)) {
38414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38416 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38420 wxPyEndAllowThreads(__tstate
);
38421 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38436 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
= 0;
38438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38439 wxString
*arg2
= 0 ;
38442 bool temp2
= false ;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 char * kwnames
[] = {
38446 (char *) "self",(char *) "filter", NULL
38449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38451 if (!SWIG_IsOK(res1
)) {
38452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38454 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38456 arg2
= wxString_in_helper(obj1
);
38457 if (arg2
== NULL
) SWIG_fail
;
38461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38462 (arg1
)->SetFilter((wxString
const &)*arg2
);
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38466 resultobj
= SWIG_Py_Void();
38481 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38482 PyObject
*resultobj
= 0;
38483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38487 PyObject
*swig_obj
[1] ;
38489 if (!args
) SWIG_fail
;
38490 swig_obj
[0] = args
;
38491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38492 if (!SWIG_IsOK(res1
)) {
38493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38495 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38502 resultobj
= SWIG_From_int(static_cast< int >(result
));
38509 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
= 0;
38511 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38517 PyObject
* obj0
= 0 ;
38518 PyObject
* obj1
= 0 ;
38519 char * kwnames
[] = {
38520 (char *) "self",(char *) "n", NULL
38523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38525 if (!SWIG_IsOK(res1
)) {
38526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38528 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38530 if (!SWIG_IsOK(ecode2
)) {
38531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38533 arg2
= static_cast< int >(val2
);
38535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38536 (arg1
)->SetFilterIndex(arg2
);
38537 wxPyEndAllowThreads(__tstate
);
38538 if (PyErr_Occurred()) SWIG_fail
;
38540 resultobj
= SWIG_Py_Void();
38547 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38548 PyObject
*resultobj
= 0;
38549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38550 wxTreeItemId result
;
38553 PyObject
*swig_obj
[1] ;
38555 if (!args
) SWIG_fail
;
38556 swig_obj
[0] = args
;
38557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38558 if (!SWIG_IsOK(res1
)) {
38559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38561 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 result
= (arg1
)->GetRootId();
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38575 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38576 PyObject
*resultobj
= 0;
38577 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38578 wxPyTreeCtrl
*result
= 0 ;
38581 PyObject
*swig_obj
[1] ;
38583 if (!args
) SWIG_fail
;
38584 swig_obj
[0] = args
;
38585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38586 if (!SWIG_IsOK(res1
)) {
38587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38589 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38593 wxPyEndAllowThreads(__tstate
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= wxPyMake_wxObject(result
, 0);
38605 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38606 PyObject
*resultobj
= 0;
38607 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38608 wxDirFilterListCtrl
*result
= 0 ;
38611 PyObject
*swig_obj
[1] ;
38613 if (!args
) SWIG_fail
;
38614 swig_obj
[0] = args
;
38615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38616 if (!SWIG_IsOK(res1
)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38619 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38622 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38633 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38636 wxTreeItemId arg2
;
38637 wxString
*arg3
= 0 ;
38639 wxTreeItemId result
;
38644 bool temp3
= false ;
38646 int res4
= SWIG_TMPOBJ
;
38647 PyObject
* obj0
= 0 ;
38648 PyObject
* obj1
= 0 ;
38649 PyObject
* obj2
= 0 ;
38650 char * kwnames
[] = {
38651 (char *) "self",(char *) "parentId",(char *) "path", NULL
38655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38660 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38663 if (!SWIG_IsOK(res2
)) {
38664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38669 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38671 if (SWIG_IsNewObj(res2
)) delete temp
;
38675 arg3
= wxString_in_helper(obj2
);
38676 if (arg3
== NULL
) SWIG_fail
;
38680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38681 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38682 wxPyEndAllowThreads(__tstate
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38685 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38686 if (SWIG_IsTmpObj(res4
)) {
38687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38689 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38706 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38707 PyObject
*resultobj
= 0;
38708 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38711 PyObject
*swig_obj
[1] ;
38713 if (!args
) SWIG_fail
;
38714 swig_obj
[0] = args
;
38715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38716 if (!SWIG_IsOK(res1
)) {
38717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38719 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 (arg1
)->DoResize();
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= SWIG_Py_Void();
38733 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 PyObject
*resultobj
= 0;
38735 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38738 PyObject
*swig_obj
[1] ;
38740 if (!args
) SWIG_fail
;
38741 swig_obj
[0] = args
;
38742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38743 if (!SWIG_IsOK(res1
)) {
38744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38746 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38749 (arg1
)->ReCreateTree();
38750 wxPyEndAllowThreads(__tstate
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38753 resultobj
= SWIG_Py_Void();
38760 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38763 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38764 return SWIG_Py_Void();
38767 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38768 return SWIG_Python_InitShadowInstance(args
);
38771 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38772 PyObject
*resultobj
= 0;
38773 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38774 int arg2
= (int) (int)-1 ;
38775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38779 long arg5
= (long) 0 ;
38780 wxDirFilterListCtrl
*result
= 0 ;
38789 PyObject
* obj0
= 0 ;
38790 PyObject
* obj1
= 0 ;
38791 PyObject
* obj2
= 0 ;
38792 PyObject
* obj3
= 0 ;
38793 PyObject
* obj4
= 0 ;
38794 char * kwnames
[] = {
38795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38800 if (!SWIG_IsOK(res1
)) {
38801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38803 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38806 if (!SWIG_IsOK(ecode2
)) {
38807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38809 arg2
= static_cast< int >(val2
);
38814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38824 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38825 if (!SWIG_IsOK(ecode5
)) {
38826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38828 arg5
= static_cast< long >(val5
);
38831 if (!wxPyCheckForApp()) SWIG_fail
;
38832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38833 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38834 wxPyEndAllowThreads(__tstate
);
38835 if (PyErr_Occurred()) SWIG_fail
;
38837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38844 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38845 PyObject
*resultobj
= 0;
38846 wxDirFilterListCtrl
*result
= 0 ;
38848 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38850 if (!wxPyCheckForApp()) SWIG_fail
;
38851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38853 wxPyEndAllowThreads(__tstate
);
38854 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38863 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38864 PyObject
*resultobj
= 0;
38865 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38866 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38867 int arg3
= (int) (int)-1 ;
38868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38872 long arg6
= (long) 0 ;
38884 PyObject
* obj0
= 0 ;
38885 PyObject
* obj1
= 0 ;
38886 PyObject
* obj2
= 0 ;
38887 PyObject
* obj3
= 0 ;
38888 PyObject
* obj4
= 0 ;
38889 PyObject
* obj5
= 0 ;
38890 char * kwnames
[] = {
38891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38896 if (!SWIG_IsOK(res1
)) {
38897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38899 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38901 if (!SWIG_IsOK(res2
)) {
38902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38904 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38907 if (!SWIG_IsOK(ecode3
)) {
38908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38910 arg3
= static_cast< int >(val3
);
38915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38926 if (!SWIG_IsOK(ecode6
)) {
38927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38929 arg6
= static_cast< long >(val6
);
38932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38934 wxPyEndAllowThreads(__tstate
);
38935 if (PyErr_Occurred()) SWIG_fail
;
38938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38946 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38947 PyObject
*resultobj
= 0;
38948 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38949 wxString
*arg2
= 0 ;
38953 bool temp2
= false ;
38956 PyObject
* obj0
= 0 ;
38957 PyObject
* obj1
= 0 ;
38958 PyObject
* obj2
= 0 ;
38959 char * kwnames
[] = {
38960 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38965 if (!SWIG_IsOK(res1
)) {
38966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38968 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38970 arg2
= wxString_in_helper(obj1
);
38971 if (arg2
== NULL
) SWIG_fail
;
38974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38975 if (!SWIG_IsOK(ecode3
)) {
38976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38978 arg3
= static_cast< int >(val3
);
38980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38981 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38982 wxPyEndAllowThreads(__tstate
);
38983 if (PyErr_Occurred()) SWIG_fail
;
38985 resultobj
= SWIG_Py_Void();
39000 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39003 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39004 return SWIG_Py_Void();
39007 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39008 return SWIG_Python_InitShadowInstance(args
);
39011 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39012 PyObject
*resultobj
= 0;
39013 wxWindow
*arg1
= (wxWindow
*) 0 ;
39014 int arg2
= (int) (int)-1 ;
39015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39019 long arg5
= (long) 0 ;
39020 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39021 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39022 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39023 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39024 wxPyControl
*result
= 0 ;
39035 bool temp7
= false ;
39036 PyObject
* obj0
= 0 ;
39037 PyObject
* obj1
= 0 ;
39038 PyObject
* obj2
= 0 ;
39039 PyObject
* obj3
= 0 ;
39040 PyObject
* obj4
= 0 ;
39041 PyObject
* obj5
= 0 ;
39042 PyObject
* obj6
= 0 ;
39043 char * kwnames
[] = {
39044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39049 if (!SWIG_IsOK(res1
)) {
39050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39055 if (!SWIG_IsOK(ecode2
)) {
39056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39058 arg2
= static_cast< int >(val2
);
39063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39073 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39074 if (!SWIG_IsOK(ecode5
)) {
39075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39077 arg5
= static_cast< long >(val5
);
39080 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39081 if (!SWIG_IsOK(res6
)) {
39082 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39087 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39091 arg7
= wxString_in_helper(obj6
);
39092 if (arg7
== NULL
) SWIG_fail
;
39097 if (!wxPyCheckForApp()) SWIG_fail
;
39098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39099 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39118 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39119 PyObject
*resultobj
= 0;
39120 wxPyControl
*result
= 0 ;
39122 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39124 if (!wxPyCheckForApp()) SWIG_fail
;
39125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39126 result
= (wxPyControl
*)new wxPyControl();
39127 wxPyEndAllowThreads(__tstate
);
39128 if (PyErr_Occurred()) SWIG_fail
;
39130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39137 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39138 PyObject
*resultobj
= 0;
39139 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39140 PyObject
*arg2
= (PyObject
*) 0 ;
39141 PyObject
*arg3
= (PyObject
*) 0 ;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39146 PyObject
* obj2
= 0 ;
39147 char * kwnames
[] = {
39148 (char *) "self",(char *) "self",(char *) "_class", NULL
39151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39153 if (!SWIG_IsOK(res1
)) {
39154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39156 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39162 wxPyEndAllowThreads(__tstate
);
39163 if (PyErr_Occurred()) SWIG_fail
;
39165 resultobj
= SWIG_Py_Void();
39172 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39173 PyObject
*resultobj
= 0;
39174 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39175 wxDC
*arg2
= (wxDC
*) 0 ;
39181 PyObject
* obj0
= 0 ;
39182 PyObject
* obj1
= 0 ;
39183 char * kwnames
[] = {
39184 (char *) "self",(char *) "dc", NULL
39187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39189 if (!SWIG_IsOK(res1
)) {
39190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39192 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39194 if (!SWIG_IsOK(res2
)) {
39195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39197 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39200 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39213 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
= 0;
39215 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39230 PyObject
* obj0
= 0 ;
39231 PyObject
* obj1
= 0 ;
39232 PyObject
* obj2
= 0 ;
39233 PyObject
* obj3
= 0 ;
39234 PyObject
* obj4
= 0 ;
39235 char * kwnames
[] = {
39236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39241 if (!SWIG_IsOK(res1
)) {
39242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39244 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39246 if (!SWIG_IsOK(ecode2
)) {
39247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39249 arg2
= static_cast< int >(val2
);
39250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39251 if (!SWIG_IsOK(ecode3
)) {
39252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39254 arg3
= static_cast< int >(val3
);
39255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39256 if (!SWIG_IsOK(ecode4
)) {
39257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39259 arg4
= static_cast< int >(val4
);
39260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39261 if (!SWIG_IsOK(ecode5
)) {
39262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39264 arg5
= static_cast< int >(val5
);
39266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39267 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39268 wxPyEndAllowThreads(__tstate
);
39269 if (PyErr_Occurred()) SWIG_fail
;
39271 resultobj
= SWIG_Py_Void();
39278 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39279 PyObject
*resultobj
= 0;
39280 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39285 int arg6
= (int) wxSIZE_AUTO
;
39298 PyObject
* obj0
= 0 ;
39299 PyObject
* obj1
= 0 ;
39300 PyObject
* obj2
= 0 ;
39301 PyObject
* obj3
= 0 ;
39302 PyObject
* obj4
= 0 ;
39303 PyObject
* obj5
= 0 ;
39304 char * kwnames
[] = {
39305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39310 if (!SWIG_IsOK(res1
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39313 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39315 if (!SWIG_IsOK(ecode2
)) {
39316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39318 arg2
= static_cast< int >(val2
);
39319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39320 if (!SWIG_IsOK(ecode3
)) {
39321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39323 arg3
= static_cast< int >(val3
);
39324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39325 if (!SWIG_IsOK(ecode4
)) {
39326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39328 arg4
= static_cast< int >(val4
);
39329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39330 if (!SWIG_IsOK(ecode5
)) {
39331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39333 arg5
= static_cast< int >(val5
);
39335 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39336 if (!SWIG_IsOK(ecode6
)) {
39337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39339 arg6
= static_cast< int >(val6
);
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 resultobj
= SWIG_Py_Void();
39354 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
= 0;
39356 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39365 PyObject
* obj0
= 0 ;
39366 PyObject
* obj1
= 0 ;
39367 PyObject
* obj2
= 0 ;
39368 char * kwnames
[] = {
39369 (char *) "self",(char *) "width",(char *) "height", NULL
39372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39374 if (!SWIG_IsOK(res1
)) {
39375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39377 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39379 if (!SWIG_IsOK(ecode2
)) {
39380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39382 arg2
= static_cast< int >(val2
);
39383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39384 if (!SWIG_IsOK(ecode3
)) {
39385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39387 arg3
= static_cast< int >(val3
);
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 (arg1
)->DoSetClientSize(arg2
,arg3
);
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 resultobj
= SWIG_Py_Void();
39401 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
= 0;
39403 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39412 PyObject
* obj0
= 0 ;
39413 PyObject
* obj1
= 0 ;
39414 PyObject
* obj2
= 0 ;
39415 char * kwnames
[] = {
39416 (char *) "self",(char *) "x",(char *) "y", NULL
39419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39421 if (!SWIG_IsOK(res1
)) {
39422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39424 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39426 if (!SWIG_IsOK(ecode2
)) {
39427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39429 arg2
= static_cast< int >(val2
);
39430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39431 if (!SWIG_IsOK(ecode3
)) {
39432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39434 arg3
= static_cast< int >(val3
);
39436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39437 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 resultobj
= SWIG_Py_Void();
39448 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39449 PyObject
*resultobj
= 0;
39450 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39451 int *arg2
= (int *) 0 ;
39452 int *arg3
= (int *) 0 ;
39456 int res2
= SWIG_TMPOBJ
;
39458 int res3
= SWIG_TMPOBJ
;
39459 PyObject
*swig_obj
[1] ;
39463 if (!args
) SWIG_fail
;
39464 swig_obj
[0] = args
;
39465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39466 if (!SWIG_IsOK(res1
)) {
39467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39469 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39473 wxPyEndAllowThreads(__tstate
);
39474 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= SWIG_Py_Void();
39477 if (SWIG_IsTmpObj(res2
)) {
39478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39480 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39483 if (SWIG_IsTmpObj(res3
)) {
39484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39486 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39495 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39496 PyObject
*resultobj
= 0;
39497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39498 int *arg2
= (int *) 0 ;
39499 int *arg3
= (int *) 0 ;
39503 int res2
= SWIG_TMPOBJ
;
39505 int res3
= SWIG_TMPOBJ
;
39506 PyObject
*swig_obj
[1] ;
39510 if (!args
) SWIG_fail
;
39511 swig_obj
[0] = args
;
39512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39513 if (!SWIG_IsOK(res1
)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39516 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39519 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= SWIG_Py_Void();
39524 if (SWIG_IsTmpObj(res2
)) {
39525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39527 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39530 if (SWIG_IsTmpObj(res3
)) {
39531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39542 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39543 PyObject
*resultobj
= 0;
39544 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39545 int *arg2
= (int *) 0 ;
39546 int *arg3
= (int *) 0 ;
39550 int res2
= SWIG_TMPOBJ
;
39552 int res3
= SWIG_TMPOBJ
;
39553 PyObject
*swig_obj
[1] ;
39557 if (!args
) SWIG_fail
;
39558 swig_obj
[0] = args
;
39559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39560 if (!SWIG_IsOK(res1
)) {
39561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39563 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39566 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39567 wxPyEndAllowThreads(__tstate
);
39568 if (PyErr_Occurred()) SWIG_fail
;
39570 resultobj
= SWIG_Py_Void();
39571 if (SWIG_IsTmpObj(res2
)) {
39572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39574 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39577 if (SWIG_IsTmpObj(res3
)) {
39578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39589 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39590 PyObject
*resultobj
= 0;
39591 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39595 PyObject
*swig_obj
[1] ;
39597 if (!args
) SWIG_fail
;
39598 swig_obj
[0] = args
;
39599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39600 if (!SWIG_IsOK(res1
)) {
39601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39603 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39606 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39607 wxPyEndAllowThreads(__tstate
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39617 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39618 PyObject
*resultobj
= 0;
39619 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39623 PyObject
*swig_obj
[1] ;
39625 if (!args
) SWIG_fail
;
39626 swig_obj
[0] = args
;
39627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39628 if (!SWIG_IsOK(res1
)) {
39629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39631 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39634 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39635 wxPyEndAllowThreads(__tstate
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39638 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39645 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39646 PyObject
*resultobj
= 0;
39647 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39648 SwigValueWrapper
<wxVisualAttributes
> result
;
39651 PyObject
*swig_obj
[1] ;
39653 if (!args
) SWIG_fail
;
39654 swig_obj
[0] = args
;
39655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39656 if (!SWIG_IsOK(res1
)) {
39657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39659 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 result
= (arg1
)->GetDefaultAttributes();
39663 wxPyEndAllowThreads(__tstate
);
39664 if (PyErr_Occurred()) SWIG_fail
;
39666 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39673 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39674 PyObject
*resultobj
= 0;
39675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39678 PyObject
*swig_obj
[1] ;
39680 if (!args
) SWIG_fail
;
39681 swig_obj
[0] = args
;
39682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39683 if (!SWIG_IsOK(res1
)) {
39684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39686 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39689 (arg1
)->OnInternalIdle();
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= SWIG_Py_Void();
39700 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39703 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39704 return SWIG_Py_Void();
39707 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39708 return SWIG_Python_InitShadowInstance(args
);
39711 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
= 0;
39713 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39714 int arg2
= (int) 0 ;
39715 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39716 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39717 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39718 wxHelpEvent
*result
= 0 ;
39726 PyObject
* obj0
= 0 ;
39727 PyObject
* obj1
= 0 ;
39728 PyObject
* obj2
= 0 ;
39729 PyObject
* obj3
= 0 ;
39730 char * kwnames
[] = {
39731 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39737 if (!SWIG_IsOK(ecode1
)) {
39738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39740 arg1
= static_cast< wxEventType
>(val1
);
39743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39744 if (!SWIG_IsOK(ecode2
)) {
39745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39747 arg2
= static_cast< int >(val2
);
39752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39757 if (!SWIG_IsOK(ecode4
)) {
39758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39760 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39765 wxPyEndAllowThreads(__tstate
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39775 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39776 PyObject
*resultobj
= 0;
39777 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39781 PyObject
*swig_obj
[1] ;
39783 if (!args
) SWIG_fail
;
39784 swig_obj
[0] = args
;
39785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39786 if (!SWIG_IsOK(res1
)) {
39787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39789 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39792 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39803 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
= 0;
39805 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39806 wxPoint
*arg2
= 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 char * kwnames
[] = {
39813 (char *) "self",(char *) "pos", NULL
39816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39818 if (!SWIG_IsOK(res1
)) {
39819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39821 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39829 wxPyEndAllowThreads(__tstate
);
39830 if (PyErr_Occurred()) SWIG_fail
;
39832 resultobj
= SWIG_Py_Void();
39839 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39840 PyObject
*resultobj
= 0;
39841 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39842 wxString
*result
= 0 ;
39845 PyObject
*swig_obj
[1] ;
39847 if (!args
) SWIG_fail
;
39848 swig_obj
[0] = args
;
39849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39850 if (!SWIG_IsOK(res1
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39853 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39858 result
= (wxString
*) &_result_ref
;
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39876 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39877 PyObject
*resultobj
= 0;
39878 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39879 wxString
*arg2
= 0 ;
39882 bool temp2
= false ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char * kwnames
[] = {
39886 (char *) "self",(char *) "link", NULL
39889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39894 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39896 arg2
= wxString_in_helper(obj1
);
39897 if (arg2
== NULL
) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 (arg1
)->SetLink((wxString
const &)*arg2
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= SWIG_Py_Void();
39921 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39922 PyObject
*resultobj
= 0;
39923 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39924 wxString
*result
= 0 ;
39927 PyObject
*swig_obj
[1] ;
39929 if (!args
) SWIG_fail
;
39930 swig_obj
[0] = args
;
39931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39932 if (!SWIG_IsOK(res1
)) {
39933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39935 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39939 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39940 result
= (wxString
*) &_result_ref
;
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39947 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39949 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39958 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
= 0;
39960 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39961 wxString
*arg2
= 0 ;
39964 bool temp2
= false ;
39965 PyObject
* obj0
= 0 ;
39966 PyObject
* obj1
= 0 ;
39967 char * kwnames
[] = {
39968 (char *) "self",(char *) "target", NULL
39971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39973 if (!SWIG_IsOK(res1
)) {
39974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39976 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39978 arg2
= wxString_in_helper(obj1
);
39979 if (arg2
== NULL
) SWIG_fail
;
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 (arg1
)->SetTarget((wxString
const &)*arg2
);
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39988 resultobj
= SWIG_Py_Void();
40003 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40004 PyObject
*resultobj
= 0;
40005 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40006 wxHelpEvent::Origin result
;
40009 PyObject
*swig_obj
[1] ;
40011 if (!args
) SWIG_fail
;
40012 swig_obj
[0] = args
;
40013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40014 if (!SWIG_IsOK(res1
)) {
40015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40017 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40021 wxPyEndAllowThreads(__tstate
);
40022 if (PyErr_Occurred()) SWIG_fail
;
40024 resultobj
= SWIG_From_int(static_cast< int >(result
));
40031 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40032 PyObject
*resultobj
= 0;
40033 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40034 wxHelpEvent::Origin arg2
;
40039 PyObject
* obj0
= 0 ;
40040 PyObject
* obj1
= 0 ;
40041 char * kwnames
[] = {
40042 (char *) "self",(char *) "origin", NULL
40045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40047 if (!SWIG_IsOK(res1
)) {
40048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40050 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40052 if (!SWIG_IsOK(ecode2
)) {
40053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40055 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 (arg1
)->SetOrigin(arg2
);
40059 wxPyEndAllowThreads(__tstate
);
40060 if (PyErr_Occurred()) SWIG_fail
;
40062 resultobj
= SWIG_Py_Void();
40069 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40072 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40073 return SWIG_Py_Void();
40076 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40077 return SWIG_Python_InitShadowInstance(args
);
40080 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
= 0;
40082 wxWindow
*arg1
= (wxWindow
*) NULL
;
40083 bool arg2
= (bool) true ;
40084 wxContextHelp
*result
= 0 ;
40089 PyObject
* obj0
= 0 ;
40090 PyObject
* obj1
= 0 ;
40091 char * kwnames
[] = {
40092 (char *) "window",(char *) "doNow", NULL
40095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40098 if (!SWIG_IsOK(res1
)) {
40099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40104 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40105 if (!SWIG_IsOK(ecode2
)) {
40106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40108 arg2
= static_cast< bool >(val2
);
40111 if (!wxPyCheckForApp()) SWIG_fail
;
40112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40113 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40124 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40125 PyObject
*resultobj
= 0;
40126 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40129 PyObject
*swig_obj
[1] ;
40131 if (!args
) SWIG_fail
;
40132 swig_obj
[0] = args
;
40133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40134 if (!SWIG_IsOK(res1
)) {
40135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40137 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 wxPyEndAllowThreads(__tstate
);
40143 if (PyErr_Occurred()) SWIG_fail
;
40145 resultobj
= SWIG_Py_Void();
40152 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40153 PyObject
*resultobj
= 0;
40154 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40155 wxWindow
*arg2
= (wxWindow
*) NULL
;
40161 PyObject
* obj0
= 0 ;
40162 PyObject
* obj1
= 0 ;
40163 char * kwnames
[] = {
40164 (char *) "self",(char *) "window", NULL
40167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40169 if (!SWIG_IsOK(res1
)) {
40170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40172 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40175 if (!SWIG_IsOK(res2
)) {
40176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40182 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40183 wxPyEndAllowThreads(__tstate
);
40184 if (PyErr_Occurred()) SWIG_fail
;
40187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40195 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40196 PyObject
*resultobj
= 0;
40197 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40201 PyObject
*swig_obj
[1] ;
40203 if (!args
) SWIG_fail
;
40204 swig_obj
[0] = args
;
40205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40206 if (!SWIG_IsOK(res1
)) {
40207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40209 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40212 result
= (bool)(arg1
)->EndContextHelp();
40213 wxPyEndAllowThreads(__tstate
);
40214 if (PyErr_Occurred()) SWIG_fail
;
40217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40225 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40228 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40229 return SWIG_Py_Void();
40232 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40233 return SWIG_Python_InitShadowInstance(args
);
40236 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
= 0;
40238 wxWindow
*arg1
= (wxWindow
*) 0 ;
40239 int arg2
= (int) wxID_CONTEXT_HELP
;
40240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40242 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40243 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40244 long arg5
= (long) wxBU_AUTODRAW
;
40245 wxContextHelpButton
*result
= 0 ;
40254 PyObject
* obj0
= 0 ;
40255 PyObject
* obj1
= 0 ;
40256 PyObject
* obj2
= 0 ;
40257 PyObject
* obj3
= 0 ;
40258 PyObject
* obj4
= 0 ;
40259 char * kwnames
[] = {
40260 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40265 if (!SWIG_IsOK(res1
)) {
40266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40271 if (!SWIG_IsOK(ecode2
)) {
40272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40274 arg2
= static_cast< int >(val2
);
40279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40285 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40289 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40290 if (!SWIG_IsOK(ecode5
)) {
40291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40293 arg5
= static_cast< long >(val5
);
40296 if (!wxPyCheckForApp()) SWIG_fail
;
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40309 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40312 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40313 return SWIG_Py_Void();
40316 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40317 return SWIG_Python_InitShadowInstance(args
);
40320 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40321 PyObject
*resultobj
= 0;
40322 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40325 PyObject
*swig_obj
[1] ;
40327 if (!args
) SWIG_fail
;
40328 swig_obj
[0] = args
;
40329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40330 if (!SWIG_IsOK(res1
)) {
40331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40333 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_Py_Void();
40348 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40349 PyObject
*resultobj
= 0;
40350 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40351 wxHelpProvider
*result
= 0 ;
40353 PyObject
* obj0
= 0 ;
40354 char * kwnames
[] = {
40355 (char *) "helpProvider", NULL
40358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40359 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40360 if (!SWIG_IsOK(res1
)) {
40361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40365 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40376 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40377 PyObject
*resultobj
= 0;
40378 wxHelpProvider
*result
= 0 ;
40380 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40383 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40384 wxPyEndAllowThreads(__tstate
);
40385 if (PyErr_Occurred()) SWIG_fail
;
40387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40394 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40395 PyObject
*resultobj
= 0;
40396 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40397 wxWindow
*arg2
= (wxWindow
*) 0 ;
40403 PyObject
* obj0
= 0 ;
40404 PyObject
* obj1
= 0 ;
40405 char * kwnames
[] = {
40406 (char *) "self",(char *) "window", NULL
40409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40411 if (!SWIG_IsOK(res1
)) {
40412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40414 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40416 if (!SWIG_IsOK(res2
)) {
40417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40422 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40439 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40440 PyObject
*resultobj
= 0;
40441 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40442 wxWindow
*arg2
= (wxWindow
*) 0 ;
40448 PyObject
* obj0
= 0 ;
40449 PyObject
* obj1
= 0 ;
40450 char * kwnames
[] = {
40451 (char *) "self",(char *) "window", NULL
40454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40456 if (!SWIG_IsOK(res1
)) {
40457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40459 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40461 if (!SWIG_IsOK(res2
)) {
40462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40464 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40467 result
= (bool)(arg1
)->ShowHelp(arg2
);
40468 wxPyEndAllowThreads(__tstate
);
40469 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40480 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40481 PyObject
*resultobj
= 0;
40482 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40483 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40484 wxPoint
*arg3
= 0 ;
40485 wxHelpEvent::Origin arg4
;
40494 PyObject
* obj0
= 0 ;
40495 PyObject
* obj1
= 0 ;
40496 PyObject
* obj2
= 0 ;
40497 PyObject
* obj3
= 0 ;
40498 char * kwnames
[] = {
40499 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40504 if (!SWIG_IsOK(res1
)) {
40505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40507 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40509 if (!SWIG_IsOK(res2
)) {
40510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40512 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40518 if (!SWIG_IsOK(ecode4
)) {
40519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40521 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40524 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40525 wxPyEndAllowThreads(__tstate
);
40526 if (PyErr_Occurred()) SWIG_fail
;
40529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40537 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40538 PyObject
*resultobj
= 0;
40539 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40540 wxWindow
*arg2
= (wxWindow
*) 0 ;
40541 wxString
*arg3
= 0 ;
40546 bool temp3
= false ;
40547 PyObject
* obj0
= 0 ;
40548 PyObject
* obj1
= 0 ;
40549 PyObject
* obj2
= 0 ;
40550 char * kwnames
[] = {
40551 (char *) "self",(char *) "window",(char *) "text", NULL
40554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40556 if (!SWIG_IsOK(res1
)) {
40557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40559 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40561 if (!SWIG_IsOK(res2
)) {
40562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40566 arg3
= wxString_in_helper(obj2
);
40567 if (arg3
== NULL
) SWIG_fail
;
40571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40572 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40576 resultobj
= SWIG_Py_Void();
40591 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40592 PyObject
*resultobj
= 0;
40593 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40595 wxString
*arg3
= 0 ;
40600 bool temp3
= false ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 PyObject
* obj2
= 0 ;
40604 char * kwnames
[] = {
40605 (char *) "self",(char *) "id",(char *) "text", NULL
40608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40610 if (!SWIG_IsOK(res1
)) {
40611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40613 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40615 if (!SWIG_IsOK(ecode2
)) {
40616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40618 arg2
= static_cast< int >(val2
);
40620 arg3
= wxString_in_helper(obj2
);
40621 if (arg3
== NULL
) SWIG_fail
;
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= SWIG_Py_Void();
40645 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40646 PyObject
*resultobj
= 0;
40647 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40648 wxWindow
*arg2
= (wxWindow
*) 0 ;
40653 PyObject
* obj0
= 0 ;
40654 PyObject
* obj1
= 0 ;
40655 char * kwnames
[] = {
40656 (char *) "self",(char *) "window", NULL
40659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40661 if (!SWIG_IsOK(res1
)) {
40662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40664 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40666 if (!SWIG_IsOK(res2
)) {
40667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 (arg1
)->RemoveHelp(arg2
);
40673 wxPyEndAllowThreads(__tstate
);
40674 if (PyErr_Occurred()) SWIG_fail
;
40676 resultobj
= SWIG_Py_Void();
40683 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40684 PyObject
*resultobj
= 0;
40685 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40688 PyObject
*swig_obj
[1] ;
40690 if (!args
) SWIG_fail
;
40691 swig_obj
[0] = args
;
40692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40693 if (!SWIG_IsOK(res1
)) {
40694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40696 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40699 wxHelpProvider_Destroy(arg1
);
40700 wxPyEndAllowThreads(__tstate
);
40701 if (PyErr_Occurred()) SWIG_fail
;
40703 resultobj
= SWIG_Py_Void();
40710 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40713 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40714 return SWIG_Py_Void();
40717 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40718 PyObject
*resultobj
= 0;
40719 wxSimpleHelpProvider
*result
= 0 ;
40721 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40725 wxPyEndAllowThreads(__tstate
);
40726 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40735 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40738 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40739 return SWIG_Py_Void();
40742 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40743 return SWIG_Python_InitShadowInstance(args
);
40746 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40747 PyObject
*resultobj
= 0;
40748 wxBitmap
*arg1
= 0 ;
40749 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40750 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40751 wxGenericDragImage
*result
= 0 ;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 char * kwnames
[] = {
40759 (char *) "image",(char *) "cursor", NULL
40762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40764 if (!SWIG_IsOK(res1
)) {
40765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40773 if (!SWIG_IsOK(res2
)) {
40774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40779 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40782 if (!wxPyCheckForApp()) SWIG_fail
;
40783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40784 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40785 wxPyEndAllowThreads(__tstate
);
40786 if (PyErr_Occurred()) SWIG_fail
;
40788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40795 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40796 PyObject
*resultobj
= 0;
40798 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40799 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40800 wxGenericDragImage
*result
= 0 ;
40805 PyObject
* obj0
= 0 ;
40806 PyObject
* obj1
= 0 ;
40807 char * kwnames
[] = {
40808 (char *) "image",(char *) "cursor", NULL
40811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40813 if (!SWIG_IsOK(res1
)) {
40814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40819 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40822 if (!SWIG_IsOK(res2
)) {
40823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40828 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40831 if (!wxPyCheckForApp()) SWIG_fail
;
40832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40833 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40834 wxPyEndAllowThreads(__tstate
);
40835 if (PyErr_Occurred()) SWIG_fail
;
40837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40844 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40845 PyObject
*resultobj
= 0;
40846 wxString
*arg1
= 0 ;
40847 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40848 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40849 wxGenericDragImage
*result
= 0 ;
40850 bool temp1
= false ;
40853 PyObject
* obj0
= 0 ;
40854 PyObject
* obj1
= 0 ;
40855 char * kwnames
[] = {
40856 (char *) "str",(char *) "cursor", NULL
40859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40861 arg1
= wxString_in_helper(obj0
);
40862 if (arg1
== NULL
) SWIG_fail
;
40866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40867 if (!SWIG_IsOK(res2
)) {
40868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40873 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40876 if (!wxPyCheckForApp()) SWIG_fail
;
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40897 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40898 PyObject
*resultobj
= 0;
40899 wxPyTreeCtrl
*arg1
= 0 ;
40900 wxTreeItemId
*arg2
= 0 ;
40901 wxGenericDragImage
*result
= 0 ;
40906 PyObject
* obj0
= 0 ;
40907 PyObject
* obj1
= 0 ;
40908 char * kwnames
[] = {
40909 (char *) "treeCtrl",(char *) "id", NULL
40912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40913 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40914 if (!SWIG_IsOK(res1
)) {
40915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40920 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40922 if (!SWIG_IsOK(res2
)) {
40923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40928 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40930 if (!wxPyCheckForApp()) SWIG_fail
;
40931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40932 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40933 wxPyEndAllowThreads(__tstate
);
40934 if (PyErr_Occurred()) SWIG_fail
;
40936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40943 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40944 PyObject
*resultobj
= 0;
40945 wxPyListCtrl
*arg1
= 0 ;
40947 wxGenericDragImage
*result
= 0 ;
40952 PyObject
* obj0
= 0 ;
40953 PyObject
* obj1
= 0 ;
40954 char * kwnames
[] = {
40955 (char *) "listCtrl",(char *) "id", NULL
40958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40959 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40960 if (!SWIG_IsOK(res1
)) {
40961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40968 if (!SWIG_IsOK(ecode2
)) {
40969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40971 arg2
= static_cast< long >(val2
);
40973 if (!wxPyCheckForApp()) SWIG_fail
;
40974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40975 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40986 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40987 PyObject
*resultobj
= 0;
40988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40991 PyObject
*swig_obj
[1] ;
40993 if (!args
) SWIG_fail
;
40994 swig_obj
[0] = args
;
40995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40996 if (!SWIG_IsOK(res1
)) {
40997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40999 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41004 wxPyEndAllowThreads(__tstate
);
41005 if (PyErr_Occurred()) SWIG_fail
;
41007 resultobj
= SWIG_Py_Void();
41014 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41015 PyObject
*resultobj
= 0;
41016 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41017 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41022 PyObject
* obj0
= 0 ;
41023 PyObject
* obj1
= 0 ;
41024 char * kwnames
[] = {
41025 (char *) "self",(char *) "bitmap", NULL
41028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41030 if (!SWIG_IsOK(res1
)) {
41031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41033 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41035 if (!SWIG_IsOK(res2
)) {
41036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41041 (arg1
)->SetBackingBitmap(arg2
);
41042 wxPyEndAllowThreads(__tstate
);
41043 if (PyErr_Occurred()) SWIG_fail
;
41045 resultobj
= SWIG_Py_Void();
41052 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41053 PyObject
*resultobj
= 0;
41054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41055 wxPoint
*arg2
= 0 ;
41056 wxWindow
*arg3
= (wxWindow
*) 0 ;
41057 bool arg4
= (bool) false ;
41058 wxRect
*arg5
= (wxRect
*) NULL
;
41069 PyObject
* obj0
= 0 ;
41070 PyObject
* obj1
= 0 ;
41071 PyObject
* obj2
= 0 ;
41072 PyObject
* obj3
= 0 ;
41073 PyObject
* obj4
= 0 ;
41074 char * kwnames
[] = {
41075 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41080 if (!SWIG_IsOK(res1
)) {
41081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41083 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41088 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41089 if (!SWIG_IsOK(res3
)) {
41090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41092 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41094 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41095 if (!SWIG_IsOK(ecode4
)) {
41096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41098 arg4
= static_cast< bool >(val4
);
41101 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41102 if (!SWIG_IsOK(res5
)) {
41103 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41105 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41109 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41110 wxPyEndAllowThreads(__tstate
);
41111 if (PyErr_Occurred()) SWIG_fail
;
41114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41122 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41123 PyObject
*resultobj
= 0;
41124 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41125 wxPoint
*arg2
= 0 ;
41126 wxWindow
*arg3
= (wxWindow
*) 0 ;
41127 wxWindow
*arg4
= (wxWindow
*) 0 ;
41136 PyObject
* obj0
= 0 ;
41137 PyObject
* obj1
= 0 ;
41138 PyObject
* obj2
= 0 ;
41139 PyObject
* obj3
= 0 ;
41140 char * kwnames
[] = {
41141 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41146 if (!SWIG_IsOK(res1
)) {
41147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41149 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41154 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41155 if (!SWIG_IsOK(res3
)) {
41156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41158 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41159 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41160 if (!SWIG_IsOK(res4
)) {
41161 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41163 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41166 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41167 wxPyEndAllowThreads(__tstate
);
41168 if (PyErr_Occurred()) SWIG_fail
;
41171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41179 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41180 PyObject
*resultobj
= 0;
41181 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41185 PyObject
*swig_obj
[1] ;
41187 if (!args
) SWIG_fail
;
41188 swig_obj
[0] = args
;
41189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41190 if (!SWIG_IsOK(res1
)) {
41191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41193 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41196 result
= (bool)(arg1
)->EndDrag();
41197 wxPyEndAllowThreads(__tstate
);
41198 if (PyErr_Occurred()) SWIG_fail
;
41201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41209 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41210 PyObject
*resultobj
= 0;
41211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41212 wxPoint
*arg2
= 0 ;
41217 PyObject
* obj0
= 0 ;
41218 PyObject
* obj1
= 0 ;
41219 char * kwnames
[] = {
41220 (char *) "self",(char *) "pt", NULL
41223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41225 if (!SWIG_IsOK(res1
)) {
41226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41228 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41235 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41236 wxPyEndAllowThreads(__tstate
);
41237 if (PyErr_Occurred()) SWIG_fail
;
41240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41248 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41249 PyObject
*resultobj
= 0;
41250 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41254 PyObject
*swig_obj
[1] ;
41256 if (!args
) SWIG_fail
;
41257 swig_obj
[0] = args
;
41258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41259 if (!SWIG_IsOK(res1
)) {
41260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41262 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41265 result
= (bool)(arg1
)->Show();
41266 wxPyEndAllowThreads(__tstate
);
41267 if (PyErr_Occurred()) SWIG_fail
;
41270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41278 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41279 PyObject
*resultobj
= 0;
41280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41284 PyObject
*swig_obj
[1] ;
41286 if (!args
) SWIG_fail
;
41287 swig_obj
[0] = args
;
41288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41289 if (!SWIG_IsOK(res1
)) {
41290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41292 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41295 result
= (bool)(arg1
)->Hide();
41296 wxPyEndAllowThreads(__tstate
);
41297 if (PyErr_Occurred()) SWIG_fail
;
41300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41308 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41309 PyObject
*resultobj
= 0;
41310 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41311 wxPoint
*arg2
= 0 ;
41316 PyObject
* obj0
= 0 ;
41317 PyObject
* obj1
= 0 ;
41318 char * kwnames
[] = {
41319 (char *) "self",(char *) "pos", NULL
41322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41324 if (!SWIG_IsOK(res1
)) {
41325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41327 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41334 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41335 wxPyEndAllowThreads(__tstate
);
41336 if (PyErr_Occurred()) SWIG_fail
;
41338 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41345 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41346 PyObject
*resultobj
= 0;
41347 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41349 wxPoint
*arg3
= 0 ;
41356 PyObject
* obj0
= 0 ;
41357 PyObject
* obj1
= 0 ;
41358 PyObject
* obj2
= 0 ;
41359 char * kwnames
[] = {
41360 (char *) "self",(char *) "dc",(char *) "pos", NULL
41363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41365 if (!SWIG_IsOK(res1
)) {
41366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41368 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41370 if (!SWIG_IsOK(res2
)) {
41371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41376 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41383 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41384 wxPyEndAllowThreads(__tstate
);
41385 if (PyErr_Occurred()) SWIG_fail
;
41388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41396 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41397 PyObject
*resultobj
= 0;
41398 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41400 wxMemoryDC
*arg3
= 0 ;
41412 PyObject
* obj0
= 0 ;
41413 PyObject
* obj1
= 0 ;
41414 PyObject
* obj2
= 0 ;
41415 PyObject
* obj3
= 0 ;
41416 PyObject
* obj4
= 0 ;
41417 char * kwnames
[] = {
41418 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41423 if (!SWIG_IsOK(res1
)) {
41424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41426 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41428 if (!SWIG_IsOK(res2
)) {
41429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41434 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41436 if (!SWIG_IsOK(res3
)) {
41437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41442 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41445 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41449 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41453 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41454 wxPyEndAllowThreads(__tstate
);
41455 if (PyErr_Occurred()) SWIG_fail
;
41458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41466 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41467 PyObject
*resultobj
= 0;
41468 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41469 wxPoint
*arg2
= 0 ;
41470 wxPoint
*arg3
= 0 ;
41482 PyObject
* obj0
= 0 ;
41483 PyObject
* obj1
= 0 ;
41484 PyObject
* obj2
= 0 ;
41485 PyObject
* obj3
= 0 ;
41486 PyObject
* obj4
= 0 ;
41487 char * kwnames
[] = {
41488 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41493 if (!SWIG_IsOK(res1
)) {
41494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41496 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41505 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41506 if (!SWIG_IsOK(ecode4
)) {
41507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41509 arg4
= static_cast< bool >(val4
);
41510 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41511 if (!SWIG_IsOK(ecode5
)) {
41512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41514 arg5
= static_cast< bool >(val5
);
41516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41517 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41530 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41533 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41534 return SWIG_Py_Void();
41537 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41538 return SWIG_Python_InitShadowInstance(args
);
41541 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41542 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41547 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41548 PyObject
*pyobj
= 0;
41552 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41554 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41561 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41562 PyObject
*resultobj
= 0;
41563 wxWindow
*arg1
= (wxWindow
*) 0 ;
41564 int arg2
= (int) -1 ;
41565 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41566 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41571 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41572 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41573 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41574 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41575 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41576 wxDatePickerCtrl
*result
= 0 ;
41589 bool temp8
= false ;
41590 PyObject
* obj0
= 0 ;
41591 PyObject
* obj1
= 0 ;
41592 PyObject
* obj2
= 0 ;
41593 PyObject
* obj3
= 0 ;
41594 PyObject
* obj4
= 0 ;
41595 PyObject
* obj5
= 0 ;
41596 PyObject
* obj6
= 0 ;
41597 PyObject
* obj7
= 0 ;
41598 char * kwnames
[] = {
41599 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41604 if (!SWIG_IsOK(res1
)) {
41605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41607 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41610 if (!SWIG_IsOK(ecode2
)) {
41611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41613 arg2
= static_cast< int >(val2
);
41616 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41617 if (!SWIG_IsOK(res3
)) {
41618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41623 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41638 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41639 if (!SWIG_IsOK(ecode6
)) {
41640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41642 arg6
= static_cast< long >(val6
);
41645 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41646 if (!SWIG_IsOK(res7
)) {
41647 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41652 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41656 arg8
= wxString_in_helper(obj7
);
41657 if (arg8
== NULL
) SWIG_fail
;
41662 if (!wxPyCheckForApp()) SWIG_fail
;
41663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41664 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41665 wxPyEndAllowThreads(__tstate
);
41666 if (PyErr_Occurred()) SWIG_fail
;
41668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41683 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41684 PyObject
*resultobj
= 0;
41685 wxDatePickerCtrl
*result
= 0 ;
41687 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41689 if (!wxPyCheckForApp()) SWIG_fail
;
41690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41691 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41692 wxPyEndAllowThreads(__tstate
);
41693 if (PyErr_Occurred()) SWIG_fail
;
41695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41702 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41703 PyObject
*resultobj
= 0;
41704 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41705 wxWindow
*arg2
= (wxWindow
*) 0 ;
41706 int arg3
= (int) -1 ;
41707 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41708 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41713 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41716 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41733 bool temp9
= false ;
41734 PyObject
* obj0
= 0 ;
41735 PyObject
* obj1
= 0 ;
41736 PyObject
* obj2
= 0 ;
41737 PyObject
* obj3
= 0 ;
41738 PyObject
* obj4
= 0 ;
41739 PyObject
* obj5
= 0 ;
41740 PyObject
* obj6
= 0 ;
41741 PyObject
* obj7
= 0 ;
41742 PyObject
* obj8
= 0 ;
41743 char * kwnames
[] = {
41744 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41749 if (!SWIG_IsOK(res1
)) {
41750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41752 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41754 if (!SWIG_IsOK(res2
)) {
41755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41757 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41760 if (!SWIG_IsOK(ecode3
)) {
41761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41763 arg3
= static_cast< int >(val3
);
41766 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41767 if (!SWIG_IsOK(res4
)) {
41768 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41773 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41778 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41784 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41788 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41789 if (!SWIG_IsOK(ecode7
)) {
41790 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41792 arg7
= static_cast< long >(val7
);
41795 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41796 if (!SWIG_IsOK(res8
)) {
41797 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41802 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41806 arg9
= wxString_in_helper(obj8
);
41807 if (arg9
== NULL
) SWIG_fail
;
41812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41814 wxPyEndAllowThreads(__tstate
);
41815 if (PyErr_Occurred()) SWIG_fail
;
41818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41834 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41835 PyObject
*resultobj
= 0;
41836 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41837 wxDateTime
*arg2
= 0 ;
41842 PyObject
* obj0
= 0 ;
41843 PyObject
* obj1
= 0 ;
41844 char * kwnames
[] = {
41845 (char *) "self",(char *) "dt", NULL
41848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41850 if (!SWIG_IsOK(res1
)) {
41851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41853 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41855 if (!SWIG_IsOK(res2
)) {
41856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41861 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41864 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41865 wxPyEndAllowThreads(__tstate
);
41866 if (PyErr_Occurred()) SWIG_fail
;
41868 resultobj
= SWIG_Py_Void();
41875 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41876 PyObject
*resultobj
= 0;
41877 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41881 PyObject
*swig_obj
[1] ;
41883 if (!args
) SWIG_fail
;
41884 swig_obj
[0] = args
;
41885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41886 if (!SWIG_IsOK(res1
)) {
41887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41889 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41892 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41896 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41903 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41904 PyObject
*resultobj
= 0;
41905 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41906 wxDateTime
*arg2
= 0 ;
41907 wxDateTime
*arg3
= 0 ;
41914 PyObject
* obj0
= 0 ;
41915 PyObject
* obj1
= 0 ;
41916 PyObject
* obj2
= 0 ;
41917 char * kwnames
[] = {
41918 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41923 if (!SWIG_IsOK(res1
)) {
41924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41926 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41928 if (!SWIG_IsOK(res2
)) {
41929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41934 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41936 if (!SWIG_IsOK(res3
)) {
41937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41942 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41945 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41946 wxPyEndAllowThreads(__tstate
);
41947 if (PyErr_Occurred()) SWIG_fail
;
41949 resultobj
= SWIG_Py_Void();
41956 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41957 PyObject
*resultobj
= 0;
41958 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41962 PyObject
*swig_obj
[1] ;
41964 if (!args
) SWIG_fail
;
41965 swig_obj
[0] = args
;
41966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41967 if (!SWIG_IsOK(res1
)) {
41968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41970 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41973 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41974 wxPyEndAllowThreads(__tstate
);
41975 if (PyErr_Occurred()) SWIG_fail
;
41977 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41984 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41985 PyObject
*resultobj
= 0;
41986 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41990 PyObject
*swig_obj
[1] ;
41992 if (!args
) SWIG_fail
;
41993 swig_obj
[0] = args
;
41994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41995 if (!SWIG_IsOK(res1
)) {
41996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41998 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42001 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42002 wxPyEndAllowThreads(__tstate
);
42003 if (PyErr_Occurred()) SWIG_fail
;
42005 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42012 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42015 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42016 return SWIG_Py_Void();
42019 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42020 return SWIG_Python_InitShadowInstance(args
);
42023 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42024 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42029 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42030 PyObject
*pyobj
= 0;
42034 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42036 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42043 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42044 PyObject
*resultobj
= 0;
42045 wxWindow
*arg1
= (wxWindow
*) 0 ;
42047 wxString
*arg3
= 0 ;
42048 wxString
*arg4
= 0 ;
42049 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42050 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42051 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42052 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42053 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42054 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42055 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42056 wxHyperlinkCtrl
*result
= 0 ;
42061 bool temp3
= false ;
42062 bool temp4
= false ;
42067 bool temp8
= false ;
42068 PyObject
* obj0
= 0 ;
42069 PyObject
* obj1
= 0 ;
42070 PyObject
* obj2
= 0 ;
42071 PyObject
* obj3
= 0 ;
42072 PyObject
* obj4
= 0 ;
42073 PyObject
* obj5
= 0 ;
42074 PyObject
* obj6
= 0 ;
42075 PyObject
* obj7
= 0 ;
42076 char * kwnames
[] = {
42077 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42082 if (!SWIG_IsOK(res1
)) {
42083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42087 if (!SWIG_IsOK(ecode2
)) {
42088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42090 arg2
= static_cast< int >(val2
);
42092 arg3
= wxString_in_helper(obj2
);
42093 if (arg3
== NULL
) SWIG_fail
;
42097 arg4
= wxString_in_helper(obj3
);
42098 if (arg4
== NULL
) SWIG_fail
;
42104 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42110 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42114 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42115 if (!SWIG_IsOK(ecode7
)) {
42116 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42118 arg7
= static_cast< long >(val7
);
42122 arg8
= wxString_in_helper(obj7
);
42123 if (arg8
== NULL
) SWIG_fail
;
42128 if (!wxPyCheckForApp()) SWIG_fail
;
42129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42130 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42131 wxPyEndAllowThreads(__tstate
);
42132 if (PyErr_Occurred()) SWIG_fail
;
42134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42165 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42166 PyObject
*resultobj
= 0;
42167 wxHyperlinkCtrl
*result
= 0 ;
42169 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42171 if (!wxPyCheckForApp()) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42184 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42185 PyObject
*resultobj
= 0;
42186 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42187 wxWindow
*arg2
= (wxWindow
*) 0 ;
42189 wxString
*arg4
= 0 ;
42190 wxString
*arg5
= 0 ;
42191 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42192 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42193 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42194 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42195 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42196 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42197 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42205 bool temp4
= false ;
42206 bool temp5
= false ;
42211 bool temp9
= false ;
42212 PyObject
* obj0
= 0 ;
42213 PyObject
* obj1
= 0 ;
42214 PyObject
* obj2
= 0 ;
42215 PyObject
* obj3
= 0 ;
42216 PyObject
* obj4
= 0 ;
42217 PyObject
* obj5
= 0 ;
42218 PyObject
* obj6
= 0 ;
42219 PyObject
* obj7
= 0 ;
42220 PyObject
* obj8
= 0 ;
42221 char * kwnames
[] = {
42222 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42227 if (!SWIG_IsOK(res1
)) {
42228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42230 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42232 if (!SWIG_IsOK(res2
)) {
42233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42237 if (!SWIG_IsOK(ecode3
)) {
42238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42240 arg3
= static_cast< int >(val3
);
42242 arg4
= wxString_in_helper(obj3
);
42243 if (arg4
== NULL
) SWIG_fail
;
42247 arg5
= wxString_in_helper(obj4
);
42248 if (arg5
== NULL
) SWIG_fail
;
42254 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42260 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42264 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42265 if (!SWIG_IsOK(ecode8
)) {
42266 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42268 arg8
= static_cast< long >(val8
);
42272 arg9
= wxString_in_helper(obj8
);
42273 if (arg9
== NULL
) SWIG_fail
;
42278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42280 wxPyEndAllowThreads(__tstate
);
42281 if (PyErr_Occurred()) SWIG_fail
;
42284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42316 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42317 PyObject
*resultobj
= 0;
42318 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42322 PyObject
*swig_obj
[1] ;
42324 if (!args
) SWIG_fail
;
42325 swig_obj
[0] = args
;
42326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42327 if (!SWIG_IsOK(res1
)) {
42328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42330 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42333 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42334 wxPyEndAllowThreads(__tstate
);
42335 if (PyErr_Occurred()) SWIG_fail
;
42337 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42344 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42345 PyObject
*resultobj
= 0;
42346 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42347 wxColour
*arg2
= 0 ;
42351 PyObject
* obj0
= 0 ;
42352 PyObject
* obj1
= 0 ;
42353 char * kwnames
[] = {
42354 (char *) "self",(char *) "colour", NULL
42357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42359 if (!SWIG_IsOK(res1
)) {
42360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42362 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42369 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42370 wxPyEndAllowThreads(__tstate
);
42371 if (PyErr_Occurred()) SWIG_fail
;
42373 resultobj
= SWIG_Py_Void();
42380 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42381 PyObject
*resultobj
= 0;
42382 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42386 PyObject
*swig_obj
[1] ;
42388 if (!args
) SWIG_fail
;
42389 swig_obj
[0] = args
;
42390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42391 if (!SWIG_IsOK(res1
)) {
42392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42394 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42397 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42398 wxPyEndAllowThreads(__tstate
);
42399 if (PyErr_Occurred()) SWIG_fail
;
42401 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42408 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42409 PyObject
*resultobj
= 0;
42410 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42411 wxColour
*arg2
= 0 ;
42415 PyObject
* obj0
= 0 ;
42416 PyObject
* obj1
= 0 ;
42417 char * kwnames
[] = {
42418 (char *) "self",(char *) "colour", NULL
42421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42423 if (!SWIG_IsOK(res1
)) {
42424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42426 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42433 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42434 wxPyEndAllowThreads(__tstate
);
42435 if (PyErr_Occurred()) SWIG_fail
;
42437 resultobj
= SWIG_Py_Void();
42444 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42445 PyObject
*resultobj
= 0;
42446 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42450 PyObject
*swig_obj
[1] ;
42452 if (!args
) SWIG_fail
;
42453 swig_obj
[0] = args
;
42454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42455 if (!SWIG_IsOK(res1
)) {
42456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42458 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42461 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42462 wxPyEndAllowThreads(__tstate
);
42463 if (PyErr_Occurred()) SWIG_fail
;
42465 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42472 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42473 PyObject
*resultobj
= 0;
42474 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42475 wxColour
*arg2
= 0 ;
42479 PyObject
* obj0
= 0 ;
42480 PyObject
* obj1
= 0 ;
42481 char * kwnames
[] = {
42482 (char *) "self",(char *) "colour", NULL
42485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42487 if (!SWIG_IsOK(res1
)) {
42488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42490 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42493 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42497 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= SWIG_Py_Void();
42508 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42509 PyObject
*resultobj
= 0;
42510 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42514 PyObject
*swig_obj
[1] ;
42516 if (!args
) SWIG_fail
;
42517 swig_obj
[0] = args
;
42518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42519 if (!SWIG_IsOK(res1
)) {
42520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42522 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42525 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42526 wxPyEndAllowThreads(__tstate
);
42527 if (PyErr_Occurred()) SWIG_fail
;
42531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42542 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42543 PyObject
*resultobj
= 0;
42544 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42545 wxString
*arg2
= 0 ;
42548 bool temp2
= false ;
42549 PyObject
* obj0
= 0 ;
42550 PyObject
* obj1
= 0 ;
42551 char * kwnames
[] = {
42552 (char *) "self",(char *) "url", NULL
42555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42557 if (!SWIG_IsOK(res1
)) {
42558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42560 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42562 arg2
= wxString_in_helper(obj1
);
42563 if (arg2
== NULL
) SWIG_fail
;
42567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42568 (arg1
)->SetURL((wxString
const &)*arg2
);
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42572 resultobj
= SWIG_Py_Void();
42587 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42588 PyObject
*resultobj
= 0;
42589 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42590 bool arg2
= (bool) true ;
42595 PyObject
* obj0
= 0 ;
42596 PyObject
* obj1
= 0 ;
42597 char * kwnames
[] = {
42598 (char *) "self",(char *) "visited", NULL
42601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",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_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42606 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42609 if (!SWIG_IsOK(ecode2
)) {
42610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42612 arg2
= static_cast< bool >(val2
);
42615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42616 (arg1
)->SetVisited(arg2
);
42617 wxPyEndAllowThreads(__tstate
);
42618 if (PyErr_Occurred()) SWIG_fail
;
42620 resultobj
= SWIG_Py_Void();
42627 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42628 PyObject
*resultobj
= 0;
42629 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42633 PyObject
*swig_obj
[1] ;
42635 if (!args
) SWIG_fail
;
42636 swig_obj
[0] = args
;
42637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42638 if (!SWIG_IsOK(res1
)) {
42639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42641 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42657 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42660 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42661 return SWIG_Py_Void();
42664 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42665 return SWIG_Python_InitShadowInstance(args
);
42668 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42669 PyObject
*resultobj
= 0;
42670 wxObject
*arg1
= (wxObject
*) 0 ;
42672 wxString
*arg3
= 0 ;
42673 wxHyperlinkEvent
*result
= 0 ;
42678 bool temp3
= false ;
42679 PyObject
* obj0
= 0 ;
42680 PyObject
* obj1
= 0 ;
42681 PyObject
* obj2
= 0 ;
42682 char * kwnames
[] = {
42683 (char *) "generator",(char *) "id",(char *) "url", NULL
42686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42688 if (!SWIG_IsOK(res1
)) {
42689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42691 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42693 if (!SWIG_IsOK(ecode2
)) {
42694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42696 arg2
= static_cast< int >(val2
);
42698 arg3
= wxString_in_helper(obj2
);
42699 if (arg3
== NULL
) SWIG_fail
;
42703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42704 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42705 wxPyEndAllowThreads(__tstate
);
42706 if (PyErr_Occurred()) SWIG_fail
;
42708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42723 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42724 PyObject
*resultobj
= 0;
42725 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42729 PyObject
*swig_obj
[1] ;
42731 if (!args
) SWIG_fail
;
42732 swig_obj
[0] = args
;
42733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42734 if (!SWIG_IsOK(res1
)) {
42735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42737 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42740 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42741 wxPyEndAllowThreads(__tstate
);
42742 if (PyErr_Occurred()) SWIG_fail
;
42746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42757 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42758 PyObject
*resultobj
= 0;
42759 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42760 wxString
*arg2
= 0 ;
42763 bool temp2
= false ;
42764 PyObject
* obj0
= 0 ;
42765 PyObject
* obj1
= 0 ;
42766 char * kwnames
[] = {
42767 (char *) "self",(char *) "url", NULL
42770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42772 if (!SWIG_IsOK(res1
)) {
42773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42775 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42777 arg2
= wxString_in_helper(obj1
);
42778 if (arg2
== NULL
) SWIG_fail
;
42782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42783 (arg1
)->SetURL((wxString
const &)*arg2
);
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42787 resultobj
= SWIG_Py_Void();
42802 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42805 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42806 return SWIG_Py_Void();
42809 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42810 return SWIG_Python_InitShadowInstance(args
);
42813 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42814 PyObject
*resultobj
= 0;
42815 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42816 wxWindow
*arg2
= (wxWindow
*) 0 ;
42818 wxString
const &arg4_defvalue
= wxEmptyString
;
42819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42824 long arg7
= (long) 0 ;
42825 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42826 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42827 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42828 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42836 bool temp4
= false ;
42843 bool temp9
= false ;
42844 PyObject
* obj0
= 0 ;
42845 PyObject
* obj1
= 0 ;
42846 PyObject
* obj2
= 0 ;
42847 PyObject
* obj3
= 0 ;
42848 PyObject
* obj4
= 0 ;
42849 PyObject
* obj5
= 0 ;
42850 PyObject
* obj6
= 0 ;
42851 PyObject
* obj7
= 0 ;
42852 PyObject
* obj8
= 0 ;
42853 char * kwnames
[] = {
42854 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42859 if (!SWIG_IsOK(res1
)) {
42860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42862 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42864 if (!SWIG_IsOK(res2
)) {
42865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42869 if (!SWIG_IsOK(ecode3
)) {
42870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42872 arg3
= static_cast< int >(val3
);
42875 arg4
= wxString_in_helper(obj3
);
42876 if (arg4
== NULL
) SWIG_fail
;
42883 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42889 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42893 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42894 if (!SWIG_IsOK(ecode7
)) {
42895 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42897 arg7
= static_cast< long >(val7
);
42900 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42901 if (!SWIG_IsOK(res8
)) {
42902 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42907 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42911 arg9
= wxString_in_helper(obj8
);
42912 if (arg9
== NULL
) SWIG_fail
;
42917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42918 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42919 wxPyEndAllowThreads(__tstate
);
42920 if (PyErr_Occurred()) SWIG_fail
;
42923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42947 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42948 PyObject
*resultobj
= 0;
42949 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42955 PyObject
* obj0
= 0 ;
42956 PyObject
* obj1
= 0 ;
42957 char * kwnames
[] = {
42958 (char *) "self",(char *) "newmargin", NULL
42961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42963 if (!SWIG_IsOK(res1
)) {
42964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42966 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42968 if (!SWIG_IsOK(ecode2
)) {
42969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42971 arg2
= static_cast< int >(val2
);
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 (arg1
)->SetInternalMargin(arg2
);
42975 wxPyEndAllowThreads(__tstate
);
42976 if (PyErr_Occurred()) SWIG_fail
;
42978 resultobj
= SWIG_Py_Void();
42985 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42986 PyObject
*resultobj
= 0;
42987 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42991 PyObject
*swig_obj
[1] ;
42993 if (!args
) SWIG_fail
;
42994 swig_obj
[0] = args
;
42995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42996 if (!SWIG_IsOK(res1
)) {
42997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42999 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43002 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43003 wxPyEndAllowThreads(__tstate
);
43004 if (PyErr_Occurred()) SWIG_fail
;
43006 resultobj
= SWIG_From_int(static_cast< int >(result
));
43013 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43014 PyObject
*resultobj
= 0;
43015 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43021 PyObject
* obj0
= 0 ;
43022 PyObject
* obj1
= 0 ;
43023 char * kwnames
[] = {
43024 (char *) "self",(char *) "prop", NULL
43027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43029 if (!SWIG_IsOK(res1
)) {
43030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43032 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43034 if (!SWIG_IsOK(ecode2
)) {
43035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43037 arg2
= static_cast< int >(val2
);
43039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43040 (arg1
)->SetTextCtrlProportion(arg2
);
43041 wxPyEndAllowThreads(__tstate
);
43042 if (PyErr_Occurred()) SWIG_fail
;
43044 resultobj
= SWIG_Py_Void();
43051 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43052 PyObject
*resultobj
= 0;
43053 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43057 PyObject
*swig_obj
[1] ;
43059 if (!args
) SWIG_fail
;
43060 swig_obj
[0] = args
;
43061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43062 if (!SWIG_IsOK(res1
)) {
43063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43065 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43068 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43069 wxPyEndAllowThreads(__tstate
);
43070 if (PyErr_Occurred()) SWIG_fail
;
43072 resultobj
= SWIG_From_int(static_cast< int >(result
));
43079 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43080 PyObject
*resultobj
= 0;
43081 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43087 PyObject
* obj0
= 0 ;
43088 PyObject
* obj1
= 0 ;
43089 char * kwnames
[] = {
43090 (char *) "self",(char *) "prop", NULL
43093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43095 if (!SWIG_IsOK(res1
)) {
43096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43098 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43100 if (!SWIG_IsOK(ecode2
)) {
43101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43103 arg2
= static_cast< int >(val2
);
43105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43106 (arg1
)->SetPickerCtrlProportion(arg2
);
43107 wxPyEndAllowThreads(__tstate
);
43108 if (PyErr_Occurred()) SWIG_fail
;
43110 resultobj
= SWIG_Py_Void();
43117 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43118 PyObject
*resultobj
= 0;
43119 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43123 PyObject
*swig_obj
[1] ;
43125 if (!args
) SWIG_fail
;
43126 swig_obj
[0] = args
;
43127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43128 if (!SWIG_IsOK(res1
)) {
43129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43131 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43134 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43135 wxPyEndAllowThreads(__tstate
);
43136 if (PyErr_Occurred()) SWIG_fail
;
43138 resultobj
= SWIG_From_int(static_cast< int >(result
));
43145 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43146 PyObject
*resultobj
= 0;
43147 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43151 PyObject
*swig_obj
[1] ;
43153 if (!args
) SWIG_fail
;
43154 swig_obj
[0] = args
;
43155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43156 if (!SWIG_IsOK(res1
)) {
43157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43159 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43162 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43163 wxPyEndAllowThreads(__tstate
);
43164 if (PyErr_Occurred()) SWIG_fail
;
43167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43175 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43176 PyObject
*resultobj
= 0;
43177 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43178 bool arg2
= (bool) true ;
43183 PyObject
* obj0
= 0 ;
43184 PyObject
* obj1
= 0 ;
43185 char * kwnames
[] = {
43186 (char *) "self",(char *) "grow", NULL
43189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43191 if (!SWIG_IsOK(res1
)) {
43192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43194 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43197 if (!SWIG_IsOK(ecode2
)) {
43198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43200 arg2
= static_cast< bool >(val2
);
43203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43204 (arg1
)->SetTextCtrlGrowable(arg2
);
43205 wxPyEndAllowThreads(__tstate
);
43206 if (PyErr_Occurred()) SWIG_fail
;
43208 resultobj
= SWIG_Py_Void();
43215 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43216 PyObject
*resultobj
= 0;
43217 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43221 PyObject
*swig_obj
[1] ;
43223 if (!args
) SWIG_fail
;
43224 swig_obj
[0] = args
;
43225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43226 if (!SWIG_IsOK(res1
)) {
43227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43229 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43232 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43233 wxPyEndAllowThreads(__tstate
);
43234 if (PyErr_Occurred()) SWIG_fail
;
43237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43245 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43246 PyObject
*resultobj
= 0;
43247 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43248 bool arg2
= (bool) true ;
43253 PyObject
* obj0
= 0 ;
43254 PyObject
* obj1
= 0 ;
43255 char * kwnames
[] = {
43256 (char *) "self",(char *) "grow", NULL
43259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43261 if (!SWIG_IsOK(res1
)) {
43262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43264 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43266 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43267 if (!SWIG_IsOK(ecode2
)) {
43268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43270 arg2
= static_cast< bool >(val2
);
43273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43274 (arg1
)->SetPickerCtrlGrowable(arg2
);
43275 wxPyEndAllowThreads(__tstate
);
43276 if (PyErr_Occurred()) SWIG_fail
;
43278 resultobj
= SWIG_Py_Void();
43285 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43286 PyObject
*resultobj
= 0;
43287 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43291 PyObject
*swig_obj
[1] ;
43293 if (!args
) SWIG_fail
;
43294 swig_obj
[0] = args
;
43295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43296 if (!SWIG_IsOK(res1
)) {
43297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43299 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43302 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43303 wxPyEndAllowThreads(__tstate
);
43304 if (PyErr_Occurred()) SWIG_fail
;
43307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43315 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43316 PyObject
*resultobj
= 0;
43317 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43318 wxTextCtrl
*result
= 0 ;
43321 PyObject
*swig_obj
[1] ;
43323 if (!args
) SWIG_fail
;
43324 swig_obj
[0] = args
;
43325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43326 if (!SWIG_IsOK(res1
)) {
43327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43329 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43332 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43333 wxPyEndAllowThreads(__tstate
);
43334 if (PyErr_Occurred()) SWIG_fail
;
43337 resultobj
= wxPyMake_wxObject(result
, 0);
43345 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43346 PyObject
*resultobj
= 0;
43347 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43348 wxControl
*result
= 0 ;
43351 PyObject
*swig_obj
[1] ;
43353 if (!args
) SWIG_fail
;
43354 swig_obj
[0] = args
;
43355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43356 if (!SWIG_IsOK(res1
)) {
43357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43359 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43362 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43363 wxPyEndAllowThreads(__tstate
);
43364 if (PyErr_Occurred()) SWIG_fail
;
43367 resultobj
= wxPyMake_wxObject(result
, 0);
43375 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43379 return SWIG_Py_Void();
43382 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43383 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43388 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43389 PyObject
*pyobj
= 0;
43393 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43395 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43402 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43403 PyObject
*resultobj
= 0;
43404 wxWindow
*arg1
= (wxWindow
*) 0 ;
43405 int arg2
= (int) -1 ;
43406 wxColour
const &arg3_defvalue
= *wxBLACK
;
43407 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43412 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43413 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43414 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43415 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43416 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43417 wxColourPickerCtrl
*result
= 0 ;
43429 bool temp8
= false ;
43430 PyObject
* obj0
= 0 ;
43431 PyObject
* obj1
= 0 ;
43432 PyObject
* obj2
= 0 ;
43433 PyObject
* obj3
= 0 ;
43434 PyObject
* obj4
= 0 ;
43435 PyObject
* obj5
= 0 ;
43436 PyObject
* obj6
= 0 ;
43437 PyObject
* obj7
= 0 ;
43438 char * kwnames
[] = {
43439 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43444 if (!SWIG_IsOK(res1
)) {
43445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43450 if (!SWIG_IsOK(ecode2
)) {
43451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43453 arg2
= static_cast< int >(val2
);
43458 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43475 if (!SWIG_IsOK(ecode6
)) {
43476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43478 arg6
= static_cast< long >(val6
);
43481 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43482 if (!SWIG_IsOK(res7
)) {
43483 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43488 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43492 arg8
= wxString_in_helper(obj7
);
43493 if (arg8
== NULL
) SWIG_fail
;
43498 if (!wxPyCheckForApp()) SWIG_fail
;
43499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43500 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43501 wxPyEndAllowThreads(__tstate
);
43502 if (PyErr_Occurred()) SWIG_fail
;
43504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43519 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43520 PyObject
*resultobj
= 0;
43521 wxColourPickerCtrl
*result
= 0 ;
43523 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43525 if (!wxPyCheckForApp()) SWIG_fail
;
43526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43527 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43528 wxPyEndAllowThreads(__tstate
);
43529 if (PyErr_Occurred()) SWIG_fail
;
43531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43538 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43539 PyObject
*resultobj
= 0;
43540 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43541 wxWindow
*arg2
= (wxWindow
*) 0 ;
43543 wxColour
const &arg4_defvalue
= *wxBLACK
;
43544 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43545 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43546 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43547 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43548 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43549 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43550 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43551 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43552 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43553 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43568 bool temp9
= false ;
43569 PyObject
* obj0
= 0 ;
43570 PyObject
* obj1
= 0 ;
43571 PyObject
* obj2
= 0 ;
43572 PyObject
* obj3
= 0 ;
43573 PyObject
* obj4
= 0 ;
43574 PyObject
* obj5
= 0 ;
43575 PyObject
* obj6
= 0 ;
43576 PyObject
* obj7
= 0 ;
43577 PyObject
* obj8
= 0 ;
43578 char * kwnames
[] = {
43579 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43584 if (!SWIG_IsOK(res1
)) {
43585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43587 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43589 if (!SWIG_IsOK(res2
)) {
43590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43594 if (!SWIG_IsOK(ecode3
)) {
43595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43597 arg3
= static_cast< int >(val3
);
43601 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43607 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43613 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43617 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43618 if (!SWIG_IsOK(ecode7
)) {
43619 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43621 arg7
= static_cast< long >(val7
);
43624 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43625 if (!SWIG_IsOK(res8
)) {
43626 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43631 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43635 arg9
= wxString_in_helper(obj8
);
43636 if (arg9
== NULL
) SWIG_fail
;
43641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43643 wxPyEndAllowThreads(__tstate
);
43644 if (PyErr_Occurred()) SWIG_fail
;
43647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43663 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43664 PyObject
*resultobj
= 0;
43665 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43669 PyObject
*swig_obj
[1] ;
43671 if (!args
) SWIG_fail
;
43672 swig_obj
[0] = args
;
43673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43674 if (!SWIG_IsOK(res1
)) {
43675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43677 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43680 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43681 wxPyEndAllowThreads(__tstate
);
43682 if (PyErr_Occurred()) SWIG_fail
;
43684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43691 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43692 PyObject
*resultobj
= 0;
43693 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43694 wxColour
*arg2
= 0 ;
43698 PyObject
* obj0
= 0 ;
43699 PyObject
* obj1
= 0 ;
43700 char * kwnames
[] = {
43701 (char *) "self",(char *) "col", NULL
43704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43706 if (!SWIG_IsOK(res1
)) {
43707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43709 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43716 (arg1
)->SetColour((wxColour
const &)*arg2
);
43717 wxPyEndAllowThreads(__tstate
);
43718 if (PyErr_Occurred()) SWIG_fail
;
43720 resultobj
= SWIG_Py_Void();
43727 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43730 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43731 return SWIG_Py_Void();
43734 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43735 return SWIG_Python_InitShadowInstance(args
);
43738 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43739 PyObject
*resultobj
= 0;
43740 wxObject
*arg1
= (wxObject
*) 0 ;
43742 wxColour
*arg3
= 0 ;
43743 wxColourPickerEvent
*result
= 0 ;
43749 PyObject
* obj0
= 0 ;
43750 PyObject
* obj1
= 0 ;
43751 PyObject
* obj2
= 0 ;
43752 char * kwnames
[] = {
43753 (char *) "generator",(char *) "id",(char *) "col", NULL
43756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43758 if (!SWIG_IsOK(res1
)) {
43759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43761 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43763 if (!SWIG_IsOK(ecode2
)) {
43764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43766 arg2
= static_cast< int >(val2
);
43769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43773 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43774 wxPyEndAllowThreads(__tstate
);
43775 if (PyErr_Occurred()) SWIG_fail
;
43777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43784 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43785 PyObject
*resultobj
= 0;
43786 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43790 PyObject
*swig_obj
[1] ;
43792 if (!args
) SWIG_fail
;
43793 swig_obj
[0] = args
;
43794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43795 if (!SWIG_IsOK(res1
)) {
43796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43798 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43801 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43802 wxPyEndAllowThreads(__tstate
);
43803 if (PyErr_Occurred()) SWIG_fail
;
43805 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43812 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43813 PyObject
*resultobj
= 0;
43814 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43815 wxColour
*arg2
= 0 ;
43819 PyObject
* obj0
= 0 ;
43820 PyObject
* obj1
= 0 ;
43821 char * kwnames
[] = {
43822 (char *) "self",(char *) "c", NULL
43825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43827 if (!SWIG_IsOK(res1
)) {
43828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43830 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43837 (arg1
)->SetColour((wxColour
const &)*arg2
);
43838 wxPyEndAllowThreads(__tstate
);
43839 if (PyErr_Occurred()) SWIG_fail
;
43841 resultobj
= SWIG_Py_Void();
43848 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43851 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43852 return SWIG_Py_Void();
43855 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43856 return SWIG_Python_InitShadowInstance(args
);
43859 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43860 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43865 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43866 PyObject
*pyobj
= 0;
43870 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43872 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43879 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43880 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43885 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43886 PyObject
*pyobj
= 0;
43890 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43892 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43899 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43900 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43905 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43906 PyObject
*pyobj
= 0;
43910 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43912 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43919 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43920 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43925 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43926 PyObject
*pyobj
= 0;
43930 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43932 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43939 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43940 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43945 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43946 PyObject
*pyobj
= 0;
43950 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43952 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43959 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43960 PyObject
*resultobj
= 0;
43961 wxWindow
*arg1
= (wxWindow
*) 0 ;
43962 int arg2
= (int) -1 ;
43963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43965 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43966 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43967 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43968 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43969 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43970 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43971 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43972 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43973 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43974 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43975 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43976 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43977 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43978 wxFilePickerCtrl
*result
= 0 ;
43983 bool temp3
= false ;
43984 bool temp4
= false ;
43985 bool temp5
= false ;
43992 bool temp10
= false ;
43993 PyObject
* obj0
= 0 ;
43994 PyObject
* obj1
= 0 ;
43995 PyObject
* obj2
= 0 ;
43996 PyObject
* obj3
= 0 ;
43997 PyObject
* obj4
= 0 ;
43998 PyObject
* obj5
= 0 ;
43999 PyObject
* obj6
= 0 ;
44000 PyObject
* obj7
= 0 ;
44001 PyObject
* obj8
= 0 ;
44002 PyObject
* obj9
= 0 ;
44003 char * kwnames
[] = {
44004 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44009 if (!SWIG_IsOK(res1
)) {
44010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44015 if (!SWIG_IsOK(ecode2
)) {
44016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44018 arg2
= static_cast< int >(val2
);
44022 arg3
= wxString_in_helper(obj2
);
44023 if (arg3
== NULL
) SWIG_fail
;
44029 arg4
= wxString_in_helper(obj3
);
44030 if (arg4
== NULL
) SWIG_fail
;
44036 arg5
= wxString_in_helper(obj4
);
44037 if (arg5
== NULL
) SWIG_fail
;
44044 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44050 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44054 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44055 if (!SWIG_IsOK(ecode8
)) {
44056 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44058 arg8
= static_cast< long >(val8
);
44061 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44062 if (!SWIG_IsOK(res9
)) {
44063 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44068 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44072 arg10
= wxString_in_helper(obj9
);
44073 if (arg10
== NULL
) SWIG_fail
;
44078 if (!wxPyCheckForApp()) SWIG_fail
;
44079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44080 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
);
44081 wxPyEndAllowThreads(__tstate
);
44082 if (PyErr_Occurred()) SWIG_fail
;
44084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44123 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44124 PyObject
*resultobj
= 0;
44125 wxFilePickerCtrl
*result
= 0 ;
44127 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44129 if (!wxPyCheckForApp()) SWIG_fail
;
44130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44131 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44132 wxPyEndAllowThreads(__tstate
);
44133 if (PyErr_Occurred()) SWIG_fail
;
44135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44142 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44143 PyObject
*resultobj
= 0;
44144 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44145 wxWindow
*arg2
= (wxWindow
*) 0 ;
44146 int arg3
= (int) -1 ;
44147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44149 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44150 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44151 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44153 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44154 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44155 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44156 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44157 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44158 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44159 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44160 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44161 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44169 bool temp4
= false ;
44170 bool temp5
= false ;
44171 bool temp6
= false ;
44178 bool temp11
= false ;
44179 PyObject
* obj0
= 0 ;
44180 PyObject
* obj1
= 0 ;
44181 PyObject
* obj2
= 0 ;
44182 PyObject
* obj3
= 0 ;
44183 PyObject
* obj4
= 0 ;
44184 PyObject
* obj5
= 0 ;
44185 PyObject
* obj6
= 0 ;
44186 PyObject
* obj7
= 0 ;
44187 PyObject
* obj8
= 0 ;
44188 PyObject
* obj9
= 0 ;
44189 PyObject
* obj10
= 0 ;
44190 char * kwnames
[] = {
44191 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44196 if (!SWIG_IsOK(res1
)) {
44197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44199 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44201 if (!SWIG_IsOK(res2
)) {
44202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44207 if (!SWIG_IsOK(ecode3
)) {
44208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44210 arg3
= static_cast< int >(val3
);
44214 arg4
= wxString_in_helper(obj3
);
44215 if (arg4
== NULL
) SWIG_fail
;
44221 arg5
= wxString_in_helper(obj4
);
44222 if (arg5
== NULL
) SWIG_fail
;
44228 arg6
= wxString_in_helper(obj5
);
44229 if (arg6
== NULL
) SWIG_fail
;
44236 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44242 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44246 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44247 if (!SWIG_IsOK(ecode9
)) {
44248 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44250 arg9
= static_cast< long >(val9
);
44253 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44254 if (!SWIG_IsOK(res10
)) {
44255 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44260 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44264 arg11
= wxString_in_helper(obj10
);
44265 if (arg11
== NULL
) SWIG_fail
;
44270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44271 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
);
44272 wxPyEndAllowThreads(__tstate
);
44273 if (PyErr_Occurred()) SWIG_fail
;
44276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44316 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44317 PyObject
*resultobj
= 0;
44318 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44322 PyObject
*swig_obj
[1] ;
44324 if (!args
) SWIG_fail
;
44325 swig_obj
[0] = args
;
44326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44327 if (!SWIG_IsOK(res1
)) {
44328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44330 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44333 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44334 wxPyEndAllowThreads(__tstate
);
44335 if (PyErr_Occurred()) SWIG_fail
;
44339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44350 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44351 PyObject
*resultobj
= 0;
44352 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44353 wxString
*arg2
= 0 ;
44356 bool temp2
= false ;
44357 PyObject
* obj0
= 0 ;
44358 PyObject
* obj1
= 0 ;
44359 char * kwnames
[] = {
44360 (char *) "self",(char *) "str", NULL
44363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44365 if (!SWIG_IsOK(res1
)) {
44366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44368 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44370 arg2
= wxString_in_helper(obj1
);
44371 if (arg2
== NULL
) SWIG_fail
;
44375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44376 (arg1
)->SetPath((wxString
const &)*arg2
);
44377 wxPyEndAllowThreads(__tstate
);
44378 if (PyErr_Occurred()) SWIG_fail
;
44380 resultobj
= SWIG_Py_Void();
44395 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44396 PyObject
*resultobj
= 0;
44397 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44398 wxString
*arg2
= 0 ;
44402 bool temp2
= false ;
44403 PyObject
* obj0
= 0 ;
44404 PyObject
* obj1
= 0 ;
44405 char * kwnames
[] = {
44406 (char *) "self",(char *) "path", NULL
44409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",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_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44414 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44416 arg2
= wxString_in_helper(obj1
);
44417 if (arg2
== NULL
) SWIG_fail
;
44421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44422 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44423 wxPyEndAllowThreads(__tstate
);
44424 if (PyErr_Occurred()) SWIG_fail
;
44427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44443 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44444 PyObject
*resultobj
= 0;
44445 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44449 PyObject
*swig_obj
[1] ;
44451 if (!args
) SWIG_fail
;
44452 swig_obj
[0] = args
;
44453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44454 if (!SWIG_IsOK(res1
)) {
44455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44457 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44460 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44461 wxPyEndAllowThreads(__tstate
);
44462 if (PyErr_Occurred()) SWIG_fail
;
44466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44477 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44480 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44481 return SWIG_Py_Void();
44484 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44485 return SWIG_Python_InitShadowInstance(args
);
44488 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44489 PyObject
*resultobj
= 0;
44490 wxWindow
*arg1
= (wxWindow
*) 0 ;
44491 int arg2
= (int) -1 ;
44492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44494 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44500 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44503 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44505 wxDirPickerCtrl
*result
= 0 ;
44510 bool temp3
= false ;
44511 bool temp4
= false ;
44518 bool temp9
= false ;
44519 PyObject
* obj0
= 0 ;
44520 PyObject
* obj1
= 0 ;
44521 PyObject
* obj2
= 0 ;
44522 PyObject
* obj3
= 0 ;
44523 PyObject
* obj4
= 0 ;
44524 PyObject
* obj5
= 0 ;
44525 PyObject
* obj6
= 0 ;
44526 PyObject
* obj7
= 0 ;
44527 PyObject
* obj8
= 0 ;
44528 char * kwnames
[] = {
44529 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44534 if (!SWIG_IsOK(res1
)) {
44535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44540 if (!SWIG_IsOK(ecode2
)) {
44541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44543 arg2
= static_cast< int >(val2
);
44547 arg3
= wxString_in_helper(obj2
);
44548 if (arg3
== NULL
) SWIG_fail
;
44554 arg4
= wxString_in_helper(obj3
);
44555 if (arg4
== NULL
) SWIG_fail
;
44562 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44568 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44572 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44573 if (!SWIG_IsOK(ecode7
)) {
44574 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44576 arg7
= static_cast< long >(val7
);
44579 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44580 if (!SWIG_IsOK(res8
)) {
44581 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44586 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44590 arg9
= wxString_in_helper(obj8
);
44591 if (arg9
== NULL
) SWIG_fail
;
44596 if (!wxPyCheckForApp()) SWIG_fail
;
44597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44598 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
);
44599 wxPyEndAllowThreads(__tstate
);
44600 if (PyErr_Occurred()) SWIG_fail
;
44602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44633 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44634 PyObject
*resultobj
= 0;
44635 wxDirPickerCtrl
*result
= 0 ;
44637 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44639 if (!wxPyCheckForApp()) SWIG_fail
;
44640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44641 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44642 wxPyEndAllowThreads(__tstate
);
44643 if (PyErr_Occurred()) SWIG_fail
;
44645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44652 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44653 PyObject
*resultobj
= 0;
44654 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44655 wxWindow
*arg2
= (wxWindow
*) 0 ;
44656 int arg3
= (int) -1 ;
44657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44659 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44660 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44661 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44662 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44663 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44664 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44665 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44666 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44667 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44668 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44669 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44677 bool temp4
= false ;
44678 bool temp5
= false ;
44685 bool temp10
= false ;
44686 PyObject
* obj0
= 0 ;
44687 PyObject
* obj1
= 0 ;
44688 PyObject
* obj2
= 0 ;
44689 PyObject
* obj3
= 0 ;
44690 PyObject
* obj4
= 0 ;
44691 PyObject
* obj5
= 0 ;
44692 PyObject
* obj6
= 0 ;
44693 PyObject
* obj7
= 0 ;
44694 PyObject
* obj8
= 0 ;
44695 PyObject
* obj9
= 0 ;
44696 char * kwnames
[] = {
44697 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44702 if (!SWIG_IsOK(res1
)) {
44703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44705 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44707 if (!SWIG_IsOK(res2
)) {
44708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44713 if (!SWIG_IsOK(ecode3
)) {
44714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44716 arg3
= static_cast< int >(val3
);
44720 arg4
= wxString_in_helper(obj3
);
44721 if (arg4
== NULL
) SWIG_fail
;
44727 arg5
= wxString_in_helper(obj4
);
44728 if (arg5
== NULL
) SWIG_fail
;
44735 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44741 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44745 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44746 if (!SWIG_IsOK(ecode8
)) {
44747 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44749 arg8
= static_cast< long >(val8
);
44752 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44753 if (!SWIG_IsOK(res9
)) {
44754 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44759 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44763 arg10
= wxString_in_helper(obj9
);
44764 if (arg10
== NULL
) SWIG_fail
;
44769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44770 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
);
44771 wxPyEndAllowThreads(__tstate
);
44772 if (PyErr_Occurred()) SWIG_fail
;
44775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44807 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44808 PyObject
*resultobj
= 0;
44809 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44813 PyObject
*swig_obj
[1] ;
44815 if (!args
) SWIG_fail
;
44816 swig_obj
[0] = args
;
44817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44818 if (!SWIG_IsOK(res1
)) {
44819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44821 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44824 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44825 wxPyEndAllowThreads(__tstate
);
44826 if (PyErr_Occurred()) SWIG_fail
;
44830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44841 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44842 PyObject
*resultobj
= 0;
44843 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44844 wxString
*arg2
= 0 ;
44847 bool temp2
= false ;
44848 PyObject
* obj0
= 0 ;
44849 PyObject
* obj1
= 0 ;
44850 char * kwnames
[] = {
44851 (char *) "self",(char *) "str", NULL
44854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44856 if (!SWIG_IsOK(res1
)) {
44857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44859 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44861 arg2
= wxString_in_helper(obj1
);
44862 if (arg2
== NULL
) SWIG_fail
;
44866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44867 (arg1
)->SetPath((wxString
const &)*arg2
);
44868 wxPyEndAllowThreads(__tstate
);
44869 if (PyErr_Occurred()) SWIG_fail
;
44871 resultobj
= SWIG_Py_Void();
44886 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44887 PyObject
*resultobj
= 0;
44888 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44889 wxString
*arg2
= 0 ;
44893 bool temp2
= false ;
44894 PyObject
* obj0
= 0 ;
44895 PyObject
* obj1
= 0 ;
44896 char * kwnames
[] = {
44897 (char *) "self",(char *) "path", NULL
44900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",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_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44905 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44907 arg2
= wxString_in_helper(obj1
);
44908 if (arg2
== NULL
) SWIG_fail
;
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44914 wxPyEndAllowThreads(__tstate
);
44915 if (PyErr_Occurred()) SWIG_fail
;
44918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44934 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44935 PyObject
*resultobj
= 0;
44936 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44940 PyObject
*swig_obj
[1] ;
44942 if (!args
) SWIG_fail
;
44943 swig_obj
[0] = args
;
44944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44945 if (!SWIG_IsOK(res1
)) {
44946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44948 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44951 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44952 wxPyEndAllowThreads(__tstate
);
44953 if (PyErr_Occurred()) SWIG_fail
;
44957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44968 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44971 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44972 return SWIG_Py_Void();
44975 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44976 return SWIG_Python_InitShadowInstance(args
);
44979 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44980 PyObject
*resultobj
= 0;
44982 wxObject
*arg2
= (wxObject
*) 0 ;
44984 wxString
*arg4
= 0 ;
44985 wxFileDirPickerEvent
*result
= 0 ;
44992 bool temp4
= false ;
44993 PyObject
* obj0
= 0 ;
44994 PyObject
* obj1
= 0 ;
44995 PyObject
* obj2
= 0 ;
44996 PyObject
* obj3
= 0 ;
44997 char * kwnames
[] = {
44998 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45003 if (!SWIG_IsOK(ecode1
)) {
45004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45006 arg1
= static_cast< wxEventType
>(val1
);
45007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45008 if (!SWIG_IsOK(res2
)) {
45009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45011 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45013 if (!SWIG_IsOK(ecode3
)) {
45014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45016 arg3
= static_cast< int >(val3
);
45018 arg4
= wxString_in_helper(obj3
);
45019 if (arg4
== NULL
) SWIG_fail
;
45023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45024 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45025 wxPyEndAllowThreads(__tstate
);
45026 if (PyErr_Occurred()) SWIG_fail
;
45028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45043 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45044 PyObject
*resultobj
= 0;
45045 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45049 PyObject
*swig_obj
[1] ;
45051 if (!args
) SWIG_fail
;
45052 swig_obj
[0] = args
;
45053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45054 if (!SWIG_IsOK(res1
)) {
45055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45057 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45060 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45061 wxPyEndAllowThreads(__tstate
);
45062 if (PyErr_Occurred()) SWIG_fail
;
45066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45077 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45078 PyObject
*resultobj
= 0;
45079 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45080 wxString
*arg2
= 0 ;
45083 bool temp2
= false ;
45084 PyObject
* obj0
= 0 ;
45085 PyObject
* obj1
= 0 ;
45086 char * kwnames
[] = {
45087 (char *) "self",(char *) "p", NULL
45090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45092 if (!SWIG_IsOK(res1
)) {
45093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45095 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45097 arg2
= wxString_in_helper(obj1
);
45098 if (arg2
== NULL
) SWIG_fail
;
45102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45103 (arg1
)->SetPath((wxString
const &)*arg2
);
45104 wxPyEndAllowThreads(__tstate
);
45105 if (PyErr_Occurred()) SWIG_fail
;
45107 resultobj
= SWIG_Py_Void();
45122 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45125 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45126 return SWIG_Py_Void();
45129 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45130 return SWIG_Python_InitShadowInstance(args
);
45133 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45134 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45139 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45140 PyObject
*pyobj
= 0;
45144 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45146 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45153 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45154 PyObject
*resultobj
= 0;
45155 wxWindow
*arg1
= (wxWindow
*) 0 ;
45156 int arg2
= (int) -1 ;
45157 wxFont
const &arg3_defvalue
= wxNullFont
;
45158 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45163 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45164 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45165 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45166 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45167 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45168 wxFontPickerCtrl
*result
= 0 ;
45181 bool temp8
= false ;
45182 PyObject
* obj0
= 0 ;
45183 PyObject
* obj1
= 0 ;
45184 PyObject
* obj2
= 0 ;
45185 PyObject
* obj3
= 0 ;
45186 PyObject
* obj4
= 0 ;
45187 PyObject
* obj5
= 0 ;
45188 PyObject
* obj6
= 0 ;
45189 PyObject
* obj7
= 0 ;
45190 char * kwnames
[] = {
45191 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45196 if (!SWIG_IsOK(res1
)) {
45197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45202 if (!SWIG_IsOK(ecode2
)) {
45203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45205 arg2
= static_cast< int >(val2
);
45208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45209 if (!SWIG_IsOK(res3
)) {
45210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45215 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45230 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45231 if (!SWIG_IsOK(ecode6
)) {
45232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45234 arg6
= static_cast< long >(val6
);
45237 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45238 if (!SWIG_IsOK(res7
)) {
45239 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45244 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45248 arg8
= wxString_in_helper(obj7
);
45249 if (arg8
== NULL
) SWIG_fail
;
45254 if (!wxPyCheckForApp()) SWIG_fail
;
45255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45256 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45257 wxPyEndAllowThreads(__tstate
);
45258 if (PyErr_Occurred()) SWIG_fail
;
45260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45275 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45276 PyObject
*resultobj
= 0;
45277 wxFontPickerCtrl
*result
= 0 ;
45279 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45281 if (!wxPyCheckForApp()) SWIG_fail
;
45282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45283 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45284 wxPyEndAllowThreads(__tstate
);
45285 if (PyErr_Occurred()) SWIG_fail
;
45287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45294 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45295 PyObject
*resultobj
= 0;
45296 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45297 wxWindow
*arg2
= (wxWindow
*) 0 ;
45298 int arg3
= (int) -1 ;
45299 wxFont
const &arg4_defvalue
= wxNullFont
;
45300 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45305 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45306 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45307 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45308 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45309 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45325 bool temp9
= false ;
45326 PyObject
* obj0
= 0 ;
45327 PyObject
* obj1
= 0 ;
45328 PyObject
* obj2
= 0 ;
45329 PyObject
* obj3
= 0 ;
45330 PyObject
* obj4
= 0 ;
45331 PyObject
* obj5
= 0 ;
45332 PyObject
* obj6
= 0 ;
45333 PyObject
* obj7
= 0 ;
45334 PyObject
* obj8
= 0 ;
45335 char * kwnames
[] = {
45336 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45341 if (!SWIG_IsOK(res1
)) {
45342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45344 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45346 if (!SWIG_IsOK(res2
)) {
45347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45352 if (!SWIG_IsOK(ecode3
)) {
45353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45355 arg3
= static_cast< int >(val3
);
45358 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45359 if (!SWIG_IsOK(res4
)) {
45360 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45365 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45370 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45376 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45380 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45381 if (!SWIG_IsOK(ecode7
)) {
45382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45384 arg7
= static_cast< long >(val7
);
45387 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45388 if (!SWIG_IsOK(res8
)) {
45389 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45394 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45398 arg9
= wxString_in_helper(obj8
);
45399 if (arg9
== NULL
) SWIG_fail
;
45404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45406 wxPyEndAllowThreads(__tstate
);
45407 if (PyErr_Occurred()) SWIG_fail
;
45410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45426 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45427 PyObject
*resultobj
= 0;
45428 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45432 PyObject
*swig_obj
[1] ;
45434 if (!args
) SWIG_fail
;
45435 swig_obj
[0] = args
;
45436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45437 if (!SWIG_IsOK(res1
)) {
45438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45440 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45443 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45444 wxPyEndAllowThreads(__tstate
);
45445 if (PyErr_Occurred()) SWIG_fail
;
45447 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45454 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45455 PyObject
*resultobj
= 0;
45456 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45462 PyObject
* obj0
= 0 ;
45463 PyObject
* obj1
= 0 ;
45464 char * kwnames
[] = {
45465 (char *) "self",(char *) "f", NULL
45468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45470 if (!SWIG_IsOK(res1
)) {
45471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45473 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45475 if (!SWIG_IsOK(res2
)) {
45476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45481 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45484 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45485 wxPyEndAllowThreads(__tstate
);
45486 if (PyErr_Occurred()) SWIG_fail
;
45488 resultobj
= SWIG_Py_Void();
45495 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45496 PyObject
*resultobj
= 0;
45497 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45498 unsigned int arg2
;
45501 unsigned int val2
;
45503 PyObject
* obj0
= 0 ;
45504 PyObject
* obj1
= 0 ;
45505 char * kwnames
[] = {
45506 (char *) "self",(char *) "max", NULL
45509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45511 if (!SWIG_IsOK(res1
)) {
45512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45514 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45515 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45516 if (!SWIG_IsOK(ecode2
)) {
45517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45519 arg2
= static_cast< unsigned int >(val2
);
45521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45522 (arg1
)->SetMaxPointSize(arg2
);
45523 wxPyEndAllowThreads(__tstate
);
45524 if (PyErr_Occurred()) SWIG_fail
;
45526 resultobj
= SWIG_Py_Void();
45533 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45534 PyObject
*resultobj
= 0;
45535 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45536 unsigned int result
;
45539 PyObject
*swig_obj
[1] ;
45541 if (!args
) SWIG_fail
;
45542 swig_obj
[0] = args
;
45543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45544 if (!SWIG_IsOK(res1
)) {
45545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45547 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45550 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45551 wxPyEndAllowThreads(__tstate
);
45552 if (PyErr_Occurred()) SWIG_fail
;
45554 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45561 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45564 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45565 return SWIG_Py_Void();
45568 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45569 return SWIG_Python_InitShadowInstance(args
);
45572 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45573 PyObject
*resultobj
= 0;
45574 wxObject
*arg1
= (wxObject
*) 0 ;
45577 wxFontPickerEvent
*result
= 0 ;
45584 PyObject
* obj0
= 0 ;
45585 PyObject
* obj1
= 0 ;
45586 PyObject
* obj2
= 0 ;
45587 char * kwnames
[] = {
45588 (char *) "generator",(char *) "id",(char *) "f", NULL
45591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45593 if (!SWIG_IsOK(res1
)) {
45594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45596 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45598 if (!SWIG_IsOK(ecode2
)) {
45599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45601 arg2
= static_cast< int >(val2
);
45602 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45603 if (!SWIG_IsOK(res3
)) {
45604 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45609 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45612 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45613 wxPyEndAllowThreads(__tstate
);
45614 if (PyErr_Occurred()) SWIG_fail
;
45616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45623 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45624 PyObject
*resultobj
= 0;
45625 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45629 PyObject
*swig_obj
[1] ;
45631 if (!args
) SWIG_fail
;
45632 swig_obj
[0] = args
;
45633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45634 if (!SWIG_IsOK(res1
)) {
45635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45637 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45640 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45641 wxPyEndAllowThreads(__tstate
);
45642 if (PyErr_Occurred()) SWIG_fail
;
45644 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45651 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45652 PyObject
*resultobj
= 0;
45653 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45659 PyObject
* obj0
= 0 ;
45660 PyObject
* obj1
= 0 ;
45661 char * kwnames
[] = {
45662 (char *) "self",(char *) "c", NULL
45665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45667 if (!SWIG_IsOK(res1
)) {
45668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45670 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45672 if (!SWIG_IsOK(res2
)) {
45673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45678 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45681 (arg1
)->SetFont((wxFont
const &)*arg2
);
45682 wxPyEndAllowThreads(__tstate
);
45683 if (PyErr_Occurred()) SWIG_fail
;
45685 resultobj
= SWIG_Py_Void();
45692 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45695 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45696 return SWIG_Py_Void();
45699 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45700 return SWIG_Python_InitShadowInstance(args
);
45703 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45704 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45709 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45710 PyObject
*pyobj
= 0;
45714 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45716 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45723 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45724 PyObject
*resultobj
= 0;
45725 wxWindow
*arg1
= (wxWindow
*) 0 ;
45726 int arg2
= (int) -1 ;
45727 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45728 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45733 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45734 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45735 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45736 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45737 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45738 wxCollapsiblePane
*result
= 0 ;
45743 bool temp3
= false ;
45750 bool temp8
= false ;
45751 PyObject
* obj0
= 0 ;
45752 PyObject
* obj1
= 0 ;
45753 PyObject
* obj2
= 0 ;
45754 PyObject
* obj3
= 0 ;
45755 PyObject
* obj4
= 0 ;
45756 PyObject
* obj5
= 0 ;
45757 PyObject
* obj6
= 0 ;
45758 PyObject
* obj7
= 0 ;
45759 char * kwnames
[] = {
45760 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45765 if (!SWIG_IsOK(res1
)) {
45766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45771 if (!SWIG_IsOK(ecode2
)) {
45772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45774 arg2
= static_cast< int >(val2
);
45778 arg3
= wxString_in_helper(obj2
);
45779 if (arg3
== NULL
) SWIG_fail
;
45786 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45792 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45796 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45797 if (!SWIG_IsOK(ecode6
)) {
45798 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45800 arg6
= static_cast< long >(val6
);
45803 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45804 if (!SWIG_IsOK(res7
)) {
45805 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45810 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45814 arg8
= wxString_in_helper(obj7
);
45815 if (arg8
== NULL
) SWIG_fail
;
45820 if (!wxPyCheckForApp()) SWIG_fail
;
45821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45822 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45823 wxPyEndAllowThreads(__tstate
);
45824 if (PyErr_Occurred()) SWIG_fail
;
45826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45849 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45850 PyObject
*resultobj
= 0;
45851 wxCollapsiblePane
*result
= 0 ;
45853 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45855 if (!wxPyCheckForApp()) SWIG_fail
;
45856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45857 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45858 wxPyEndAllowThreads(__tstate
);
45859 if (PyErr_Occurred()) SWIG_fail
;
45861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45868 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45869 PyObject
*resultobj
= 0;
45870 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45871 wxWindow
*arg2
= (wxWindow
*) 0 ;
45872 int arg3
= (int) -1 ;
45873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45875 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45876 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45877 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45878 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45879 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45880 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45881 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45882 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45883 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45891 bool temp4
= false ;
45898 bool temp9
= false ;
45899 PyObject
* obj0
= 0 ;
45900 PyObject
* obj1
= 0 ;
45901 PyObject
* obj2
= 0 ;
45902 PyObject
* obj3
= 0 ;
45903 PyObject
* obj4
= 0 ;
45904 PyObject
* obj5
= 0 ;
45905 PyObject
* obj6
= 0 ;
45906 PyObject
* obj7
= 0 ;
45907 PyObject
* obj8
= 0 ;
45908 char * kwnames
[] = {
45909 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45914 if (!SWIG_IsOK(res1
)) {
45915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45917 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45919 if (!SWIG_IsOK(res2
)) {
45920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45925 if (!SWIG_IsOK(ecode3
)) {
45926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45928 arg3
= static_cast< int >(val3
);
45932 arg4
= wxString_in_helper(obj3
);
45933 if (arg4
== NULL
) SWIG_fail
;
45940 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45946 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45950 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45951 if (!SWIG_IsOK(ecode7
)) {
45952 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45954 arg7
= static_cast< long >(val7
);
45957 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45958 if (!SWIG_IsOK(res8
)) {
45959 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45964 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45968 arg9
= wxString_in_helper(obj8
);
45969 if (arg9
== NULL
) SWIG_fail
;
45974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45976 wxPyEndAllowThreads(__tstate
);
45977 if (PyErr_Occurred()) SWIG_fail
;
45980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46004 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46005 PyObject
*resultobj
= 0;
46006 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46007 bool arg2
= (bool) true ;
46012 PyObject
* obj0
= 0 ;
46013 PyObject
* obj1
= 0 ;
46014 char * kwnames
[] = {
46015 (char *) "self",(char *) "collapse", NULL
46018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46020 if (!SWIG_IsOK(res1
)) {
46021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46023 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46025 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46026 if (!SWIG_IsOK(ecode2
)) {
46027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46029 arg2
= static_cast< bool >(val2
);
46032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46033 (arg1
)->Collapse(arg2
);
46034 wxPyEndAllowThreads(__tstate
);
46035 if (PyErr_Occurred()) SWIG_fail
;
46037 resultobj
= SWIG_Py_Void();
46044 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46045 PyObject
*resultobj
= 0;
46046 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46049 PyObject
*swig_obj
[1] ;
46051 if (!args
) SWIG_fail
;
46052 swig_obj
[0] = args
;
46053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46054 if (!SWIG_IsOK(res1
)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46057 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46061 wxPyEndAllowThreads(__tstate
);
46062 if (PyErr_Occurred()) SWIG_fail
;
46064 resultobj
= SWIG_Py_Void();
46071 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46072 PyObject
*resultobj
= 0;
46073 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46077 PyObject
*swig_obj
[1] ;
46079 if (!args
) SWIG_fail
;
46080 swig_obj
[0] = args
;
46081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46082 if (!SWIG_IsOK(res1
)) {
46083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46085 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46088 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46089 wxPyEndAllowThreads(__tstate
);
46090 if (PyErr_Occurred()) SWIG_fail
;
46093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46101 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46102 PyObject
*resultobj
= 0;
46103 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46107 PyObject
*swig_obj
[1] ;
46109 if (!args
) SWIG_fail
;
46110 swig_obj
[0] = args
;
46111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46112 if (!SWIG_IsOK(res1
)) {
46113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46115 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46118 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46119 wxPyEndAllowThreads(__tstate
);
46120 if (PyErr_Occurred()) SWIG_fail
;
46123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46131 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46132 PyObject
*resultobj
= 0;
46133 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46134 wxWindow
*result
= 0 ;
46137 PyObject
*swig_obj
[1] ;
46139 if (!args
) SWIG_fail
;
46140 swig_obj
[0] = args
;
46141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46142 if (!SWIG_IsOK(res1
)) {
46143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46145 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46148 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46149 wxPyEndAllowThreads(__tstate
);
46150 if (PyErr_Occurred()) SWIG_fail
;
46153 resultobj
= wxPyMake_wxObject(result
, 0);
46161 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46164 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46165 return SWIG_Py_Void();
46168 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46169 return SWIG_Python_InitShadowInstance(args
);
46172 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46173 PyObject
*resultobj
= 0;
46174 wxObject
*arg1
= (wxObject
*) 0 ;
46177 wxCollapsiblePaneEvent
*result
= 0 ;
46184 PyObject
* obj0
= 0 ;
46185 PyObject
* obj1
= 0 ;
46186 PyObject
* obj2
= 0 ;
46187 char * kwnames
[] = {
46188 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46193 if (!SWIG_IsOK(res1
)) {
46194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46196 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46198 if (!SWIG_IsOK(ecode2
)) {
46199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46201 arg2
= static_cast< int >(val2
);
46202 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46203 if (!SWIG_IsOK(ecode3
)) {
46204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46206 arg3
= static_cast< bool >(val3
);
46208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46209 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46210 wxPyEndAllowThreads(__tstate
);
46211 if (PyErr_Occurred()) SWIG_fail
;
46213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46220 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46221 PyObject
*resultobj
= 0;
46222 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46226 PyObject
*swig_obj
[1] ;
46228 if (!args
) SWIG_fail
;
46229 swig_obj
[0] = args
;
46230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46231 if (!SWIG_IsOK(res1
)) {
46232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46234 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46237 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46238 wxPyEndAllowThreads(__tstate
);
46239 if (PyErr_Occurred()) SWIG_fail
;
46242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46250 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46251 PyObject
*resultobj
= 0;
46252 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46258 PyObject
* obj0
= 0 ;
46259 PyObject
* obj1
= 0 ;
46260 char * kwnames
[] = {
46261 (char *) "self",(char *) "c", NULL
46264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46266 if (!SWIG_IsOK(res1
)) {
46267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46269 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46270 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46271 if (!SWIG_IsOK(ecode2
)) {
46272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46274 arg2
= static_cast< bool >(val2
);
46276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46277 (arg1
)->SetCollapsed(arg2
);
46278 wxPyEndAllowThreads(__tstate
);
46279 if (PyErr_Occurred()) SWIG_fail
;
46281 resultobj
= SWIG_Py_Void();
46288 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46291 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46292 return SWIG_Py_Void();
46295 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46296 return SWIG_Python_InitShadowInstance(args
);
46299 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46300 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46305 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46306 PyObject
*pyobj
= 0;
46310 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46312 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46319 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46320 PyObject
*resultobj
= 0;
46321 wxWindow
*arg1
= (wxWindow
*) 0 ;
46322 int arg2
= (int) -1 ;
46323 wxString
const &arg3_defvalue
= wxEmptyString
;
46324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46329 long arg6
= (long) 0 ;
46330 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46331 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46332 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46333 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46334 wxSearchCtrl
*result
= 0 ;
46339 bool temp3
= false ;
46346 bool temp8
= false ;
46347 PyObject
* obj0
= 0 ;
46348 PyObject
* obj1
= 0 ;
46349 PyObject
* obj2
= 0 ;
46350 PyObject
* obj3
= 0 ;
46351 PyObject
* obj4
= 0 ;
46352 PyObject
* obj5
= 0 ;
46353 PyObject
* obj6
= 0 ;
46354 PyObject
* obj7
= 0 ;
46355 char * kwnames
[] = {
46356 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46361 if (!SWIG_IsOK(res1
)) {
46362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46367 if (!SWIG_IsOK(ecode2
)) {
46368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46370 arg2
= static_cast< int >(val2
);
46374 arg3
= wxString_in_helper(obj2
);
46375 if (arg3
== NULL
) SWIG_fail
;
46382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46393 if (!SWIG_IsOK(ecode6
)) {
46394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46396 arg6
= static_cast< long >(val6
);
46399 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46400 if (!SWIG_IsOK(res7
)) {
46401 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46406 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46410 arg8
= wxString_in_helper(obj7
);
46411 if (arg8
== NULL
) SWIG_fail
;
46416 if (!wxPyCheckForApp()) SWIG_fail
;
46417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46418 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46419 wxPyEndAllowThreads(__tstate
);
46420 if (PyErr_Occurred()) SWIG_fail
;
46422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46445 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46446 PyObject
*resultobj
= 0;
46447 wxSearchCtrl
*result
= 0 ;
46449 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46451 if (!wxPyCheckForApp()) SWIG_fail
;
46452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46453 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46454 wxPyEndAllowThreads(__tstate
);
46455 if (PyErr_Occurred()) SWIG_fail
;
46457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46464 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46465 PyObject
*resultobj
= 0;
46466 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46467 wxWindow
*arg2
= (wxWindow
*) 0 ;
46468 int arg3
= (int) -1 ;
46469 wxString
const &arg4_defvalue
= wxEmptyString
;
46470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46471 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46472 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46473 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46474 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46475 long arg7
= (long) 0 ;
46476 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46477 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46478 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46479 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46487 bool temp4
= false ;
46494 bool temp9
= false ;
46495 PyObject
* obj0
= 0 ;
46496 PyObject
* obj1
= 0 ;
46497 PyObject
* obj2
= 0 ;
46498 PyObject
* obj3
= 0 ;
46499 PyObject
* obj4
= 0 ;
46500 PyObject
* obj5
= 0 ;
46501 PyObject
* obj6
= 0 ;
46502 PyObject
* obj7
= 0 ;
46503 PyObject
* obj8
= 0 ;
46504 char * kwnames
[] = {
46505 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46510 if (!SWIG_IsOK(res1
)) {
46511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46513 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46515 if (!SWIG_IsOK(res2
)) {
46516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46521 if (!SWIG_IsOK(ecode3
)) {
46522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46524 arg3
= static_cast< int >(val3
);
46528 arg4
= wxString_in_helper(obj3
);
46529 if (arg4
== NULL
) SWIG_fail
;
46536 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46542 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46546 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46547 if (!SWIG_IsOK(ecode7
)) {
46548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46550 arg7
= static_cast< long >(val7
);
46553 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46554 if (!SWIG_IsOK(res8
)) {
46555 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46560 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46564 arg9
= wxString_in_helper(obj8
);
46565 if (arg9
== NULL
) SWIG_fail
;
46570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46572 wxPyEndAllowThreads(__tstate
);
46573 if (PyErr_Occurred()) SWIG_fail
;
46576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46600 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46601 PyObject
*resultobj
= 0;
46602 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46603 wxMenu
*arg2
= (wxMenu
*) 0 ;
46608 PyObject
* obj0
= 0 ;
46609 PyObject
* obj1
= 0 ;
46610 char * kwnames
[] = {
46611 (char *) "self",(char *) "menu", NULL
46614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46616 if (!SWIG_IsOK(res1
)) {
46617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46619 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46621 if (!SWIG_IsOK(res2
)) {
46622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46624 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46627 (arg1
)->SetMenu(arg2
);
46628 wxPyEndAllowThreads(__tstate
);
46629 if (PyErr_Occurred()) SWIG_fail
;
46631 resultobj
= SWIG_Py_Void();
46638 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46639 PyObject
*resultobj
= 0;
46640 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46641 wxMenu
*result
= 0 ;
46644 PyObject
*swig_obj
[1] ;
46646 if (!args
) SWIG_fail
;
46647 swig_obj
[0] = args
;
46648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46649 if (!SWIG_IsOK(res1
)) {
46650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46652 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46655 result
= (wxMenu
*)(arg1
)->GetMenu();
46656 wxPyEndAllowThreads(__tstate
);
46657 if (PyErr_Occurred()) SWIG_fail
;
46660 resultobj
= wxPyMake_wxObject(result
, 0);
46668 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46669 PyObject
*resultobj
= 0;
46670 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46676 PyObject
* obj0
= 0 ;
46677 PyObject
* obj1
= 0 ;
46678 char * kwnames
[] = {
46679 (char *) "self",(char *) "show", NULL
46682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46684 if (!SWIG_IsOK(res1
)) {
46685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46687 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46689 if (!SWIG_IsOK(ecode2
)) {
46690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46692 arg2
= static_cast< bool >(val2
);
46694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46695 (arg1
)->ShowSearchButton(arg2
);
46696 wxPyEndAllowThreads(__tstate
);
46697 if (PyErr_Occurred()) SWIG_fail
;
46699 resultobj
= SWIG_Py_Void();
46706 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46707 PyObject
*resultobj
= 0;
46708 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46712 PyObject
*swig_obj
[1] ;
46714 if (!args
) SWIG_fail
;
46715 swig_obj
[0] = args
;
46716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46717 if (!SWIG_IsOK(res1
)) {
46718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46720 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46723 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46724 wxPyEndAllowThreads(__tstate
);
46725 if (PyErr_Occurred()) SWIG_fail
;
46728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46736 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46737 PyObject
*resultobj
= 0;
46738 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46744 PyObject
* obj0
= 0 ;
46745 PyObject
* obj1
= 0 ;
46746 char * kwnames
[] = {
46747 (char *) "self",(char *) "show", NULL
46750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46752 if (!SWIG_IsOK(res1
)) {
46753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46755 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46757 if (!SWIG_IsOK(ecode2
)) {
46758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46760 arg2
= static_cast< bool >(val2
);
46762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46763 (arg1
)->ShowCancelButton(arg2
);
46764 wxPyEndAllowThreads(__tstate
);
46765 if (PyErr_Occurred()) SWIG_fail
;
46767 resultobj
= SWIG_Py_Void();
46774 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46775 PyObject
*resultobj
= 0;
46776 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46780 PyObject
*swig_obj
[1] ;
46782 if (!args
) SWIG_fail
;
46783 swig_obj
[0] = args
;
46784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46785 if (!SWIG_IsOK(res1
)) {
46786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46788 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46791 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46792 wxPyEndAllowThreads(__tstate
);
46793 if (PyErr_Occurred()) SWIG_fail
;
46796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46804 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46805 PyObject
*resultobj
= 0;
46806 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46807 wxString
*arg2
= 0 ;
46810 bool temp2
= false ;
46811 PyObject
* obj0
= 0 ;
46812 PyObject
* obj1
= 0 ;
46813 char * kwnames
[] = {
46814 (char *) "self",(char *) "text", NULL
46817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46819 if (!SWIG_IsOK(res1
)) {
46820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46822 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46824 arg2
= wxString_in_helper(obj1
);
46825 if (arg2
== NULL
) SWIG_fail
;
46829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46830 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46831 wxPyEndAllowThreads(__tstate
);
46832 if (PyErr_Occurred()) SWIG_fail
;
46834 resultobj
= SWIG_Py_Void();
46849 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46850 PyObject
*resultobj
= 0;
46851 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46855 PyObject
*swig_obj
[1] ;
46857 if (!args
) SWIG_fail
;
46858 swig_obj
[0] = args
;
46859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46860 if (!SWIG_IsOK(res1
)) {
46861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46863 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46866 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46867 wxPyEndAllowThreads(__tstate
);
46868 if (PyErr_Occurred()) SWIG_fail
;
46872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46883 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46884 PyObject
*resultobj
= 0;
46885 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46886 wxBitmap
*arg2
= 0 ;
46891 PyObject
* obj0
= 0 ;
46892 PyObject
* obj1
= 0 ;
46893 char * kwnames
[] = {
46894 (char *) "self",(char *) "bitmap", NULL
46897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46899 if (!SWIG_IsOK(res1
)) {
46900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46902 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46904 if (!SWIG_IsOK(res2
)) {
46905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46910 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46913 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46914 wxPyEndAllowThreads(__tstate
);
46915 if (PyErr_Occurred()) SWIG_fail
;
46917 resultobj
= SWIG_Py_Void();
46924 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46925 PyObject
*resultobj
= 0;
46926 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46927 wxBitmap
*arg2
= 0 ;
46932 PyObject
* obj0
= 0 ;
46933 PyObject
* obj1
= 0 ;
46934 char * kwnames
[] = {
46935 (char *) "self",(char *) "bitmap", NULL
46938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46940 if (!SWIG_IsOK(res1
)) {
46941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46943 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46945 if (!SWIG_IsOK(res2
)) {
46946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46951 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46954 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46955 wxPyEndAllowThreads(__tstate
);
46956 if (PyErr_Occurred()) SWIG_fail
;
46958 resultobj
= SWIG_Py_Void();
46965 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46966 PyObject
*resultobj
= 0;
46967 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46968 wxBitmap
*arg2
= 0 ;
46973 PyObject
* obj0
= 0 ;
46974 PyObject
* obj1
= 0 ;
46975 char * kwnames
[] = {
46976 (char *) "self",(char *) "bitmap", NULL
46979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46981 if (!SWIG_IsOK(res1
)) {
46982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46984 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46986 if (!SWIG_IsOK(res2
)) {
46987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46992 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46995 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46996 wxPyEndAllowThreads(__tstate
);
46997 if (PyErr_Occurred()) SWIG_fail
;
46999 resultobj
= SWIG_Py_Void();
47006 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47010 return SWIG_Py_Void();
47013 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47014 return SWIG_Python_InitShadowInstance(args
);
47017 static PyMethodDef SwigMethods
[] = {
47018 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47020 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47022 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47023 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47025 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47026 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47028 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47030 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47031 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47032 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47033 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47034 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47041 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47042 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47043 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47044 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47046 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47048 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47049 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47051 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47053 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47054 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47056 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47057 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47059 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47061 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47063 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47064 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47066 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47068 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47070 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47071 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47072 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47074 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47075 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47078 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47079 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47082 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47084 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47085 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47086 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47087 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47088 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47089 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47090 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47091 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47092 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47094 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47095 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47097 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47100 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47102 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47103 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47104 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47106 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47108 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47110 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47111 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47113 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47116 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47117 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47119 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47121 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47122 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47124 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47125 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47127 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47131 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47132 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47134 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47136 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47140 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47141 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47143 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47154 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47159 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47165 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47166 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47168 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47172 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47173 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47174 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47176 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47177 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47187 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47188 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47189 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47190 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47191 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47192 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47193 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47195 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47196 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47197 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47198 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47199 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47200 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47201 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47202 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47203 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47204 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47206 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47207 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47209 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47211 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47213 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47218 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47219 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47220 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47221 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47222 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47223 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47224 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47225 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47230 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47231 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47240 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47246 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47247 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47248 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47249 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47250 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47251 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47252 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47253 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47254 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47255 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47257 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47258 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47259 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47261 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47264 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47268 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47269 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47271 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47272 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47273 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47274 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47275 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47277 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47279 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47280 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47281 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47282 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47283 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47286 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47287 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47289 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47291 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47292 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47293 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47298 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47300 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47301 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47303 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47305 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47309 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47310 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47313 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47314 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47316 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47318 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47319 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47321 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47324 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47325 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47327 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47335 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47336 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47343 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47344 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47346 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47348 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47351 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47352 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47354 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47356 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47359 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47360 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47365 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47366 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47368 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47370 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47371 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47373 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47374 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47375 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47378 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47379 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47381 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47384 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47386 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47387 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47388 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47390 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47391 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47396 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47399 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47401 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47403 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47405 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47407 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47408 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47411 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47419 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47421 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47423 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47425 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47426 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47428 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47430 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47433 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47437 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47438 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47440 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47441 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47443 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47445 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47446 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47447 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47449 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47450 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47452 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47454 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47455 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47456 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47458 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47459 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47461 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47469 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47470 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47471 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47473 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47474 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47476 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47478 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47479 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47480 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47481 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47483 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47484 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47485 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47486 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47487 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47488 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47489 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47490 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47491 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47492 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47493 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47494 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47495 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47496 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47497 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47498 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47499 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47500 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47501 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47503 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47510 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47512 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47514 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47522 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47527 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47528 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47545 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47546 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47547 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47548 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47551 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47552 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47554 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47555 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47558 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47559 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47560 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47562 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47567 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47568 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47570 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47574 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47575 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47576 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47577 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47578 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47579 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47581 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47582 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47583 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47584 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47585 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47586 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47587 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47601 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47602 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47603 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47604 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47605 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47606 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47607 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47608 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47609 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47610 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47611 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47612 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47613 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47614 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47615 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47616 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47617 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47618 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47619 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47620 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47621 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47622 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47623 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47624 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47625 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47626 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47627 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47628 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47629 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47630 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47631 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47632 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47633 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47634 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47635 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47636 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47638 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47639 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47640 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47641 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47642 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47643 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47644 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47645 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47646 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47647 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47648 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47649 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47650 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47651 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47652 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47653 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47654 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47655 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47656 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47657 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47658 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47659 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47660 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47661 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47663 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47664 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47666 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47673 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47674 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47675 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47690 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47691 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47692 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47694 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47695 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47697 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47698 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47703 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47704 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47709 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47711 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47712 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47735 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47737 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47738 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47739 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47740 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47744 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47746 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47750 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47751 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47752 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47753 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47754 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47757 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47758 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47759 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47760 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47762 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47763 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47765 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47767 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47768 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47769 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47770 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47771 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47773 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47775 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47776 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47777 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47778 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47779 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47780 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47781 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47782 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47785 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47786 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47787 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47788 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47789 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47792 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47793 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47795 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47797 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47798 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47809 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47817 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47825 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47826 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47827 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47828 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47829 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47830 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47836 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47839 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47846 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47849 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47852 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47855 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47857 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47863 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47869 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47870 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47871 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47872 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47873 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47877 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47879 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47880 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47883 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47884 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47886 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47887 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47888 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47889 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47890 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47892 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47893 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47894 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47895 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47896 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47897 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47900 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47901 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47903 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47904 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47910 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47911 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47912 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47913 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47914 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47915 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47916 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47917 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47918 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47920 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47922 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47924 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47926 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47928 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47929 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47931 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47933 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47934 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47935 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47937 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47938 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47939 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47941 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47947 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47948 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47949 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47950 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47951 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47952 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47955 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47957 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47958 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47960 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47962 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47964 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47965 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47966 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47968 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47970 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47971 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47973 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47976 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47978 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47979 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47980 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47981 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47982 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47983 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47985 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47987 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47988 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47989 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47990 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47991 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47992 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47993 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47994 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47995 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47996 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47998 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47999 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48000 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48001 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48002 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48004 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48005 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48006 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48007 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48008 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48009 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48010 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48011 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48012 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48013 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48014 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48015 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48016 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48017 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48018 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48020 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48022 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48023 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48025 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48026 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48027 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48028 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48029 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48030 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48032 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48033 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48034 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48035 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48036 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48037 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48038 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48039 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48040 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48041 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48042 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48043 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48044 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48045 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48046 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48047 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48048 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48050 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48051 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48052 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48053 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48055 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48056 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48057 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48058 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48059 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48060 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48061 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48062 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48063 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48064 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48065 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48067 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48069 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48070 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48071 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48072 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48073 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48074 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48075 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48076 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48077 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48079 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48080 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48082 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48083 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48084 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48085 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48086 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48087 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48088 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48089 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48090 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48091 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48092 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48093 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48094 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48095 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48096 { NULL
, NULL
, 0, NULL
}
48100 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48102 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48105 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48106 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48108 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48109 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48111 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48112 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48114 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48115 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48117 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48120 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48123 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48124 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48126 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48129 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48132 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48135 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48136 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48138 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48141 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48144 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48147 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48148 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48150 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48151 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48153 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48154 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48156 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48157 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48159 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48160 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48162 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48163 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48165 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48166 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48168 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48169 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48171 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48174 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48175 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48177 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48180 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48181 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48183 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48184 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48186 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48187 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48189 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48190 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48192 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48193 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48195 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48196 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48198 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48201 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48204 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48205 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48207 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48208 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48210 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48213 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48216 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48217 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48219 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48220 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48222 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48223 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48225 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48226 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48228 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48231 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48232 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48234 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48235 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48237 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48238 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48240 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48241 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48243 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48244 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48246 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48249 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48252 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48253 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48255 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48256 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48258 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48259 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48261 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48262 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48264 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48265 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48267 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48268 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48270 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48271 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48273 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48274 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48276 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48277 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48279 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48280 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48282 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48283 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48285 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48286 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48288 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48289 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48291 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48292 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48294 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48295 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48297 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48298 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48300 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48301 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48303 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48304 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48306 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48307 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48309 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48310 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48312 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48313 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48315 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48316 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48318 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48319 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48321 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48322 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48324 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48325 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48327 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48328 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48330 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48331 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48333 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48334 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48336 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48337 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48339 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48340 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48342 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48343 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48345 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48346 return (void *)((wxControl
*) ((wxGauge
*) x
));
48348 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48349 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48351 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48352 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48354 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48355 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48357 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48358 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48360 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48361 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48363 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48364 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48366 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48367 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48369 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48370 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48372 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48373 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48375 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48376 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48378 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48379 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48381 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48382 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48384 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48385 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48387 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48388 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48390 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48391 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48393 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48394 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48396 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48397 return (void *)((wxControl
*) ((wxSlider
*) x
));
48399 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48400 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48402 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48403 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48405 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48406 return (void *)((wxControl
*) ((wxButton
*) x
));
48408 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48409 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48411 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48412 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48414 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48415 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48417 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48418 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48420 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48421 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48423 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48424 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48426 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48427 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48429 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48430 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48432 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48433 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48435 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48436 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48438 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48439 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48441 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48442 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48444 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48445 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48447 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48448 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48450 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48451 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48453 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48454 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48456 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48457 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48459 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48460 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48462 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48463 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48465 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48466 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48468 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48469 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48471 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48472 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48474 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48475 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48477 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48478 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48480 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48481 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48483 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48486 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48487 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48489 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48490 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48492 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48495 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48496 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48498 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48499 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48501 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48504 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48507 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48508 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48510 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48513 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48516 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48519 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48520 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48522 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48525 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48528 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48531 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48534 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48537 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48540 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48543 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48544 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48546 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48549 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48552 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48555 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48558 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48561 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48564 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48567 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48570 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48573 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48576 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48579 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48582 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48585 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48588 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48591 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48594 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48597 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48600 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48603 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48606 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48609 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48612 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48615 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48618 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48621 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48624 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48627 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48630 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48633 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48636 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48639 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48642 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48643 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48645 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48646 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48648 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48649 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48651 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48652 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48654 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48655 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48657 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48660 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48663 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48666 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48669 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48672 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48675 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48678 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48681 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48684 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48687 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) ((wxSizer
*) x
));
48690 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48693 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48696 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48699 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48702 static void *_p_wxEventTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) ((wxEvent
*) x
));
48705 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48708 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48711 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48714 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48717 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48720 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48723 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48726 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48729 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48732 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48733 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48735 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48736 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48738 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48739 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48741 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48742 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48744 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48745 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48747 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48748 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48750 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48753 static void *_p_wxControlTo_p_wxObject(void *x
) {
48754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48756 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48759 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48762 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48765 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48768 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48771 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48772 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48774 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48777 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48780 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48783 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48786 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48787 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48789 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48790 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48792 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48795 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48798 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48801 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48804 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48807 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48808 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48810 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48813 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48816 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48819 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48820 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48822 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48825 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48828 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48829 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48831 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48834 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48835 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48837 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48840 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48841 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48843 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48844 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48846 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48847 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48849 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48850 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48852 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48853 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48855 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48856 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48858 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48861 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48862 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48864 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48867 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48870 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48873 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48876 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48879 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48882 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48885 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48886 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48888 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48889 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48891 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48894 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48895 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48897 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48900 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48901 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48903 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48906 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48909 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48912 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48913 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48915 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48916 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48918 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48921 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48924 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48927 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48930 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48933 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48936 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48939 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48940 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48942 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48943 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48945 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48948 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48951 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48954 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48957 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48958 return (void *)((wxObject
*) ((wxListItem
*) x
));
48960 static void *_p_wxImageTo_p_wxObject(void *x
) {
48961 return (void *)((wxObject
*) ((wxImage
*) x
));
48963 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48964 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48966 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48969 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48970 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48972 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48975 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48978 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48981 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48984 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48987 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48990 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48993 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48994 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48996 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48997 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48999 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49002 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49003 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49005 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49008 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49009 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49011 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49014 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49017 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49018 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49020 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49021 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49023 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49024 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49026 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49027 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49029 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49030 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49032 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49035 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49038 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49041 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49042 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49044 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49047 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49048 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49050 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49051 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49053 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49056 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49059 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49062 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49065 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49068 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49071 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49074 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49077 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49078 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49080 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49083 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49086 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49087 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49089 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49090 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49092 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49093 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49095 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49096 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49098 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49099 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49101 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49102 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49104 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49105 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49107 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49108 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49110 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49111 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49113 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49114 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49116 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49117 return (void *)((wxWindow
*) ((wxControl
*) x
));
49119 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49120 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49122 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49123 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49125 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49126 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49128 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49129 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49131 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49132 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49134 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49135 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49137 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49138 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49140 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49141 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49143 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49144 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49146 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49147 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49149 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49150 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49152 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49153 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49155 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49156 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49158 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49159 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49161 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49162 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49164 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49165 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49167 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49168 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49170 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49171 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49173 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49174 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49176 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49177 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49179 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49180 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49182 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49183 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49185 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49186 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49188 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49189 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49191 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49192 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49194 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49195 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49197 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49198 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49200 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49201 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49203 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49204 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49206 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49207 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49209 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49210 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49212 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49213 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49215 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49216 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49218 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49219 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49221 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49222 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49224 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49225 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49227 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49228 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49230 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49231 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49233 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49234 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49236 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49237 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49239 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49240 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49242 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49243 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49245 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49246 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49248 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49249 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49251 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49252 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49254 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49255 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49257 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49258 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49260 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49261 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49263 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49264 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49266 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49267 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49269 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49270 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49272 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49273 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49275 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49276 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49278 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49279 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49281 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49282 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49284 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49285 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49287 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49288 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49290 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49293 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49294 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49296 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49297 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49299 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49300 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49302 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49303 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49305 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49306 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49308 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49309 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49311 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49312 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49314 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49315 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49317 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49318 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49320 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49321 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49323 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49324 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49326 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49327 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49329 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49330 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49332 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49333 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49335 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49336 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49338 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49339 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49340 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};
49341 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49342 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49343 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49344 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49345 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49346 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49347 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49348 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49349 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49350 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49351 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49352 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49353 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49354 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49355 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49356 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49357 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49358 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49359 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49360 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49361 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49362 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49363 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49364 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49365 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49366 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49367 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49368 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49369 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49370 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49371 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49372 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49373 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49374 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49375 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49376 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49377 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49378 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49379 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49380 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49381 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49382 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49383 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49384 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49385 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49387 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49388 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49389 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49390 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49391 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49392 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49393 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49394 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49395 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49396 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49397 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49398 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49399 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49400 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49401 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49402 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49403 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49404 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49405 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49406 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49407 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49408 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49409 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49410 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49411 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49412 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49413 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49414 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49415 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49416 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49417 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49418 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49419 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49420 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49421 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49422 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49432 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49433 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49434 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49435 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49436 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49437 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49438 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49439 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49440 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49441 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49442 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49443 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49444 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49445 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49446 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49447 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49448 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49449 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49450 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49451 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49452 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49453 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49454 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49455 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49456 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49457 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49458 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49459 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49460 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49461 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49462 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49463 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49464 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49465 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49466 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49467 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49468 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49469 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49470 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49471 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49472 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49473 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49474 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49475 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49476 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49477 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49478 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49486 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49487 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49488 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49489 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49490 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49491 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49492 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49493 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49494 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49495 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49496 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49497 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49498 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49499 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49500 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49501 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49502 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49503 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49504 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49505 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49506 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49507 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49508 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49509 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49510 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49511 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49512 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49513 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49514 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49515 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49516 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49517 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49519 static swig_type_info
*swig_type_initial
[] = {
49522 &_swigt__p_form_ops_t
,
49525 &_swigt__p_unsigned_char
,
49526 &_swigt__p_unsigned_int
,
49527 &_swigt__p_unsigned_long
,
49529 &_swigt__p_wxANIHandler
,
49530 &_swigt__p_wxAcceleratorTable
,
49531 &_swigt__p_wxActivateEvent
,
49532 &_swigt__p_wxArrayInt
,
49533 &_swigt__p_wxArrayString
,
49534 &_swigt__p_wxBMPHandler
,
49535 &_swigt__p_wxBitmap
,
49536 &_swigt__p_wxBitmapButton
,
49537 &_swigt__p_wxBookCtrlBase
,
49538 &_swigt__p_wxBookCtrlBaseEvent
,
49539 &_swigt__p_wxBoxSizer
,
49540 &_swigt__p_wxButton
,
49541 &_swigt__p_wxCURHandler
,
49542 &_swigt__p_wxCheckBox
,
49543 &_swigt__p_wxCheckListBox
,
49544 &_swigt__p_wxChildFocusEvent
,
49545 &_swigt__p_wxChoice
,
49546 &_swigt__p_wxChoicebook
,
49547 &_swigt__p_wxChoicebookEvent
,
49548 &_swigt__p_wxClipboardTextEvent
,
49549 &_swigt__p_wxCloseEvent
,
49550 &_swigt__p_wxCollapsiblePane
,
49551 &_swigt__p_wxCollapsiblePaneEvent
,
49552 &_swigt__p_wxColour
,
49553 &_swigt__p_wxColourPickerCtrl
,
49554 &_swigt__p_wxColourPickerEvent
,
49555 &_swigt__p_wxComboBox
,
49556 &_swigt__p_wxCommandEvent
,
49557 &_swigt__p_wxContextHelp
,
49558 &_swigt__p_wxContextHelpButton
,
49559 &_swigt__p_wxContextMenuEvent
,
49560 &_swigt__p_wxControl
,
49561 &_swigt__p_wxControlWithItems
,
49562 &_swigt__p_wxCursor
,
49564 &_swigt__p_wxDateEvent
,
49565 &_swigt__p_wxDatePickerCtrl
,
49566 &_swigt__p_wxDateTime
,
49567 &_swigt__p_wxDirFilterListCtrl
,
49568 &_swigt__p_wxDirPickerCtrl
,
49569 &_swigt__p_wxDisplayChangedEvent
,
49570 &_swigt__p_wxDropFilesEvent
,
49571 &_swigt__p_wxDuplexMode
,
49572 &_swigt__p_wxEraseEvent
,
49573 &_swigt__p_wxEvent
,
49574 &_swigt__p_wxEventBlocker
,
49575 &_swigt__p_wxEvtHandler
,
49576 &_swigt__p_wxFSFile
,
49577 &_swigt__p_wxFileDirPickerEvent
,
49578 &_swigt__p_wxFilePickerCtrl
,
49579 &_swigt__p_wxFileSystem
,
49580 &_swigt__p_wxFlexGridSizer
,
49581 &_swigt__p_wxFocusEvent
,
49583 &_swigt__p_wxFontPickerCtrl
,
49584 &_swigt__p_wxFontPickerEvent
,
49585 &_swigt__p_wxGBSizerItem
,
49586 &_swigt__p_wxGIFHandler
,
49587 &_swigt__p_wxGauge
,
49588 &_swigt__p_wxGenericDirCtrl
,
49589 &_swigt__p_wxGenericDragImage
,
49590 &_swigt__p_wxGridBagSizer
,
49591 &_swigt__p_wxGridSizer
,
49592 &_swigt__p_wxHelpEvent
,
49593 &_swigt__p_wxHelpProvider
,
49594 &_swigt__p_wxHyperlinkCtrl
,
49595 &_swigt__p_wxHyperlinkEvent
,
49596 &_swigt__p_wxICOHandler
,
49598 &_swigt__p_wxIconizeEvent
,
49599 &_swigt__p_wxIdleEvent
,
49600 &_swigt__p_wxImage
,
49601 &_swigt__p_wxImageHandler
,
49602 &_swigt__p_wxImageList
,
49603 &_swigt__p_wxIndividualLayoutConstraint
,
49604 &_swigt__p_wxInitDialogEvent
,
49605 &_swigt__p_wxItemContainer
,
49606 &_swigt__p_wxJPEGHandler
,
49607 &_swigt__p_wxKeyEvent
,
49608 &_swigt__p_wxLayoutConstraints
,
49609 &_swigt__p_wxListBox
,
49610 &_swigt__p_wxListEvent
,
49611 &_swigt__p_wxListItem
,
49612 &_swigt__p_wxListItemAttr
,
49613 &_swigt__p_wxListView
,
49614 &_swigt__p_wxListbook
,
49615 &_swigt__p_wxListbookEvent
,
49616 &_swigt__p_wxMaximizeEvent
,
49617 &_swigt__p_wxMemoryDC
,
49619 &_swigt__p_wxMenuBar
,
49620 &_swigt__p_wxMenuEvent
,
49621 &_swigt__p_wxMenuItem
,
49622 &_swigt__p_wxMouseCaptureChangedEvent
,
49623 &_swigt__p_wxMouseCaptureLostEvent
,
49624 &_swigt__p_wxMouseEvent
,
49625 &_swigt__p_wxMoveEvent
,
49626 &_swigt__p_wxNavigationKeyEvent
,
49627 &_swigt__p_wxNcPaintEvent
,
49628 &_swigt__p_wxNotebook
,
49629 &_swigt__p_wxNotebookEvent
,
49630 &_swigt__p_wxNotifyEvent
,
49631 &_swigt__p_wxObject
,
49632 &_swigt__p_wxPCXHandler
,
49633 &_swigt__p_wxPNGHandler
,
49634 &_swigt__p_wxPNMHandler
,
49635 &_swigt__p_wxPaintEvent
,
49636 &_swigt__p_wxPaletteChangedEvent
,
49637 &_swigt__p_wxPaperSize
,
49638 &_swigt__p_wxPickerBase
,
49639 &_swigt__p_wxPoint
,
49640 &_swigt__p_wxPyApp
,
49641 &_swigt__p_wxPyCommandEvent
,
49642 &_swigt__p_wxPyControl
,
49643 &_swigt__p_wxPyEvent
,
49644 &_swigt__p_wxPyImageHandler
,
49645 &_swigt__p_wxPyListCtrl
,
49646 &_swigt__p_wxPySizer
,
49647 &_swigt__p_wxPyTreeCtrl
,
49648 &_swigt__p_wxPyTreeItemData
,
49649 &_swigt__p_wxPyValidator
,
49650 &_swigt__p_wxQueryNewPaletteEvent
,
49651 &_swigt__p_wxRadioBox
,
49652 &_swigt__p_wxRadioButton
,
49654 &_swigt__p_wxScrollBar
,
49655 &_swigt__p_wxScrollEvent
,
49656 &_swigt__p_wxScrollWinEvent
,
49657 &_swigt__p_wxSearchCtrl
,
49658 &_swigt__p_wxSetCursorEvent
,
49659 &_swigt__p_wxShowEvent
,
49660 &_swigt__p_wxSimpleHelpProvider
,
49662 &_swigt__p_wxSizeEvent
,
49663 &_swigt__p_wxSizer
,
49664 &_swigt__p_wxSizerItem
,
49665 &_swigt__p_wxSlider
,
49666 &_swigt__p_wxSpinButton
,
49667 &_swigt__p_wxSpinCtrl
,
49668 &_swigt__p_wxSpinEvent
,
49669 &_swigt__p_wxStaticBitmap
,
49670 &_swigt__p_wxStaticBox
,
49671 &_swigt__p_wxStaticBoxSizer
,
49672 &_swigt__p_wxStaticLine
,
49673 &_swigt__p_wxStaticText
,
49674 &_swigt__p_wxStdDialogButtonSizer
,
49675 &_swigt__p_wxString
,
49676 &_swigt__p_wxSysColourChangedEvent
,
49677 &_swigt__p_wxTGAHandler
,
49678 &_swigt__p_wxTIFFHandler
,
49679 &_swigt__p_wxTextAttr
,
49680 &_swigt__p_wxTextCtrl
,
49681 &_swigt__p_wxTextUrlEvent
,
49682 &_swigt__p_wxToggleButton
,
49683 &_swigt__p_wxToolBar
,
49684 &_swigt__p_wxToolBarBase
,
49685 &_swigt__p_wxToolBarToolBase
,
49686 &_swigt__p_wxToolbook
,
49687 &_swigt__p_wxToolbookEvent
,
49688 &_swigt__p_wxTreeEvent
,
49689 &_swigt__p_wxTreeItemId
,
49690 &_swigt__p_wxTreebook
,
49691 &_swigt__p_wxTreebookEvent
,
49692 &_swigt__p_wxUpdateUIEvent
,
49693 &_swigt__p_wxValidator
,
49694 &_swigt__p_wxVisualAttributes
,
49695 &_swigt__p_wxWindow
,
49696 &_swigt__p_wxWindowBase
,
49697 &_swigt__p_wxWindowCreateEvent
,
49698 &_swigt__p_wxWindowDestroyEvent
,
49699 &_swigt__p_wxXPMHandler
,
49702 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49714 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}};
49715 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}};
49716 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}};
49717 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}};
49718 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49720 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}};
49721 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49723 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49726 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49727 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49728 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49729 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49730 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49731 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49732 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49733 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49734 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49735 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49736 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49737 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49738 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}};
49739 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49740 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49741 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}};
49742 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}};
49743 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49744 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49745 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49746 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49747 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49748 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49749 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49758 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49759 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49761 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49762 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49763 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49764 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49765 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49766 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49767 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49768 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49769 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49771 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49772 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49773 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49774 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49775 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}};
49776 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49780 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}};
49781 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49782 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49783 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49785 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49786 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49787 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49788 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49789 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49790 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}};
49791 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49792 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49794 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49795 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}};
49796 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49797 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}};
49798 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49803 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49804 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49807 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49809 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}};
49810 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49811 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49812 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49813 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49814 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49815 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49816 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49817 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49818 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49819 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49820 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49821 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49822 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49823 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49834 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49835 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49836 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49837 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49838 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49839 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49840 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49841 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}};
49842 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49843 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}};
49844 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49845 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49846 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}};
49847 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49856 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49857 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49863 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49864 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49866 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}};
49867 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49870 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}};
49871 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49878 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}};
49879 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49880 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}};
49881 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info
*swig_cast_initial
[] = {
49886 _swigc__p_form_ops_t
,
49889 _swigc__p_unsigned_char
,
49890 _swigc__p_unsigned_int
,
49891 _swigc__p_unsigned_long
,
49893 _swigc__p_wxANIHandler
,
49894 _swigc__p_wxAcceleratorTable
,
49895 _swigc__p_wxActivateEvent
,
49896 _swigc__p_wxArrayInt
,
49897 _swigc__p_wxArrayString
,
49898 _swigc__p_wxBMPHandler
,
49899 _swigc__p_wxBitmap
,
49900 _swigc__p_wxBitmapButton
,
49901 _swigc__p_wxBookCtrlBase
,
49902 _swigc__p_wxBookCtrlBaseEvent
,
49903 _swigc__p_wxBoxSizer
,
49904 _swigc__p_wxButton
,
49905 _swigc__p_wxCURHandler
,
49906 _swigc__p_wxCheckBox
,
49907 _swigc__p_wxCheckListBox
,
49908 _swigc__p_wxChildFocusEvent
,
49909 _swigc__p_wxChoice
,
49910 _swigc__p_wxChoicebook
,
49911 _swigc__p_wxChoicebookEvent
,
49912 _swigc__p_wxClipboardTextEvent
,
49913 _swigc__p_wxCloseEvent
,
49914 _swigc__p_wxCollapsiblePane
,
49915 _swigc__p_wxCollapsiblePaneEvent
,
49916 _swigc__p_wxColour
,
49917 _swigc__p_wxColourPickerCtrl
,
49918 _swigc__p_wxColourPickerEvent
,
49919 _swigc__p_wxComboBox
,
49920 _swigc__p_wxCommandEvent
,
49921 _swigc__p_wxContextHelp
,
49922 _swigc__p_wxContextHelpButton
,
49923 _swigc__p_wxContextMenuEvent
,
49924 _swigc__p_wxControl
,
49925 _swigc__p_wxControlWithItems
,
49926 _swigc__p_wxCursor
,
49928 _swigc__p_wxDateEvent
,
49929 _swigc__p_wxDatePickerCtrl
,
49930 _swigc__p_wxDateTime
,
49931 _swigc__p_wxDirFilterListCtrl
,
49932 _swigc__p_wxDirPickerCtrl
,
49933 _swigc__p_wxDisplayChangedEvent
,
49934 _swigc__p_wxDropFilesEvent
,
49935 _swigc__p_wxDuplexMode
,
49936 _swigc__p_wxEraseEvent
,
49938 _swigc__p_wxEventBlocker
,
49939 _swigc__p_wxEvtHandler
,
49940 _swigc__p_wxFSFile
,
49941 _swigc__p_wxFileDirPickerEvent
,
49942 _swigc__p_wxFilePickerCtrl
,
49943 _swigc__p_wxFileSystem
,
49944 _swigc__p_wxFlexGridSizer
,
49945 _swigc__p_wxFocusEvent
,
49947 _swigc__p_wxFontPickerCtrl
,
49948 _swigc__p_wxFontPickerEvent
,
49949 _swigc__p_wxGBSizerItem
,
49950 _swigc__p_wxGIFHandler
,
49952 _swigc__p_wxGenericDirCtrl
,
49953 _swigc__p_wxGenericDragImage
,
49954 _swigc__p_wxGridBagSizer
,
49955 _swigc__p_wxGridSizer
,
49956 _swigc__p_wxHelpEvent
,
49957 _swigc__p_wxHelpProvider
,
49958 _swigc__p_wxHyperlinkCtrl
,
49959 _swigc__p_wxHyperlinkEvent
,
49960 _swigc__p_wxICOHandler
,
49962 _swigc__p_wxIconizeEvent
,
49963 _swigc__p_wxIdleEvent
,
49965 _swigc__p_wxImageHandler
,
49966 _swigc__p_wxImageList
,
49967 _swigc__p_wxIndividualLayoutConstraint
,
49968 _swigc__p_wxInitDialogEvent
,
49969 _swigc__p_wxItemContainer
,
49970 _swigc__p_wxJPEGHandler
,
49971 _swigc__p_wxKeyEvent
,
49972 _swigc__p_wxLayoutConstraints
,
49973 _swigc__p_wxListBox
,
49974 _swigc__p_wxListEvent
,
49975 _swigc__p_wxListItem
,
49976 _swigc__p_wxListItemAttr
,
49977 _swigc__p_wxListView
,
49978 _swigc__p_wxListbook
,
49979 _swigc__p_wxListbookEvent
,
49980 _swigc__p_wxMaximizeEvent
,
49981 _swigc__p_wxMemoryDC
,
49983 _swigc__p_wxMenuBar
,
49984 _swigc__p_wxMenuEvent
,
49985 _swigc__p_wxMenuItem
,
49986 _swigc__p_wxMouseCaptureChangedEvent
,
49987 _swigc__p_wxMouseCaptureLostEvent
,
49988 _swigc__p_wxMouseEvent
,
49989 _swigc__p_wxMoveEvent
,
49990 _swigc__p_wxNavigationKeyEvent
,
49991 _swigc__p_wxNcPaintEvent
,
49992 _swigc__p_wxNotebook
,
49993 _swigc__p_wxNotebookEvent
,
49994 _swigc__p_wxNotifyEvent
,
49995 _swigc__p_wxObject
,
49996 _swigc__p_wxPCXHandler
,
49997 _swigc__p_wxPNGHandler
,
49998 _swigc__p_wxPNMHandler
,
49999 _swigc__p_wxPaintEvent
,
50000 _swigc__p_wxPaletteChangedEvent
,
50001 _swigc__p_wxPaperSize
,
50002 _swigc__p_wxPickerBase
,
50005 _swigc__p_wxPyCommandEvent
,
50006 _swigc__p_wxPyControl
,
50007 _swigc__p_wxPyEvent
,
50008 _swigc__p_wxPyImageHandler
,
50009 _swigc__p_wxPyListCtrl
,
50010 _swigc__p_wxPySizer
,
50011 _swigc__p_wxPyTreeCtrl
,
50012 _swigc__p_wxPyTreeItemData
,
50013 _swigc__p_wxPyValidator
,
50014 _swigc__p_wxQueryNewPaletteEvent
,
50015 _swigc__p_wxRadioBox
,
50016 _swigc__p_wxRadioButton
,
50018 _swigc__p_wxScrollBar
,
50019 _swigc__p_wxScrollEvent
,
50020 _swigc__p_wxScrollWinEvent
,
50021 _swigc__p_wxSearchCtrl
,
50022 _swigc__p_wxSetCursorEvent
,
50023 _swigc__p_wxShowEvent
,
50024 _swigc__p_wxSimpleHelpProvider
,
50026 _swigc__p_wxSizeEvent
,
50028 _swigc__p_wxSizerItem
,
50029 _swigc__p_wxSlider
,
50030 _swigc__p_wxSpinButton
,
50031 _swigc__p_wxSpinCtrl
,
50032 _swigc__p_wxSpinEvent
,
50033 _swigc__p_wxStaticBitmap
,
50034 _swigc__p_wxStaticBox
,
50035 _swigc__p_wxStaticBoxSizer
,
50036 _swigc__p_wxStaticLine
,
50037 _swigc__p_wxStaticText
,
50038 _swigc__p_wxStdDialogButtonSizer
,
50039 _swigc__p_wxString
,
50040 _swigc__p_wxSysColourChangedEvent
,
50041 _swigc__p_wxTGAHandler
,
50042 _swigc__p_wxTIFFHandler
,
50043 _swigc__p_wxTextAttr
,
50044 _swigc__p_wxTextCtrl
,
50045 _swigc__p_wxTextUrlEvent
,
50046 _swigc__p_wxToggleButton
,
50047 _swigc__p_wxToolBar
,
50048 _swigc__p_wxToolBarBase
,
50049 _swigc__p_wxToolBarToolBase
,
50050 _swigc__p_wxToolbook
,
50051 _swigc__p_wxToolbookEvent
,
50052 _swigc__p_wxTreeEvent
,
50053 _swigc__p_wxTreeItemId
,
50054 _swigc__p_wxTreebook
,
50055 _swigc__p_wxTreebookEvent
,
50056 _swigc__p_wxUpdateUIEvent
,
50057 _swigc__p_wxValidator
,
50058 _swigc__p_wxVisualAttributes
,
50059 _swigc__p_wxWindow
,
50060 _swigc__p_wxWindowBase
,
50061 _swigc__p_wxWindowCreateEvent
,
50062 _swigc__p_wxWindowDestroyEvent
,
50063 _swigc__p_wxXPMHandler
,
50067 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50069 static swig_const_info swig_const_table
[] = {
50070 {0, 0, 0, 0.0, 0, 0}};
50075 /* -----------------------------------------------------------------------------
50076 * Type initialization:
50077 * This problem is tough by the requirement that no dynamic
50078 * memory is used. Also, since swig_type_info structures store pointers to
50079 * swig_cast_info structures and swig_cast_info structures store pointers back
50080 * to swig_type_info structures, we need some lookup code at initialization.
50081 * The idea is that swig generates all the structures that are needed.
50082 * The runtime then collects these partially filled structures.
50083 * The SWIG_InitializeModule function takes these initial arrays out of
50084 * swig_module, and does all the lookup, filling in the swig_module.types
50085 * array with the correct data and linking the correct swig_cast_info
50086 * structures together.
50088 * The generated swig_type_info structures are assigned staticly to an initial
50089 * array. We just loop though that array, and handle each type individually.
50090 * First we lookup if this type has been already loaded, and if so, use the
50091 * loaded structure instead of the generated one. Then we have to fill in the
50092 * cast linked list. The cast data is initially stored in something like a
50093 * two-dimensional array. Each row corresponds to a type (there are the same
50094 * number of rows as there are in the swig_type_initial array). Each entry in
50095 * a column is one of the swig_cast_info structures for that type.
50096 * The cast_initial array is actually an array of arrays, because each row has
50097 * a variable number of columns. So to actually build the cast linked list,
50098 * we find the array of casts associated with the type, and loop through it
50099 * adding the casts to the list. The one last trick we need to do is making
50100 * sure the type pointer in the swig_cast_info struct is correct.
50102 * First off, we lookup the cast->type name to see if it is already loaded.
50103 * There are three cases to handle:
50104 * 1) If the cast->type has already been loaded AND the type we are adding
50105 * casting info to has not been loaded (it is in this module), THEN we
50106 * replace the cast->type pointer with the type pointer that has already
50108 * 2) If BOTH types (the one we are adding casting info to, and the
50109 * cast->type) are loaded, THEN the cast info has already been loaded by
50110 * the previous module so we just ignore it.
50111 * 3) Finally, if cast->type has not already been loaded, then we add that
50112 * swig_cast_info to the linked list (because the cast->type) pointer will
50114 * ----------------------------------------------------------------------------- */
50124 #define SWIGRUNTIME_DEBUG
50128 SWIG_InitializeModule(void *clientdata
) {
50130 swig_module_info
*module_head
;
50131 static int init_run
= 0;
50133 clientdata
= clientdata
;
50135 if (init_run
) return;
50138 /* Initialize the swig_module */
50139 swig_module
.type_initial
= swig_type_initial
;
50140 swig_module
.cast_initial
= swig_cast_initial
;
50142 /* Try and load any already created modules */
50143 module_head
= SWIG_GetModule(clientdata
);
50145 swig_module
.next
= module_head
->next
;
50146 module_head
->next
= &swig_module
;
50148 /* This is the first module loaded */
50149 swig_module
.next
= &swig_module
;
50150 SWIG_SetModule(clientdata
, &swig_module
);
50153 /* Now work on filling in swig_module.types */
50154 #ifdef SWIGRUNTIME_DEBUG
50155 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50157 for (i
= 0; i
< swig_module
.size
; ++i
) {
50158 swig_type_info
*type
= 0;
50159 swig_type_info
*ret
;
50160 swig_cast_info
*cast
;
50162 #ifdef SWIGRUNTIME_DEBUG
50163 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50166 /* if there is another module already loaded */
50167 if (swig_module
.next
!= &swig_module
) {
50168 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50171 /* Overwrite clientdata field */
50172 #ifdef SWIGRUNTIME_DEBUG
50173 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50175 if (swig_module
.type_initial
[i
]->clientdata
) {
50176 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50177 #ifdef SWIGRUNTIME_DEBUG
50178 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50182 type
= swig_module
.type_initial
[i
];
50185 /* Insert casting types */
50186 cast
= swig_module
.cast_initial
[i
];
50187 while (cast
->type
) {
50188 /* Don't need to add information already in the list */
50190 #ifdef SWIGRUNTIME_DEBUG
50191 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50193 if (swig_module
.next
!= &swig_module
) {
50194 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50195 #ifdef SWIGRUNTIME_DEBUG
50196 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50200 if (type
== swig_module
.type_initial
[i
]) {
50201 #ifdef SWIGRUNTIME_DEBUG
50202 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50207 /* Check for casting already in the list */
50208 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50209 #ifdef SWIGRUNTIME_DEBUG
50210 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50212 if (!ocast
) ret
= 0;
50217 #ifdef SWIGRUNTIME_DEBUG
50218 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50221 type
->cast
->prev
= cast
;
50222 cast
->next
= type
->cast
;
50228 /* Set entry in modules->types array equal to the type */
50229 swig_module
.types
[i
] = type
;
50231 swig_module
.types
[i
] = 0;
50233 #ifdef SWIGRUNTIME_DEBUG
50234 printf("**** SWIG_InitializeModule: Cast List ******\n");
50235 for (i
= 0; i
< swig_module
.size
; ++i
) {
50237 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50238 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50239 while (cast
->type
) {
50240 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50244 printf("---- Total casts: %d\n",j
);
50246 printf("**** SWIG_InitializeModule: Cast List ******\n");
50250 /* This function will propagate the clientdata field of type to
50251 * any new swig_type_info structures that have been added into the list
50252 * of equivalent types. It is like calling
50253 * SWIG_TypeClientData(type, clientdata) a second time.
50256 SWIG_PropagateClientData(void) {
50258 swig_cast_info
*equiv
;
50259 static int init_run
= 0;
50261 if (init_run
) return;
50264 for (i
= 0; i
< swig_module
.size
; i
++) {
50265 if (swig_module
.types
[i
]->clientdata
) {
50266 equiv
= swig_module
.types
[i
]->cast
;
50268 if (!equiv
->converter
) {
50269 if (equiv
->type
&& !equiv
->type
->clientdata
)
50270 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50272 equiv
= equiv
->next
;
50292 /* Python-specific SWIG API */
50293 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50294 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50295 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50297 /* -----------------------------------------------------------------------------
50298 * global variable support code.
50299 * ----------------------------------------------------------------------------- */
50301 typedef struct swig_globalvar
{
50302 char *name
; /* Name of global variable */
50303 PyObject
*(*get_attr
)(void); /* Return the current value */
50304 int (*set_attr
)(PyObject
*); /* Set the value */
50305 struct swig_globalvar
*next
;
50308 typedef struct swig_varlinkobject
{
50310 swig_globalvar
*vars
;
50311 } swig_varlinkobject
;
50313 SWIGINTERN PyObject
*
50314 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50315 return PyString_FromString("<Swig global variables>");
50318 SWIGINTERN PyObject
*
50319 swig_varlink_str(swig_varlinkobject
*v
) {
50320 PyObject
*str
= PyString_FromString("(");
50321 swig_globalvar
*var
;
50322 for (var
= v
->vars
; var
; var
=var
->next
) {
50323 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50324 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50326 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50331 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50332 PyObject
*str
= swig_varlink_str(v
);
50333 fprintf(fp
,"Swig global variables ");
50334 fprintf(fp
,"%s\n", PyString_AsString(str
));
50340 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50341 swig_globalvar
*var
= v
->vars
;
50343 swig_globalvar
*n
= var
->next
;
50350 SWIGINTERN PyObject
*
50351 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50352 PyObject
*res
= NULL
;
50353 swig_globalvar
*var
= v
->vars
;
50355 if (strcmp(var
->name
,n
) == 0) {
50356 res
= (*var
->get_attr
)();
50361 if (res
== NULL
&& !PyErr_Occurred()) {
50362 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50368 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50370 swig_globalvar
*var
= v
->vars
;
50372 if (strcmp(var
->name
,n
) == 0) {
50373 res
= (*var
->set_attr
)(p
);
50378 if (res
== 1 && !PyErr_Occurred()) {
50379 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50384 SWIGINTERN PyTypeObject
*
50385 swig_varlink_type(void) {
50386 static char varlink__doc__
[] = "Swig var link object";
50387 static PyTypeObject varlink_type
;
50388 static int type_init
= 0;
50390 const PyTypeObject tmp
50392 PyObject_HEAD_INIT(NULL
)
50393 0, /* Number of items in variable part (ob_size) */
50394 (char *)"swigvarlink", /* Type name (tp_name) */
50395 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50396 0, /* Itemsize (tp_itemsize) */
50397 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50398 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50399 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50400 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50401 0, /* tp_compare */
50402 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50403 0, /* tp_as_number */
50404 0, /* tp_as_sequence */
50405 0, /* tp_as_mapping */
50408 (reprfunc
)swig_varlink_str
, /* tp_str */
50409 0, /* tp_getattro */
50410 0, /* tp_setattro */
50411 0, /* tp_as_buffer */
50413 varlink__doc__
, /* tp_doc */
50414 0, /* tp_traverse */
50416 0, /* tp_richcompare */
50417 0, /* tp_weaklistoffset */
50418 #if PY_VERSION_HEX >= 0x02020000
50419 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50421 #if PY_VERSION_HEX >= 0x02030000
50424 #ifdef COUNT_ALLOCS
50425 0,0,0,0 /* tp_alloc -> tp_next */
50428 varlink_type
= tmp
;
50429 varlink_type
.ob_type
= &PyType_Type
;
50432 return &varlink_type
;
50435 /* Create a variable linking object for use later */
50436 SWIGINTERN PyObject
*
50437 SWIG_Python_newvarlink(void) {
50438 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50442 return ((PyObject
*) result
);
50446 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50447 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50448 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50450 size_t size
= strlen(name
)+1;
50451 gv
->name
= (char *)malloc(size
);
50453 strncpy(gv
->name
,name
,size
);
50454 gv
->get_attr
= get_attr
;
50455 gv
->set_attr
= set_attr
;
50456 gv
->next
= v
->vars
;
50462 SWIGINTERN PyObject
*
50464 static PyObject
*_SWIG_globals
= 0;
50465 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50466 return _SWIG_globals
;
50469 /* -----------------------------------------------------------------------------
50470 * constants/methods manipulation
50471 * ----------------------------------------------------------------------------- */
50473 /* Install Constants */
50475 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50478 for (i
= 0; constants
[i
].type
; ++i
) {
50479 switch(constants
[i
].type
) {
50480 case SWIG_PY_POINTER
:
50481 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50483 case SWIG_PY_BINARY
:
50484 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50491 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50497 /* -----------------------------------------------------------------------------*/
50498 /* Fix SwigMethods to carry the callback ptrs when needed */
50499 /* -----------------------------------------------------------------------------*/
50502 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50503 swig_const_info
*const_table
,
50504 swig_type_info
**types
,
50505 swig_type_info
**types_initial
) {
50507 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50508 const char *c
= methods
[i
].ml_doc
;
50509 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50511 swig_const_info
*ci
= 0;
50512 const char *name
= c
+ 10;
50513 for (j
= 0; const_table
[j
].type
; ++j
) {
50514 if (strncmp(const_table
[j
].name
, name
,
50515 strlen(const_table
[j
].name
)) == 0) {
50516 ci
= &(const_table
[j
]);
50521 size_t shift
= (ci
->ptype
) - types
;
50522 swig_type_info
*ty
= types_initial
[shift
];
50523 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50524 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50525 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50528 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50530 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50532 strncpy(buff
, "swig_ptr: ", 10);
50534 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50535 methods
[i
].ml_doc
= ndoc
;
50547 /* -----------------------------------------------------------------------------*
50548 * Partial Init method
50549 * -----------------------------------------------------------------------------*/
50554 SWIGEXPORT
void SWIG_init(void) {
50557 /* Fix SwigMethods to carry the callback ptrs when needed */
50558 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50560 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50561 d
= PyModule_GetDict(m
);
50563 SWIG_InitializeModule(0);
50564 SWIG_InstallConstants(d
,swig_const_table
);
50567 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50568 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50569 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50570 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50571 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50572 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50573 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50574 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50575 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50576 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50577 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50578 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50579 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50580 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50581 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50582 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50583 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50584 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50585 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50586 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50587 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50588 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50589 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50590 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50591 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50592 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50593 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50594 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50595 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50596 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50597 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50598 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50599 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50600 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50601 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50602 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50603 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50604 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50605 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50606 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50607 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50608 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50609 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50610 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50611 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50612 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50613 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50614 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50615 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50616 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50617 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50618 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50619 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50620 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50621 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50622 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50623 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50624 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50625 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50626 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50627 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50628 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50629 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50630 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50631 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50632 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50633 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50634 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50635 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50636 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50637 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50638 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50639 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50640 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50645 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50646 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50647 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50648 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50649 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50650 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50651 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50652 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50653 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50654 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50655 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50656 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50657 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50658 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50659 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50660 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50661 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50662 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50663 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50664 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50665 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50666 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50667 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50668 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50669 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50670 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50671 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50672 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50673 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50674 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50675 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50676 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50677 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50678 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50679 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50680 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50681 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50682 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50683 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50684 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50685 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50686 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50687 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50688 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50689 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50690 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50691 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50692 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50693 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50694 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50695 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50696 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50697 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50698 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50699 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50700 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50701 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50702 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50705 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50706 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50707 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50708 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50709 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50710 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50711 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50712 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50713 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50714 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50717 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50719 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50720 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50721 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50722 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50723 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50724 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50725 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50726 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50727 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50728 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50729 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50730 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50731 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50732 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50733 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50734 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50735 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50736 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50737 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50738 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50739 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50740 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50741 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50742 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50743 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50744 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50745 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50746 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50747 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50748 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50749 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50750 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50751 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50752 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50753 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50754 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50755 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50756 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50757 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50758 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50759 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50760 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50761 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50762 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50763 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50764 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50765 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50766 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50767 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50768 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50769 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50770 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50771 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50772 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50773 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50774 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50775 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50776 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50777 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50778 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50779 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50780 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50781 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50782 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50783 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50784 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50785 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50786 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50787 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50788 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50789 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50790 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50791 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50792 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50793 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50794 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50795 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50796 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50797 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50798 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50799 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50800 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50801 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50802 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50803 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50804 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50805 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50806 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50807 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50808 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50816 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50819 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50820 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50829 // Map renamed classes back to their common name for OOR
50830 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50832 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50833 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50834 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50835 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50836 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50837 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50838 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50839 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50840 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50841 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50842 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50843 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50844 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50845 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50846 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50847 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50848 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50849 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50850 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50851 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50852 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50853 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50854 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50855 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50856 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50857 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50858 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50859 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50860 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50861 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50862 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50863 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50864 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50865 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50868 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50869 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50870 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50871 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50872 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50873 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50874 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50875 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50877 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50878 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50879 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50880 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50881 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50882 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50883 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50884 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50885 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50886 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50887 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50889 // Map renamed classes back to their common name for OOR
50890 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50891 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50893 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50894 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50895 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50896 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50897 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50898 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50899 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50900 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50901 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50902 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50903 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50905 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50907 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50908 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50909 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50910 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50911 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50912 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50913 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50914 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50915 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50916 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50917 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50918 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50919 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50920 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50921 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50922 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50923 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50924 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50925 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50926 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50927 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50928 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50929 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50930 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50931 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50932 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50933 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50934 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50935 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50936 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50937 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50938 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50939 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50940 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50941 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50942 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50943 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50944 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50945 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50946 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50947 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50948 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50949 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50950 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50951 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50952 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50953 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50954 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50955 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50956 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));