1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2903 self
->AppendText(text
);
2905 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2906 return self
->GetValue().Mid(from
, to
- from
);
2908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_unsigned_SS_long (unsigned long value
)
2917 return (value
> LONG_MAX
) ?
2918 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2922 SWIGINTERNINLINE PyObject
*
2923 SWIG_From_size_t (size_t value
)
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2929 SWIGINTERNINLINE PyObject
*
2930 SWIG_From_unsigned_SS_int (unsigned int value
)
2932 return SWIG_From_unsigned_SS_long (value
);
2936 #include <wx/slider.h>
2939 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2940 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942 #if !wxUSE_TOGGLEBTN
2943 // implement dummy items for platforms that don't have this class
2945 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947 class wxToggleButton
: public wxControl
2950 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2951 const wxPoint
&, const wxSize
&, long,
2952 const wxValidator
&, const wxString
&)
2953 { wxPyRaiseNotImplemented(); }
2956 { wxPyRaiseNotImplemented(); }
2960 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2972 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2973 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2975 Py_INCREF(udata
->m_obj
);
2976 return udata
->m_obj
;
2982 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2983 self
->SetClientData(new wxPyUserData(clientData
));
2985 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
){
2986 wxPyUserData
* udata
= NULL
;
2987 if (clientData
&& clientData
!= Py_None
)
2988 udata
= new wxPyUserData(clientData
);
2989 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2990 shortHelp
, longHelp
, udata
);
2992 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
){
2993 wxPyUserData
* udata
= NULL
;
2994 if (clientData
&& clientData
!= Py_None
)
2995 udata
= new wxPyUserData(clientData
);
2996 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2997 shortHelp
, longHelp
, udata
);
2999 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3000 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3002 Py_INCREF(udata
->m_obj
);
3003 return udata
->m_obj
;
3009 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3010 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3013 #include <wx/listctrl.h>
3015 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3016 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3020 PyObject
* func
= (PyObject
*)funcPtr
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3024 PyObject
* result
= PyEval_CallObject(func
, args
);
3027 retval
= PyInt_AsLong(result
);
3031 wxPyEndBlockThreads(blocked
);
3035 // C++ Version of a Python aware class
3036 class wxPyListCtrl
: public wxListCtrl
{
3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3044 const wxValidator
& validator
,
3045 const wxString
& name
) :
3046 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3048 bool Create(wxWindow
* parent
, wxWindowID id
,
3052 const wxValidator
& validator
,
3053 const wxString
& name
) {
3054 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3067 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3069 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3070 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3071 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3072 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3075 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3077 item
.SetMask( wxLIST_MASK_STATE
|
3085 if (self
->GetColumn(col
, item
))
3086 return new wxListItem(item
);
3090 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3091 wxListItem
* info
= new wxListItem
;
3092 info
->m_itemId
= itemId
;
3094 info
->m_mask
= 0xFFFF;
3095 self
->GetItem(*info
);
3098 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3100 self
->GetItemPosition(item
, pos
);
3103 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3105 self
->GetItemRect(item
, rect
, code
);
3108 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3109 if (!PyCallable_Check(func
))
3111 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3113 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3121 #include <wx/treectrl.h>
3122 #include "wx/wxPython/pytree.h"
3124 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3125 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3126 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3127 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3129 static wxTreeItemId wxNullTreeItemId
;
3131 // C++ version of Python aware wxTreeCtrl
3132 class wxPyTreeCtrl
: public wxTreeCtrl
{
3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3140 const wxValidator
& validator
,
3141 const wxString
& name
) :
3142 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3144 bool Create(wxWindow
*parent
, wxWindowID id
,
3148 const wxValidator
& validator
,
3149 const wxString
& name
) {
3150 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3154 int OnCompareItems(const wxTreeItemId
& item1
,
3155 const wxTreeItemId
& item2
) {
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3160 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3161 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3162 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3166 wxPyEndBlockThreads(blocked
);
3168 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3174 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3177 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3186 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3187 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3189 data
= new wxPyTreeItemData();
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 return data
->GetData();
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3196 data
->SetId(item
); // set the id
3197 self
->SetItemData(item
, data
);
3199 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3200 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3202 data
= new wxPyTreeItemData(obj
);
3203 data
->SetId(item
); // set the id
3204 self
->SetItemData(item
, data
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyObject
* rval
= PyList_New(0);
3211 wxArrayTreeItemIds array
;
3213 num
= self
->GetSelections(array
);
3214 for (x
=0; x
< num
; x
++) {
3215 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3216 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3217 PyList_Append(rval
, item
);
3220 wxPyEndBlockThreads(blocked
);
3223 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3234 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 PyObject
* tup
= PyTuple_New(2);
3237 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3238 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3239 wxPyEndBlockThreads(blocked
);
3242 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3244 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 wxRect
* r
= new wxRect(rect
);
3247 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3248 wxPyEndBlockThreads(blocked
);
3254 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxControl
3263 class wxPyControl
: public wxControl
3265 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxValidator
& validator
=wxDefaultValidator
,
3273 const wxString
& name
= wxPyControlNameStr
)
3274 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3356 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3358 #include <wx/generic/dragimgg.h>
3360 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(&rv
, NULL
);
3366 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3368 self
->GetRange(NULL
, &rv
);
3371 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3372 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3373 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3374 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3375 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3376 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3377 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3378 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3379 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3380 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3382 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3383 // define a dummy class for builds that don't have wxSearchCtrl
3386 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3387 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3390 class wxSearchCtrl
: public wxTextCtrl
3393 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3394 wxSearchCtrl(wxWindow
*, wxWindowID
,
3400 const wxString
& name
)
3401 { wxPyRaiseNotImplemented(); }
3403 bool Create( wxWindow
*, wxWindowID
,
3409 const wxString
& name
) {}
3411 virtual void SetMenu( wxMenu
* ) {}
3412 virtual wxMenu
* GetMenu() { return NULL
; }
3414 // get/set search options
3415 // ----------------------
3416 virtual void ShowSearchButton( bool ) {}
3417 virtual bool IsSearchButtonVisible() const { return false; }
3419 virtual void ShowCancelButton( bool ) {}
3420 virtual bool IsCancelButtonVisible() const { return false; }
3422 virtual void SetDescriptiveText(const wxString
& text
);
3423 virtual wxString
GetDescriptiveText() const;
3427 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3428 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3429 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3433 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3434 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3439 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3440 PyObject
*pyobj
= 0;
3444 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3446 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3453 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
= 0;
3455 wxWindow
*arg1
= (wxWindow
*) 0 ;
3456 int arg2
= (int) -1 ;
3457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3463 long arg6
= (long) 0 ;
3464 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3465 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3466 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3468 wxButton
*result
= 0 ;
3473 bool temp3
= false ;
3480 bool temp8
= false ;
3481 PyObject
* obj0
= 0 ;
3482 PyObject
* obj1
= 0 ;
3483 PyObject
* obj2
= 0 ;
3484 PyObject
* obj3
= 0 ;
3485 PyObject
* obj4
= 0 ;
3486 PyObject
* obj5
= 0 ;
3487 PyObject
* obj6
= 0 ;
3488 PyObject
* obj7
= 0 ;
3489 char * kwnames
[] = {
3490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3495 if (!SWIG_IsOK(res1
)) {
3496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3501 if (!SWIG_IsOK(ecode2
)) {
3502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3504 arg2
= static_cast< int >(val2
);
3508 arg3
= wxString_in_helper(obj2
);
3509 if (arg3
== NULL
) SWIG_fail
;
3516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3527 if (!SWIG_IsOK(ecode6
)) {
3528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3530 arg6
= static_cast< long >(val6
);
3533 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3534 if (!SWIG_IsOK(res7
)) {
3535 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3540 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3544 arg8
= wxString_in_helper(obj7
);
3545 if (arg8
== NULL
) SWIG_fail
;
3550 if (!wxPyCheckForApp()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3579 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3580 PyObject
*resultobj
= 0;
3581 wxButton
*result
= 0 ;
3583 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3585 if (!wxPyCheckForApp()) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (wxButton
*)new wxButton();
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3598 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
= 0;
3600 wxButton
*arg1
= (wxButton
*) 0 ;
3601 wxWindow
*arg2
= (wxWindow
*) 0 ;
3602 int arg3
= (int) -1 ;
3603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3605 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3606 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3607 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3608 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3609 long arg7
= (long) 0 ;
3610 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3611 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3612 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3613 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3621 bool temp4
= false ;
3628 bool temp9
= false ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3631 PyObject
* obj2
= 0 ;
3632 PyObject
* obj3
= 0 ;
3633 PyObject
* obj4
= 0 ;
3634 PyObject
* obj5
= 0 ;
3635 PyObject
* obj6
= 0 ;
3636 PyObject
* obj7
= 0 ;
3637 PyObject
* obj8
= 0 ;
3638 char * kwnames
[] = {
3639 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3644 if (!SWIG_IsOK(res1
)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3647 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3649 if (!SWIG_IsOK(res2
)) {
3650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3655 if (!SWIG_IsOK(ecode3
)) {
3656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3658 arg3
= static_cast< int >(val3
);
3662 arg4
= wxString_in_helper(obj3
);
3663 if (arg4
== NULL
) SWIG_fail
;
3670 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3676 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3680 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3681 if (!SWIG_IsOK(ecode7
)) {
3682 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3684 arg7
= static_cast< long >(val7
);
3687 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3688 if (!SWIG_IsOK(res8
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3694 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3698 arg9
= wxString_in_helper(obj8
);
3699 if (arg9
== NULL
) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3734 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3735 PyObject
*resultobj
= 0;
3736 wxButton
*arg1
= (wxButton
*) 0 ;
3739 PyObject
*swig_obj
[1] ;
3741 if (!args
) SWIG_fail
;
3743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3744 if (!SWIG_IsOK(res1
)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3747 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetDefault();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_Py_Void();
3761 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3762 PyObject
*resultobj
= 0;
3765 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= wxButton::GetDefaultSize();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3779 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
= 0;
3781 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3782 SwigValueWrapper
<wxVisualAttributes
> result
;
3785 PyObject
* obj0
= 0 ;
3786 char * kwnames
[] = {
3787 (char *) "variant", NULL
3790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3792 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3793 if (!SWIG_IsOK(ecode1
)) {
3794 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3796 arg1
= static_cast< wxWindowVariant
>(val1
);
3799 if (!wxPyCheckForApp()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= wxButton::GetClassDefaultAttributes(arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3812 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3815 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3816 return SWIG_Py_Void();
3819 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3820 return SWIG_Python_InitShadowInstance(args
);
3823 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= 0;
3825 wxWindow
*arg1
= (wxWindow
*) 0 ;
3826 int arg2
= (int) -1 ;
3827 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3828 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3829 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3830 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3831 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3832 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3833 long arg6
= (long) wxBU_AUTODRAW
;
3834 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3835 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3836 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3837 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3838 wxBitmapButton
*result
= 0 ;
3851 bool temp8
= false ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3854 PyObject
* obj2
= 0 ;
3855 PyObject
* obj3
= 0 ;
3856 PyObject
* obj4
= 0 ;
3857 PyObject
* obj5
= 0 ;
3858 PyObject
* obj6
= 0 ;
3859 PyObject
* obj7
= 0 ;
3860 char * kwnames
[] = {
3861 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3866 if (!SWIG_IsOK(res1
)) {
3867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3872 if (!SWIG_IsOK(ecode2
)) {
3873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3875 arg2
= static_cast< int >(val2
);
3878 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3879 if (!SWIG_IsOK(res3
)) {
3880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3885 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3900 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3901 if (!SWIG_IsOK(ecode6
)) {
3902 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3904 arg6
= static_cast< long >(val6
);
3907 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3908 if (!SWIG_IsOK(res7
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3914 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3918 arg8
= wxString_in_helper(obj7
);
3919 if (arg8
== NULL
) SWIG_fail
;
3924 if (!wxPyCheckForApp()) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3945 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3946 PyObject
*resultobj
= 0;
3947 wxBitmapButton
*result
= 0 ;
3949 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3951 if (!wxPyCheckForApp()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (wxBitmapButton
*)new wxBitmapButton();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3964 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
= 0;
3966 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3967 wxWindow
*arg2
= (wxWindow
*) 0 ;
3968 int arg3
= (int) -1 ;
3969 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3970 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3975 long arg7
= (long) wxBU_AUTODRAW
;
3976 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3977 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3978 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3979 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3995 bool temp9
= false ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3998 PyObject
* obj2
= 0 ;
3999 PyObject
* obj3
= 0 ;
4000 PyObject
* obj4
= 0 ;
4001 PyObject
* obj5
= 0 ;
4002 PyObject
* obj6
= 0 ;
4003 PyObject
* obj7
= 0 ;
4004 PyObject
* obj8
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4011 if (!SWIG_IsOK(res1
)) {
4012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4014 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4016 if (!SWIG_IsOK(res2
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4022 if (!SWIG_IsOK(ecode3
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4025 arg3
= static_cast< int >(val3
);
4028 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4029 if (!SWIG_IsOK(res4
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4035 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4040 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4046 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4050 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4051 if (!SWIG_IsOK(ecode7
)) {
4052 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4054 arg7
= static_cast< long >(val7
);
4057 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4058 if (!SWIG_IsOK(res8
)) {
4059 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4064 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4068 arg9
= wxString_in_helper(obj8
);
4069 if (arg9
== NULL
) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4096 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 PyObject
*resultobj
= 0;
4098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4102 PyObject
*swig_obj
[1] ;
4104 if (!args
) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (arg1
)->GetBitmapLabel();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4130 PyObject
*swig_obj
[1] ;
4132 if (!args
) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (arg1
)->GetBitmapDisabled();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4152 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->GetBitmapFocus();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4181 PyObject
*resultobj
= 0;
4182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4186 PyObject
*swig_obj
[1] ;
4188 if (!args
) SWIG_fail
;
4190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4191 if (!SWIG_IsOK(res1
)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4194 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->GetBitmapSelected();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4208 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4209 PyObject
*resultobj
= 0;
4210 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4214 PyObject
*swig_obj
[1] ;
4216 if (!args
) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4222 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (arg1
)->GetBitmapHover();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4236 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4239 wxBitmap
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4255 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4257 if (!SWIG_IsOK(res2
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4280 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 char * kwnames
[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4296 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4298 if (!SWIG_IsOK(res2
)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4321 wxBitmap
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "bitmap", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4337 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4339 if (!SWIG_IsOK(res2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4359 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4362 wxBitmap
*arg2
= 0 ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "bitmap", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4378 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4380 if (!SWIG_IsOK(res2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4386 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_Py_Void();
4400 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= 0;
4402 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4403 wxBitmap
*arg2
= 0 ;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 char * kwnames
[] = {
4411 (char *) "self",(char *) "hover", NULL
4414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4416 if (!SWIG_IsOK(res1
)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4419 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4421 if (!SWIG_IsOK(res2
)) {
4422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4427 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_Py_Void();
4441 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= 0;
4443 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4454 PyObject
* obj2
= 0 ;
4455 char * kwnames
[] = {
4456 (char *) "self",(char *) "x",(char *) "y", NULL
4459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4464 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4466 if (!SWIG_IsOK(ecode2
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4469 arg2
= static_cast< int >(val2
);
4470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4471 if (!SWIG_IsOK(ecode3
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4474 arg3
= static_cast< int >(val3
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetMargins(arg2
,arg3
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4488 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4489 PyObject
*resultobj
= 0;
4490 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4494 PyObject
*swig_obj
[1] ;
4496 if (!args
) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4502 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_From_int(static_cast< int >(result
));
4516 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4517 PyObject
*resultobj
= 0;
4518 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4522 PyObject
*swig_obj
[1] ;
4524 if (!args
) SWIG_fail
;
4526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4527 if (!SWIG_IsOK(res1
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4530 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_From_int(static_cast< int >(result
));
4544 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4547 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4548 return SWIG_Py_Void();
4551 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4552 return SWIG_Python_InitShadowInstance(args
);
4555 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4556 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4561 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4562 PyObject
*pyobj
= 0;
4566 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4568 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4575 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
= 0;
4577 wxWindow
*arg1
= (wxWindow
*) 0 ;
4578 int arg2
= (int) -1 ;
4579 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4580 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4583 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4584 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4585 long arg6
= (long) 0 ;
4586 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4587 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4588 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4589 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4590 wxCheckBox
*result
= 0 ;
4595 bool temp3
= false ;
4602 bool temp8
= false ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 PyObject
* obj2
= 0 ;
4606 PyObject
* obj3
= 0 ;
4607 PyObject
* obj4
= 0 ;
4608 PyObject
* obj5
= 0 ;
4609 PyObject
* obj6
= 0 ;
4610 PyObject
* obj7
= 0 ;
4611 char * kwnames
[] = {
4612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4617 if (!SWIG_IsOK(res1
)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4623 if (!SWIG_IsOK(ecode2
)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4626 arg2
= static_cast< int >(val2
);
4630 arg3
= wxString_in_helper(obj2
);
4631 if (arg3
== NULL
) SWIG_fail
;
4638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4648 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4649 if (!SWIG_IsOK(ecode6
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4652 arg6
= static_cast< long >(val6
);
4655 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4656 if (!SWIG_IsOK(res7
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4662 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4666 arg8
= wxString_in_helper(obj7
);
4667 if (arg8
== NULL
) SWIG_fail
;
4672 if (!wxPyCheckForApp()) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4701 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxCheckBox
*result
= 0 ;
4705 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4707 if (!wxPyCheckForApp()) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (wxCheckBox
*)new wxCheckBox();
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4720 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
= 0;
4722 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4723 wxWindow
*arg2
= (wxWindow
*) 0 ;
4724 int arg3
= (int) -1 ;
4725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4731 long arg7
= (long) 0 ;
4732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4734 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4743 bool temp4
= false ;
4750 bool temp9
= false ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4755 PyObject
* obj4
= 0 ;
4756 PyObject
* obj5
= 0 ;
4757 PyObject
* obj6
= 0 ;
4758 PyObject
* obj7
= 0 ;
4759 PyObject
* obj8
= 0 ;
4760 char * kwnames
[] = {
4761 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4766 if (!SWIG_IsOK(res1
)) {
4767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4769 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4771 if (!SWIG_IsOK(res2
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4777 if (!SWIG_IsOK(ecode3
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4780 arg3
= static_cast< int >(val3
);
4784 arg4
= wxString_in_helper(obj3
);
4785 if (arg4
== NULL
) SWIG_fail
;
4792 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4802 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4803 if (!SWIG_IsOK(ecode7
)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4806 arg7
= static_cast< long >(val7
);
4809 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4810 if (!SWIG_IsOK(res8
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4816 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4820 arg9
= wxString_in_helper(obj8
);
4821 if (arg9
== NULL
) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4856 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4857 PyObject
*resultobj
= 0;
4858 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4862 PyObject
*swig_obj
[1] ;
4864 if (!args
) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4870 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (bool)(arg1
)->GetValue();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4886 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4887 PyObject
*resultobj
= 0;
4888 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4892 PyObject
*swig_obj
[1] ;
4894 if (!args
) SWIG_fail
;
4896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4897 if (!SWIG_IsOK(res1
)) {
4898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4900 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (bool)(arg1
)->IsChecked();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4916 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
= 0;
4918 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4926 char * kwnames
[] = {
4927 (char *) "self",(char *) "state", NULL
4930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4932 if (!SWIG_IsOK(res1
)) {
4933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4935 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4937 if (!SWIG_IsOK(ecode2
)) {
4938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4940 arg2
= static_cast< bool >(val2
);
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 (arg1
)->SetValue(arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_Py_Void();
4954 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4955 PyObject
*resultobj
= 0;
4956 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4957 wxCheckBoxState result
;
4960 PyObject
*swig_obj
[1] ;
4962 if (!args
) SWIG_fail
;
4964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4965 if (!SWIG_IsOK(res1
)) {
4966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4968 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_From_int(static_cast< int >(result
));
4982 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
= 0;
4984 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4985 wxCheckBoxState arg2
;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4992 char * kwnames
[] = {
4993 (char *) "self",(char *) "state", NULL
4996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4998 if (!SWIG_IsOK(res1
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5001 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5003 if (!SWIG_IsOK(ecode2
)) {
5004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5006 arg2
= static_cast< wxCheckBoxState
>(val2
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->Set3StateValue(arg2
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5021 PyObject
*resultobj
= 0;
5022 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5026 PyObject
*swig_obj
[1] ;
5028 if (!args
) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5034 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5052 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5056 PyObject
*swig_obj
[1] ;
5058 if (!args
) SWIG_fail
;
5060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5061 if (!SWIG_IsOK(res1
)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5064 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5080 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
= 0;
5082 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5083 SwigValueWrapper
<wxVisualAttributes
> result
;
5086 PyObject
* obj0
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "variant", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5094 if (!SWIG_IsOK(ecode1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5097 arg1
= static_cast< wxWindowVariant
>(val1
);
5100 if (!wxPyCheckForApp()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5113 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5116 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5117 return SWIG_Py_Void();
5120 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5121 return SWIG_Python_InitShadowInstance(args
);
5124 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5125 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5130 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5131 PyObject
*pyobj
= 0;
5135 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5137 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5144 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
= 0;
5146 wxWindow
*arg1
= (wxWindow
*) 0 ;
5147 int arg2
= (int) -1 ;
5148 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5149 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5152 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5153 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5154 long arg6
= (long) 0 ;
5155 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5156 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5157 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5158 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5159 wxChoice
*result
= 0 ;
5166 bool temp5
= false ;
5171 bool temp8
= false ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 PyObject
* obj2
= 0 ;
5175 PyObject
* obj3
= 0 ;
5176 PyObject
* obj4
= 0 ;
5177 PyObject
* obj5
= 0 ;
5178 PyObject
* obj6
= 0 ;
5179 PyObject
* obj7
= 0 ;
5180 char * kwnames
[] = {
5181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5192 if (!SWIG_IsOK(ecode2
)) {
5193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5195 arg2
= static_cast< int >(val2
);
5200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5206 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5211 if (! PySequence_Check(obj4
)) {
5212 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5215 arg5
= new wxArrayString
;
5217 int i
, len
=PySequence_Length(obj4
);
5218 for (i
=0; i
<len
; i
++) {
5219 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5220 wxString
* s
= wxString_in_helper(item
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5229 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5230 if (!SWIG_IsOK(ecode6
)) {
5231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5233 arg6
= static_cast< long >(val6
);
5236 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5237 if (!SWIG_IsOK(res7
)) {
5238 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5243 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5247 arg8
= wxString_in_helper(obj7
);
5248 if (arg8
== NULL
) SWIG_fail
;
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5261 if (temp5
) delete arg5
;
5270 if (temp5
) delete arg5
;
5280 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5281 PyObject
*resultobj
= 0;
5282 wxChoice
*result
= 0 ;
5284 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5286 if (!wxPyCheckForApp()) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (wxChoice
*)new wxChoice();
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5299 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
= 0;
5301 wxChoice
*arg1
= (wxChoice
*) 0 ;
5302 wxWindow
*arg2
= (wxWindow
*) 0 ;
5303 int arg3
= (int) -1 ;
5304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5308 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5309 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5310 long arg7
= (long) 0 ;
5311 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5312 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5313 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5314 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5324 bool temp6
= false ;
5329 bool temp9
= false ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 PyObject
* obj2
= 0 ;
5333 PyObject
* obj3
= 0 ;
5334 PyObject
* obj4
= 0 ;
5335 PyObject
* obj5
= 0 ;
5336 PyObject
* obj6
= 0 ;
5337 PyObject
* obj7
= 0 ;
5338 PyObject
* obj8
= 0 ;
5339 char * kwnames
[] = {
5340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5345 if (!SWIG_IsOK(res1
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5348 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5350 if (!SWIG_IsOK(res2
)) {
5351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5353 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5356 if (!SWIG_IsOK(ecode3
)) {
5357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5359 arg3
= static_cast< int >(val3
);
5364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5370 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5375 if (! PySequence_Check(obj5
)) {
5376 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5379 arg6
= new wxArrayString
;
5381 int i
, len
=PySequence_Length(obj5
);
5382 for (i
=0; i
<len
; i
++) {
5383 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5384 wxString
* s
= wxString_in_helper(item
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5393 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5394 if (!SWIG_IsOK(ecode7
)) {
5395 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5397 arg7
= static_cast< long >(val7
);
5400 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5401 if (!SWIG_IsOK(res8
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5407 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5411 arg9
= wxString_in_helper(obj8
);
5412 if (arg9
== NULL
) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5426 if (temp6
) delete arg6
;
5435 if (temp6
) delete arg6
;
5445 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5446 PyObject
*resultobj
= 0;
5447 wxChoice
*arg1
= (wxChoice
*) 0 ;
5451 PyObject
*swig_obj
[1] ;
5453 if (!args
) SWIG_fail
;
5455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5456 if (!SWIG_IsOK(res1
)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5459 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_From_int(static_cast< int >(result
));
5473 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
= 0;
5475 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5476 SwigValueWrapper
<wxVisualAttributes
> result
;
5479 PyObject
* obj0
= 0 ;
5480 char * kwnames
[] = {
5481 (char *) "variant", NULL
5484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5487 if (!SWIG_IsOK(ecode1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5490 arg1
= static_cast< wxWindowVariant
>(val1
);
5493 if (!wxPyCheckForApp()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5506 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5509 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5510 return SWIG_Py_Void();
5513 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5514 return SWIG_Python_InitShadowInstance(args
);
5517 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5518 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5523 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5524 PyObject
*pyobj
= 0;
5528 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5530 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5537 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= 0;
5539 wxWindow
*arg1
= (wxWindow
*) 0 ;
5540 int arg2
= (int) -1 ;
5541 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5547 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5548 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5549 long arg7
= (long) 0 ;
5550 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5551 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5552 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5553 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5554 wxComboBox
*result
= 0 ;
5559 bool temp3
= false ;
5562 bool temp6
= false ;
5567 bool temp9
= false ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5570 PyObject
* obj2
= 0 ;
5571 PyObject
* obj3
= 0 ;
5572 PyObject
* obj4
= 0 ;
5573 PyObject
* obj5
= 0 ;
5574 PyObject
* obj6
= 0 ;
5575 PyObject
* obj7
= 0 ;
5576 PyObject
* obj8
= 0 ;
5577 char * kwnames
[] = {
5578 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5583 if (!SWIG_IsOK(res1
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5589 if (!SWIG_IsOK(ecode2
)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5592 arg2
= static_cast< int >(val2
);
5596 arg3
= wxString_in_helper(obj2
);
5597 if (arg3
== NULL
) SWIG_fail
;
5604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5615 if (! PySequence_Check(obj5
)) {
5616 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5619 arg6
= new wxArrayString
;
5621 int i
, len
=PySequence_Length(obj5
);
5622 for (i
=0; i
<len
; i
++) {
5623 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5624 wxString
* s
= wxString_in_helper(item
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5633 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5634 if (!SWIG_IsOK(ecode7
)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5637 arg7
= static_cast< long >(val7
);
5640 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5641 if (!SWIG_IsOK(res8
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5647 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5651 arg9
= wxString_in_helper(obj8
);
5652 if (arg9
== NULL
) SWIG_fail
;
5657 if (!wxPyCheckForApp()) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 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
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5669 if (temp6
) delete arg6
;
5682 if (temp6
) delete arg6
;
5692 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5693 PyObject
*resultobj
= 0;
5694 wxComboBox
*result
= 0 ;
5696 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxComboBox
*)new wxComboBox();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5711 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= 0;
5713 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5714 wxWindow
*arg2
= (wxWindow
*) 0 ;
5715 int arg3
= (int) -1 ;
5716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5722 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5723 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5724 long arg8
= (long) 0 ;
5725 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5726 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5727 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5728 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5736 bool temp4
= false ;
5739 bool temp7
= false ;
5744 bool temp10
= false ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5747 PyObject
* obj2
= 0 ;
5748 PyObject
* obj3
= 0 ;
5749 PyObject
* obj4
= 0 ;
5750 PyObject
* obj5
= 0 ;
5751 PyObject
* obj6
= 0 ;
5752 PyObject
* obj7
= 0 ;
5753 PyObject
* obj8
= 0 ;
5754 PyObject
* obj9
= 0 ;
5755 char * kwnames
[] = {
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5764 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5766 if (!SWIG_IsOK(res2
)) {
5767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5772 if (!SWIG_IsOK(ecode3
)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5775 arg3
= static_cast< int >(val3
);
5779 arg4
= wxString_in_helper(obj3
);
5780 if (arg4
== NULL
) SWIG_fail
;
5787 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5793 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5798 if (! PySequence_Check(obj6
)) {
5799 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5802 arg7
= new wxArrayString
;
5804 int i
, len
=PySequence_Length(obj6
);
5805 for (i
=0; i
<len
; i
++) {
5806 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5807 wxString
* s
= wxString_in_helper(item
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5816 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5817 if (!SWIG_IsOK(ecode8
)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5820 arg8
= static_cast< long >(val8
);
5823 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5824 if (!SWIG_IsOK(res9
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5830 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5834 arg10
= wxString_in_helper(obj9
);
5835 if (arg10
== NULL
) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 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
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5853 if (temp7
) delete arg7
;
5866 if (temp7
) delete arg7
;
5876 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5877 PyObject
*resultobj
= 0;
5878 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5882 PyObject
*swig_obj
[1] ;
5884 if (!args
) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5890 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 result
= ((wxComboBox
const *)arg1
)->GetValue();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5910 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
= 0;
5912 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5913 wxString
*arg2
= 0 ;
5916 bool temp2
= false ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 char * kwnames
[] = {
5920 (char *) "self",(char *) "value", NULL
5923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5928 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5930 arg2
= wxString_in_helper(obj1
);
5931 if (arg2
== NULL
) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetValue((wxString
const &)*arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_Py_Void();
5955 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5956 PyObject
*resultobj
= 0;
5957 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5960 PyObject
*swig_obj
[1] ;
5962 if (!args
) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5968 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_Py_Void();
5982 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5983 PyObject
*resultobj
= 0;
5984 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5987 PyObject
*swig_obj
[1] ;
5989 if (!args
) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5995 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_Py_Void();
6009 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6010 PyObject
*resultobj
= 0;
6011 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6014 PyObject
*swig_obj
[1] ;
6016 if (!args
) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6022 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_Py_Void();
6036 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
= 0;
6038 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6046 char * kwnames
[] = {
6047 (char *) "self",(char *) "pos", NULL
6050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6052 if (!SWIG_IsOK(res1
)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6055 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6056 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6057 if (!SWIG_IsOK(ecode2
)) {
6058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6060 arg2
= static_cast< long >(val2
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 (arg1
)->SetInsertionPoint(arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_Py_Void();
6074 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6075 PyObject
*resultobj
= 0;
6076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 PyObject
*swig_obj
[1] ;
6082 if (!args
) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6088 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_From_long(static_cast< long >(result
));
6102 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6108 PyObject
*swig_obj
[1] ;
6110 if (!args
) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6116 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_From_long(static_cast< long >(result
));
6130 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= 0;
6132 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6135 wxString
*arg4
= 0 ;
6142 bool temp4
= false ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 PyObject
* obj2
= 0 ;
6146 PyObject
* obj3
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6156 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6158 if (!SWIG_IsOK(ecode2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6161 arg2
= static_cast< long >(val2
);
6162 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6163 if (!SWIG_IsOK(ecode3
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6166 arg3
= static_cast< long >(val3
);
6168 arg4
= wxString_in_helper(obj3
);
6169 if (arg4
== NULL
) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6193 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
= 0;
6195 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 char * kwnames
[] = {
6208 (char *) "self",(char *) "from",(char *) "to", NULL
6211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6213 if (!SWIG_IsOK(res1
)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6216 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6218 if (!SWIG_IsOK(ecode2
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6221 arg2
= static_cast< long >(val2
);
6222 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6223 if (!SWIG_IsOK(ecode3
)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6226 arg3
= static_cast< long >(val3
);
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 (arg1
)->SetSelection(arg2
,arg3
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_Py_Void();
6240 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6241 PyObject
*resultobj
= 0;
6242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6246 PyObject
*swig_obj
[1] ;
6248 if (!args
) SWIG_fail
;
6250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6251 if (!SWIG_IsOK(res1
)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6254 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_From_int(static_cast< int >(result
));
6268 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= 0;
6270 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6271 wxString
*arg2
= 0 ;
6275 bool temp2
= false ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "self",(char *) "string", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6287 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6289 arg2
= wxString_in_helper(obj1
);
6290 if (arg2
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6316 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 char * kwnames
[] = {
6327 (char *) "self",(char *) "editable", NULL
6330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6332 if (!SWIG_IsOK(res1
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6335 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6337 if (!SWIG_IsOK(ecode2
)) {
6338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6340 arg2
= static_cast< bool >(val2
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetEditable(arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6354 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6355 PyObject
*resultobj
= 0;
6356 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6359 PyObject
*swig_obj
[1] ;
6361 if (!args
) SWIG_fail
;
6363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6364 if (!SWIG_IsOK(res1
)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6367 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 (arg1
)->SetInsertionPointEnd();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_Py_Void();
6381 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
= 0;
6383 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6395 char * kwnames
[] = {
6396 (char *) "self",(char *) "from",(char *) "to", NULL
6399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6401 if (!SWIG_IsOK(res1
)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6404 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6405 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6406 if (!SWIG_IsOK(ecode2
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6409 arg2
= static_cast< long >(val2
);
6410 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6414 arg3
= static_cast< long >(val3
);
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 (arg1
)->Remove(arg2
,arg3
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_Py_Void();
6428 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6429 PyObject
*resultobj
= 0;
6430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6434 PyObject
*swig_obj
[1] ;
6436 if (!args
) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6442 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6463 PyObject
*swig_obj
[1] ;
6465 if (!args
) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6471 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_Py_Void();
6485 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6498 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_Py_Void();
6512 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6513 PyObject
*resultobj
= 0;
6514 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6525 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 (arg1
)->SelectAll();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_Py_Void();
6539 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6540 PyObject
*resultobj
= 0;
6541 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6545 PyObject
*swig_obj
[1] ;
6547 if (!args
) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6553 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6569 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 PyObject
*resultobj
= 0;
6571 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6575 PyObject
*swig_obj
[1] ;
6577 if (!args
) SWIG_fail
;
6579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6580 if (!SWIG_IsOK(res1
)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6583 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6599 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 PyObject
*resultobj
= 0;
6601 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6605 PyObject
*swig_obj
[1] ;
6607 if (!args
) SWIG_fail
;
6609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6610 if (!SWIG_IsOK(res1
)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6613 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6629 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6630 PyObject
*resultobj
= 0;
6631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6635 PyObject
*swig_obj
[1] ;
6637 if (!args
) SWIG_fail
;
6639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6640 if (!SWIG_IsOK(res1
)) {
6641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6643 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6659 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6660 PyObject
*resultobj
= 0;
6661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6665 PyObject
*swig_obj
[1] ;
6667 if (!args
) SWIG_fail
;
6669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6670 if (!SWIG_IsOK(res1
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6673 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
= 0;
6691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6692 SwigValueWrapper
<wxVisualAttributes
> result
;
6695 PyObject
* obj0
= 0 ;
6696 char * kwnames
[] = {
6697 (char *) "variant", NULL
6700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6703 if (!SWIG_IsOK(ecode1
)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6706 arg1
= static_cast< wxWindowVariant
>(val1
);
6709 if (!wxPyCheckForApp()) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6722 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6725 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6726 return SWIG_Py_Void();
6729 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 return SWIG_Python_InitShadowInstance(args
);
6733 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6734 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6739 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6740 PyObject
*pyobj
= 0;
6744 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6746 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6753 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= 0;
6755 wxWindow
*arg1
= (wxWindow
*) 0 ;
6756 int arg2
= (int) -1 ;
6757 int arg3
= (int) 100 ;
6758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6762 long arg6
= (long) wxGA_HORIZONTAL
;
6763 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6764 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6765 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6767 wxGauge
*result
= 0 ;
6780 bool temp8
= false ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6784 PyObject
* obj3
= 0 ;
6785 PyObject
* obj4
= 0 ;
6786 PyObject
* obj5
= 0 ;
6787 PyObject
* obj6
= 0 ;
6788 PyObject
* obj7
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6801 if (!SWIG_IsOK(ecode2
)) {
6802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6804 arg2
= static_cast< int >(val2
);
6807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6808 if (!SWIG_IsOK(ecode3
)) {
6809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6811 arg3
= static_cast< int >(val3
);
6816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6827 if (!SWIG_IsOK(ecode6
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6830 arg6
= static_cast< long >(val6
);
6833 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6834 if (!SWIG_IsOK(res7
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6840 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6844 arg8
= wxString_in_helper(obj7
);
6845 if (arg8
== NULL
) SWIG_fail
;
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6871 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6872 PyObject
*resultobj
= 0;
6873 wxGauge
*result
= 0 ;
6875 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6877 if (!wxPyCheckForApp()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (wxGauge
*)new wxGauge();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6890 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6892 wxGauge
*arg1
= (wxGauge
*) 0 ;
6893 wxWindow
*arg2
= (wxWindow
*) 0 ;
6894 int arg3
= (int) -1 ;
6895 int arg4
= (int) 100 ;
6896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6900 long arg7
= (long) wxGA_HORIZONTAL
;
6901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6903 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6920 bool temp9
= false ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 PyObject
* obj2
= 0 ;
6924 PyObject
* obj3
= 0 ;
6925 PyObject
* obj4
= 0 ;
6926 PyObject
* obj5
= 0 ;
6927 PyObject
* obj6
= 0 ;
6928 PyObject
* obj7
= 0 ;
6929 PyObject
* obj8
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6939 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6941 if (!SWIG_IsOK(res2
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6947 if (!SWIG_IsOK(ecode3
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6950 arg3
= static_cast< int >(val3
);
6953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6954 if (!SWIG_IsOK(ecode4
)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6957 arg4
= static_cast< int >(val4
);
6962 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6968 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6972 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6973 if (!SWIG_IsOK(ecode7
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6976 arg7
= static_cast< long >(val7
);
6979 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6980 if (!SWIG_IsOK(res8
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6986 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6990 arg9
= wxString_in_helper(obj8
);
6991 if (arg9
== NULL
) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7018 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
= 0;
7020 wxGauge
*arg1
= (wxGauge
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 char * kwnames
[] = {
7029 (char *) "self",(char *) "range", NULL
7032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7037 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7039 if (!SWIG_IsOK(ecode2
)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7042 arg2
= static_cast< int >(val2
);
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->SetRange(arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_Py_Void();
7056 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7057 PyObject
*resultobj
= 0;
7058 wxGauge
*arg1
= (wxGauge
*) 0 ;
7062 PyObject
*swig_obj
[1] ;
7064 if (!args
) SWIG_fail
;
7066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7067 if (!SWIG_IsOK(res1
)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7070 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_From_int(static_cast< int >(result
));
7084 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
= 0;
7086 wxGauge
*arg1
= (wxGauge
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7094 char * kwnames
[] = {
7095 (char *) "self",(char *) "pos", NULL
7098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7100 if (!SWIG_IsOK(res1
)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7103 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7105 if (!SWIG_IsOK(ecode2
)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7108 arg2
= static_cast< int >(val2
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 (arg1
)->SetValue(arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_Py_Void();
7122 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 PyObject
*resultobj
= 0;
7124 wxGauge
*arg1
= (wxGauge
*) 0 ;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7136 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_From_int(static_cast< int >(result
));
7150 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7151 PyObject
*resultobj
= 0;
7152 wxGauge
*arg1
= (wxGauge
*) 0 ;
7155 PyObject
*swig_obj
[1] ;
7157 if (!args
) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7163 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_Py_Void();
7177 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7178 PyObject
*resultobj
= 0;
7179 wxGauge
*arg1
= (wxGauge
*) 0 ;
7183 PyObject
*swig_obj
[1] ;
7185 if (!args
) SWIG_fail
;
7187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7188 if (!SWIG_IsOK(res1
)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7191 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7207 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= 0;
7209 wxGauge
*arg1
= (wxGauge
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "self",(char *) "w", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7223 if (!SWIG_IsOK(res1
)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7226 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7228 if (!SWIG_IsOK(ecode2
)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7231 arg2
= static_cast< int >(val2
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->SetShadowWidth(arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_Py_Void();
7245 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 PyObject
*resultobj
= 0;
7247 wxGauge
*arg1
= (wxGauge
*) 0 ;
7251 PyObject
*swig_obj
[1] ;
7253 if (!args
) SWIG_fail
;
7255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7256 if (!SWIG_IsOK(res1
)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7259 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_From_int(static_cast< int >(result
));
7273 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= 0;
7275 wxGauge
*arg1
= (wxGauge
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "self",(char *) "w", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7292 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7294 if (!SWIG_IsOK(ecode2
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7297 arg2
= static_cast< int >(val2
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->SetBezelFace(arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_Py_Void();
7311 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 PyObject
*resultobj
= 0;
7313 wxGauge
*arg1
= (wxGauge
*) 0 ;
7317 PyObject
*swig_obj
[1] ;
7319 if (!args
) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7325 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_From_int(static_cast< int >(result
));
7339 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
= 0;
7341 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7342 SwigValueWrapper
<wxVisualAttributes
> result
;
7345 PyObject
* obj0
= 0 ;
7346 char * kwnames
[] = {
7347 (char *) "variant", NULL
7350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7353 if (!SWIG_IsOK(ecode1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7356 arg1
= static_cast< wxWindowVariant
>(val1
);
7359 if (!wxPyCheckForApp()) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7372 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7375 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7376 return SWIG_Py_Void();
7379 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 return SWIG_Python_InitShadowInstance(args
);
7383 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7384 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7389 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7390 PyObject
*pyobj
= 0;
7394 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7396 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7403 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7404 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7409 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7410 PyObject
*pyobj
= 0;
7414 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7416 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7423 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7424 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7429 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7430 PyObject
*pyobj
= 0;
7434 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7436 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7443 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7444 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7449 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7450 PyObject
*pyobj
= 0;
7454 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7456 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7463 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
= 0;
7465 wxWindow
*arg1
= (wxWindow
*) 0 ;
7466 int arg2
= (int) -1 ;
7467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7473 long arg6
= (long) 0 ;
7474 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7476 wxStaticBox
*result
= 0 ;
7481 bool temp3
= false ;
7486 bool temp7
= false ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 PyObject
* obj2
= 0 ;
7490 PyObject
* obj3
= 0 ;
7491 PyObject
* obj4
= 0 ;
7492 PyObject
* obj5
= 0 ;
7493 PyObject
* obj6
= 0 ;
7494 char * kwnames
[] = {
7495 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7500 if (!SWIG_IsOK(res1
)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7506 if (!SWIG_IsOK(ecode2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7509 arg2
= static_cast< int >(val2
);
7513 arg3
= wxString_in_helper(obj2
);
7514 if (arg3
== NULL
) SWIG_fail
;
7521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7531 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7532 if (!SWIG_IsOK(ecode6
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7535 arg6
= static_cast< long >(val6
);
7539 arg7
= wxString_in_helper(obj6
);
7540 if (arg7
== NULL
) SWIG_fail
;
7545 if (!wxPyCheckForApp()) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7574 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7575 PyObject
*resultobj
= 0;
7576 wxStaticBox
*result
= 0 ;
7578 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7580 if (!wxPyCheckForApp()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (wxStaticBox
*)new wxStaticBox();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7593 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
= 0;
7595 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7596 wxWindow
*arg2
= (wxWindow
*) 0 ;
7597 int arg3
= (int) -1 ;
7598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7600 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7601 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7602 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7603 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7604 long arg7
= (long) 0 ;
7605 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7606 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7614 bool temp4
= false ;
7619 bool temp8
= false ;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7622 PyObject
* obj2
= 0 ;
7623 PyObject
* obj3
= 0 ;
7624 PyObject
* obj4
= 0 ;
7625 PyObject
* obj5
= 0 ;
7626 PyObject
* obj6
= 0 ;
7627 PyObject
* obj7
= 0 ;
7628 char * kwnames
[] = {
7629 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7634 if (!SWIG_IsOK(res1
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7637 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7639 if (!SWIG_IsOK(res2
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7645 if (!SWIG_IsOK(ecode3
)) {
7646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7648 arg3
= static_cast< int >(val3
);
7652 arg4
= wxString_in_helper(obj3
);
7653 if (arg4
== NULL
) SWIG_fail
;
7660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7666 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7670 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7671 if (!SWIG_IsOK(ecode7
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7674 arg7
= static_cast< long >(val7
);
7678 arg8
= wxString_in_helper(obj7
);
7679 if (arg8
== NULL
) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7714 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
= 0;
7716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7717 SwigValueWrapper
<wxVisualAttributes
> result
;
7720 PyObject
* obj0
= 0 ;
7721 char * kwnames
[] = {
7722 (char *) "variant", NULL
7725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7728 if (!SWIG_IsOK(ecode1
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7731 arg1
= static_cast< wxWindowVariant
>(val1
);
7734 if (!wxPyCheckForApp()) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7747 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7750 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7751 return SWIG_Py_Void();
7754 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7755 return SWIG_Python_InitShadowInstance(args
);
7758 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
= 0;
7760 wxWindow
*arg1
= (wxWindow
*) 0 ;
7761 int arg2
= (int) -1 ;
7762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7766 long arg5
= (long) wxLI_HORIZONTAL
;
7767 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7769 wxStaticLine
*result
= 0 ;
7778 bool temp6
= false ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7781 PyObject
* obj2
= 0 ;
7782 PyObject
* obj3
= 0 ;
7783 PyObject
* obj4
= 0 ;
7784 PyObject
* obj5
= 0 ;
7785 char * kwnames
[] = {
7786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7791 if (!SWIG_IsOK(res1
)) {
7792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7797 if (!SWIG_IsOK(ecode2
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7800 arg2
= static_cast< int >(val2
);
7805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7816 if (!SWIG_IsOK(ecode5
)) {
7817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7819 arg5
= static_cast< long >(val5
);
7823 arg6
= wxString_in_helper(obj5
);
7824 if (arg6
== NULL
) SWIG_fail
;
7829 if (!wxPyCheckForApp()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7850 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7851 PyObject
*resultobj
= 0;
7852 wxStaticLine
*result
= 0 ;
7854 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7856 if (!wxPyCheckForApp()) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (wxStaticLine
*)new wxStaticLine();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7869 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
= 0;
7871 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7872 wxWindow
*arg2
= (wxWindow
*) 0 ;
7873 int arg3
= (int) -1 ;
7874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7878 long arg6
= (long) wxLI_HORIZONTAL
;
7879 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7892 bool temp7
= false ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7897 PyObject
* obj4
= 0 ;
7898 PyObject
* obj5
= 0 ;
7899 PyObject
* obj6
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7909 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7911 if (!SWIG_IsOK(res2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7917 if (!SWIG_IsOK(ecode3
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7920 arg3
= static_cast< int >(val3
);
7925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7936 if (!SWIG_IsOK(ecode6
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7939 arg6
= static_cast< long >(val6
);
7943 arg7
= wxString_in_helper(obj6
);
7944 if (arg7
== NULL
) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7971 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7977 PyObject
*swig_obj
[1] ;
7979 if (!args
) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7985 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8001 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8002 PyObject
*resultobj
= 0;
8005 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (int)wxStaticLine::GetDefaultSize();
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_From_int(static_cast< int >(result
));
8019 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
= 0;
8021 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8022 SwigValueWrapper
<wxVisualAttributes
> result
;
8025 PyObject
* obj0
= 0 ;
8026 char * kwnames
[] = {
8027 (char *) "variant", NULL
8030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8033 if (!SWIG_IsOK(ecode1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8036 arg1
= static_cast< wxWindowVariant
>(val1
);
8039 if (!wxPyCheckForApp()) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8052 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8055 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8056 return SWIG_Py_Void();
8059 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 return SWIG_Python_InitShadowInstance(args
);
8063 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
= 0;
8065 wxWindow
*arg1
= (wxWindow
*) 0 ;
8066 int arg2
= (int) -1 ;
8067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8073 long arg6
= (long) 0 ;
8074 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8076 wxStaticText
*result
= 0 ;
8081 bool temp3
= false ;
8086 bool temp7
= false ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8090 PyObject
* obj3
= 0 ;
8091 PyObject
* obj4
= 0 ;
8092 PyObject
* obj5
= 0 ;
8093 PyObject
* obj6
= 0 ;
8094 char * kwnames
[] = {
8095 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8100 if (!SWIG_IsOK(res1
)) {
8101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8106 if (!SWIG_IsOK(ecode2
)) {
8107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8109 arg2
= static_cast< int >(val2
);
8113 arg3
= wxString_in_helper(obj2
);
8114 if (arg3
== NULL
) SWIG_fail
;
8121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8131 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8132 if (!SWIG_IsOK(ecode6
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8135 arg6
= static_cast< long >(val6
);
8139 arg7
= wxString_in_helper(obj6
);
8140 if (arg7
== NULL
) SWIG_fail
;
8145 if (!wxPyCheckForApp()) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8174 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8175 PyObject
*resultobj
= 0;
8176 wxStaticText
*result
= 0 ;
8178 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8180 if (!wxPyCheckForApp()) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (wxStaticText
*)new wxStaticText();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8193 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
= 0;
8195 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8196 wxWindow
*arg2
= (wxWindow
*) 0 ;
8197 int arg3
= (int) -1 ;
8198 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8199 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8200 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8201 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8202 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8203 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8204 long arg7
= (long) 0 ;
8205 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8214 bool temp4
= false ;
8219 bool temp8
= false ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 PyObject
* obj2
= 0 ;
8223 PyObject
* obj3
= 0 ;
8224 PyObject
* obj4
= 0 ;
8225 PyObject
* obj5
= 0 ;
8226 PyObject
* obj6
= 0 ;
8227 PyObject
* obj7
= 0 ;
8228 char * kwnames
[] = {
8229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8237 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8239 if (!SWIG_IsOK(res2
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8245 if (!SWIG_IsOK(ecode3
)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8248 arg3
= static_cast< int >(val3
);
8252 arg4
= wxString_in_helper(obj3
);
8253 if (arg4
== NULL
) SWIG_fail
;
8260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8270 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8271 if (!SWIG_IsOK(ecode7
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8274 arg7
= static_cast< long >(val7
);
8278 arg8
= wxString_in_helper(obj7
);
8279 if (arg8
== NULL
) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8314 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
= 0;
8316 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8324 char * kwnames
[] = {
8325 (char *) "self",(char *) "width", NULL
8328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8330 if (!SWIG_IsOK(res1
)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8333 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8335 if (!SWIG_IsOK(ecode2
)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8338 arg2
= static_cast< int >(val2
);
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_Py_Void();
8352 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
= 0;
8354 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8355 SwigValueWrapper
<wxVisualAttributes
> result
;
8358 PyObject
* obj0
= 0 ;
8359 char * kwnames
[] = {
8360 (char *) "variant", NULL
8363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8366 if (!SWIG_IsOK(ecode1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8369 arg1
= static_cast< wxWindowVariant
>(val1
);
8372 if (!wxPyCheckForApp()) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8385 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8388 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8389 return SWIG_Py_Void();
8392 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8393 return SWIG_Python_InitShadowInstance(args
);
8396 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
= 0;
8398 wxWindow
*arg1
= (wxWindow
*) 0 ;
8399 int arg2
= (int) -1 ;
8400 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8401 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8406 long arg6
= (long) 0 ;
8407 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8409 wxStaticBitmap
*result
= 0 ;
8420 bool temp7
= false ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 PyObject
* obj2
= 0 ;
8424 PyObject
* obj3
= 0 ;
8425 PyObject
* obj4
= 0 ;
8426 PyObject
* obj5
= 0 ;
8427 PyObject
* obj6
= 0 ;
8428 char * kwnames
[] = {
8429 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8440 if (!SWIG_IsOK(ecode2
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8443 arg2
= static_cast< int >(val2
);
8446 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8447 if (!SWIG_IsOK(res3
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8453 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8468 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8469 if (!SWIG_IsOK(ecode6
)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8472 arg6
= static_cast< long >(val6
);
8476 arg7
= wxString_in_helper(obj6
);
8477 if (arg7
== NULL
) SWIG_fail
;
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8503 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 PyObject
*resultobj
= 0;
8505 wxStaticBitmap
*result
= 0 ;
8507 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8509 if (!wxPyCheckForApp()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8522 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
= 0;
8524 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8525 wxWindow
*arg2
= (wxWindow
*) 0 ;
8526 int arg3
= (int) -1 ;
8527 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8528 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8529 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8530 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8531 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8532 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8533 long arg7
= (long) 0 ;
8534 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8549 bool temp8
= false ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8553 PyObject
* obj3
= 0 ;
8554 PyObject
* obj4
= 0 ;
8555 PyObject
* obj5
= 0 ;
8556 PyObject
* obj6
= 0 ;
8557 PyObject
* obj7
= 0 ;
8558 char * kwnames
[] = {
8559 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8567 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8569 if (!SWIG_IsOK(res2
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8575 if (!SWIG_IsOK(ecode3
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8578 arg3
= static_cast< int >(val3
);
8581 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8582 if (!SWIG_IsOK(res4
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8588 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8593 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8599 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8603 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8604 if (!SWIG_IsOK(ecode7
)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8607 arg7
= static_cast< long >(val7
);
8611 arg8
= wxString_in_helper(obj7
);
8612 if (arg8
== NULL
) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8639 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 PyObject
*resultobj
= 0;
8641 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8645 PyObject
*swig_obj
[1] ;
8647 if (!args
) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8653 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (arg1
)->GetBitmap();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8667 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
= 0;
8669 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8670 wxBitmap
*arg2
= 0 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "bitmap", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8686 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8688 if (!SWIG_IsOK(res2
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8694 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_Py_Void();
8708 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= 0;
8710 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 char * kwnames
[] = {
8719 (char *) "self",(char *) "icon", NULL
8722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8724 if (!SWIG_IsOK(res1
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8727 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8729 if (!SWIG_IsOK(res2
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8735 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_Py_Void();
8749 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
= 0;
8751 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8752 SwigValueWrapper
<wxVisualAttributes
> result
;
8755 PyObject
* obj0
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "variant", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8763 if (!SWIG_IsOK(ecode1
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8766 arg1
= static_cast< wxWindowVariant
>(val1
);
8769 if (!wxPyCheckForApp()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8782 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8785 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8786 return SWIG_Py_Void();
8789 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8790 return SWIG_Python_InitShadowInstance(args
);
8793 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8794 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8799 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8800 PyObject
*pyobj
= 0;
8804 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8806 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8813 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
= 0;
8815 wxWindow
*arg1
= (wxWindow
*) 0 ;
8816 int arg2
= (int) -1 ;
8817 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8818 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8821 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8822 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8823 long arg6
= (long) 0 ;
8824 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8825 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8826 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8827 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8828 wxListBox
*result
= 0 ;
8835 bool temp5
= false ;
8840 bool temp8
= false ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8843 PyObject
* obj2
= 0 ;
8844 PyObject
* obj3
= 0 ;
8845 PyObject
* obj4
= 0 ;
8846 PyObject
* obj5
= 0 ;
8847 PyObject
* obj6
= 0 ;
8848 PyObject
* obj7
= 0 ;
8849 char * kwnames
[] = {
8850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8861 if (!SWIG_IsOK(ecode2
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8864 arg2
= static_cast< int >(val2
);
8869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8880 if (! PySequence_Check(obj4
)) {
8881 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8884 arg5
= new wxArrayString
;
8886 int i
, len
=PySequence_Length(obj4
);
8887 for (i
=0; i
<len
; i
++) {
8888 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8889 wxString
* s
= wxString_in_helper(item
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8899 if (!SWIG_IsOK(ecode6
)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8902 arg6
= static_cast< long >(val6
);
8905 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8906 if (!SWIG_IsOK(res7
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8912 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8916 arg8
= wxString_in_helper(obj7
);
8917 if (arg8
== NULL
) SWIG_fail
;
8922 if (!wxPyCheckForApp()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8930 if (temp5
) delete arg5
;
8939 if (temp5
) delete arg5
;
8949 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8950 PyObject
*resultobj
= 0;
8951 wxListBox
*result
= 0 ;
8953 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8955 if (!wxPyCheckForApp()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (wxListBox
*)new wxListBox();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8968 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
= 0;
8970 wxListBox
*arg1
= (wxListBox
*) 0 ;
8971 wxWindow
*arg2
= (wxWindow
*) 0 ;
8972 int arg3
= (int) -1 ;
8973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8977 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8978 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8979 long arg7
= (long) 0 ;
8980 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8981 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8982 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8983 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8993 bool temp6
= false ;
8998 bool temp9
= false ;
8999 PyObject
* obj0
= 0 ;
9000 PyObject
* obj1
= 0 ;
9001 PyObject
* obj2
= 0 ;
9002 PyObject
* obj3
= 0 ;
9003 PyObject
* obj4
= 0 ;
9004 PyObject
* obj5
= 0 ;
9005 PyObject
* obj6
= 0 ;
9006 PyObject
* obj7
= 0 ;
9007 PyObject
* obj8
= 0 ;
9008 char * kwnames
[] = {
9009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9017 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9019 if (!SWIG_IsOK(res2
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9025 if (!SWIG_IsOK(ecode3
)) {
9026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9028 arg3
= static_cast< int >(val3
);
9033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9044 if (! PySequence_Check(obj5
)) {
9045 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9048 arg6
= new wxArrayString
;
9050 int i
, len
=PySequence_Length(obj5
);
9051 for (i
=0; i
<len
; i
++) {
9052 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9053 wxString
* s
= wxString_in_helper(item
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9062 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9063 if (!SWIG_IsOK(ecode7
)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9066 arg7
= static_cast< long >(val7
);
9069 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9070 if (!SWIG_IsOK(res8
)) {
9071 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9076 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9080 arg9
= wxString_in_helper(obj8
);
9081 if (arg9
== NULL
) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9095 if (temp6
) delete arg6
;
9104 if (temp6
) delete arg6
;
9114 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= 0;
9116 wxListBox
*arg1
= (wxListBox
*) 0 ;
9117 wxString
*arg2
= 0 ;
9119 PyObject
*arg4
= (PyObject
*) NULL
;
9122 bool temp2
= false ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9128 PyObject
* obj3
= 0 ;
9129 char * kwnames
[] = {
9130 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9138 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9140 arg2
= wxString_in_helper(obj1
);
9141 if (arg2
== NULL
) SWIG_fail
;
9144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9145 if (!SWIG_IsOK(ecode3
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9148 arg3
= static_cast< int >(val3
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_Py_Void();
9173 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= 0;
9175 wxListBox
*arg1
= (wxListBox
*) 0 ;
9176 wxArrayString
*arg2
= 0 ;
9180 bool temp2
= false ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 PyObject
* obj2
= 0 ;
9186 char * kwnames
[] = {
9187 (char *) "self",(char *) "items",(char *) "pos", NULL
9190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9192 if (!SWIG_IsOK(res1
)) {
9193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9195 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9197 if (! PySequence_Check(obj1
)) {
9198 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9201 arg2
= new wxArrayString
;
9203 int i
, len
=PySequence_Length(obj1
);
9204 for (i
=0; i
<len
; i
++) {
9205 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9206 wxString
* s
= wxString_in_helper(item
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9213 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9214 if (!SWIG_IsOK(ecode3
)) {
9215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9217 arg3
= static_cast< unsigned int >(val3
);
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_Py_Void();
9226 if (temp2
) delete arg2
;
9231 if (temp2
) delete arg2
;
9237 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxListBox
*arg1
= (wxListBox
*) 0 ;
9240 wxArrayString
*arg2
= 0 ;
9243 bool temp2
= false ;
9244 PyObject
* obj0
= 0 ;
9245 PyObject
* obj1
= 0 ;
9246 char * kwnames
[] = {
9247 (char *) "self",(char *) "items", NULL
9250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9252 if (!SWIG_IsOK(res1
)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9255 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9257 if (! PySequence_Check(obj1
)) {
9258 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9261 arg2
= new wxArrayString
;
9263 int i
, len
=PySequence_Length(obj1
);
9264 for (i
=0; i
<len
; i
++) {
9265 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9266 wxString
* s
= wxString_in_helper(item
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 (arg1
)->Set((wxArrayString
const &)*arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_Py_Void();
9281 if (temp2
) delete arg2
;
9286 if (temp2
) delete arg2
;
9292 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= 0;
9294 wxListBox
*arg1
= (wxListBox
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 char * kwnames
[] = {
9304 (char *) "self",(char *) "n", NULL
9307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9309 if (!SWIG_IsOK(res1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9312 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9314 if (!SWIG_IsOK(ecode2
)) {
9315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9317 arg2
= static_cast< int >(val2
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= 0;
9335 wxListBox
*arg1
= (wxListBox
*) 0 ;
9337 bool arg3
= (bool) true ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9347 char * kwnames
[] = {
9348 (char *) "self",(char *) "n",(char *) "select", NULL
9351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9356 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9358 if (!SWIG_IsOK(ecode2
)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9361 arg2
= static_cast< int >(val2
);
9363 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9364 if (!SWIG_IsOK(ecode3
)) {
9365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9367 arg3
= static_cast< bool >(val3
);
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 (arg1
)->SetSelection(arg2
,arg3
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_Py_Void();
9382 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
= 0;
9384 wxListBox
*arg1
= (wxListBox
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 char * kwnames
[] = {
9393 (char *) "self",(char *) "n", NULL
9396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9401 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9403 if (!SWIG_IsOK(ecode2
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9406 arg2
= static_cast< int >(val2
);
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 (arg1
)->Select(arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_Py_Void();
9420 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
= 0;
9422 wxListBox
*arg1
= (wxListBox
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 char * kwnames
[] = {
9431 (char *) "self",(char *) "n", NULL
9434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9439 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9441 if (!SWIG_IsOK(ecode2
)) {
9442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9444 arg2
= static_cast< int >(val2
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 (arg1
)->Deselect(arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_Py_Void();
9458 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
= 0;
9460 wxListBox
*arg1
= (wxListBox
*) 0 ;
9461 int arg2
= (int) -1 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 char * kwnames
[] = {
9469 (char *) "self",(char *) "itemToLeaveSelected", NULL
9472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9477 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9480 if (!SWIG_IsOK(ecode2
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9483 arg2
= static_cast< int >(val2
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->DeselectAll(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxListBox
*arg1
= (wxListBox
*) 0 ;
9501 wxString
*arg2
= 0 ;
9502 bool arg3
= (bool) true ;
9506 bool temp2
= false ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "s",(char *) "select", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9523 arg2
= wxString_in_helper(obj1
);
9524 if (arg2
== NULL
) SWIG_fail
;
9528 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9529 if (!SWIG_IsOK(ecode3
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9532 arg3
= static_cast< bool >(val3
);
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9557 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9558 PyObject
*resultobj
= 0;
9559 wxListBox
*arg1
= (wxListBox
*) 0 ;
9560 PyObject
*result
= 0 ;
9563 PyObject
*swig_obj
[1] ;
9565 if (!args
) SWIG_fail
;
9567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9568 if (!SWIG_IsOK(res1
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9571 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9585 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= 0;
9587 wxListBox
*arg1
= (wxListBox
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9595 char * kwnames
[] = {
9596 (char *) "self",(char *) "n", NULL
9599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9604 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9606 if (!SWIG_IsOK(ecode2
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9609 arg2
= static_cast< int >(val2
);
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->SetFirstItem(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_Py_Void();
9623 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxListBox
*arg1
= (wxListBox
*) 0 ;
9626 wxString
*arg2
= 0 ;
9629 bool temp2
= false ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "s", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9641 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9643 arg2
= wxString_in_helper(obj1
);
9644 if (arg2
== NULL
) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxListBox
*arg1
= (wxListBox
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 char * kwnames
[] = {
9679 (char *) "self",(char *) "n", NULL
9682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",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_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9687 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9689 if (!SWIG_IsOK(ecode2
)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9692 arg2
= static_cast< int >(val2
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->EnsureVisible(arg2
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_Py_Void();
9706 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
= 0;
9708 wxListBox
*arg1
= (wxListBox
*) 0 ;
9709 wxString
*arg2
= 0 ;
9712 bool temp2
= false ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "self",(char *) "s", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9724 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9726 arg2
= wxString_in_helper(obj1
);
9727 if (arg2
== NULL
) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_Py_Void();
9751 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9752 PyObject
*resultobj
= 0;
9753 wxListBox
*arg1
= (wxListBox
*) 0 ;
9757 PyObject
*swig_obj
[1] ;
9759 if (!args
) SWIG_fail
;
9761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9762 if (!SWIG_IsOK(res1
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9765 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxListBox
*arg1
= (wxListBox
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 char * kwnames
[] = {
9792 (char *) "self",(char *) "pt", NULL
9795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9800 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_From_int(static_cast< int >(result
));
9818 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
= 0;
9820 wxListBox
*arg1
= (wxListBox
*) 0 ;
9822 wxColour
*arg3
= 0 ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 PyObject
* obj2
= 0 ;
9831 char * kwnames
[] = {
9832 (char *) "self",(char *) "item",(char *) "c", NULL
9835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9837 if (!SWIG_IsOK(res1
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9840 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9842 if (!SWIG_IsOK(ecode2
)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9845 arg2
= static_cast< int >(val2
);
9848 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_Py_Void();
9863 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxListBox
*arg1
= (wxListBox
*) 0 ;
9867 wxColour
*arg3
= 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 PyObject
* obj2
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "item",(char *) "c", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9885 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9893 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxListBox
*arg1
= (wxListBox
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "self",(char *) "item",(char *) "f", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",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_SetItemFont" "', 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_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9936 arg2
= static_cast< int >(val2
);
9937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9938 if (!SWIG_IsOK(res3
)) {
9939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9944 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_Py_Void();
9958 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9961 SwigValueWrapper
<wxVisualAttributes
> result
;
9964 PyObject
* obj0
= 0 ;
9965 char * kwnames
[] = {
9966 (char *) "variant", NULL
9969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9972 if (!SWIG_IsOK(ecode1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9975 arg1
= static_cast< wxWindowVariant
>(val1
);
9978 if (!wxPyCheckForApp()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9991 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9994 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9995 return SWIG_Py_Void();
9998 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9999 return SWIG_Python_InitShadowInstance(args
);
10002 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
= 0;
10004 wxWindow
*arg1
= (wxWindow
*) 0 ;
10005 int arg2
= (int) -1 ;
10006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10010 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10011 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10012 long arg6
= (long) 0 ;
10013 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10014 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10015 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10016 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10017 wxCheckListBox
*result
= 0 ;
10024 bool temp5
= false ;
10029 bool temp8
= false ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 PyObject
* obj3
= 0 ;
10034 PyObject
* obj4
= 0 ;
10035 PyObject
* obj5
= 0 ;
10036 PyObject
* obj6
= 0 ;
10037 PyObject
* obj7
= 0 ;
10038 char * kwnames
[] = {
10039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10044 if (!SWIG_IsOK(res1
)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10050 if (!SWIG_IsOK(ecode2
)) {
10051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10053 arg2
= static_cast< int >(val2
);
10058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10064 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10069 if (! PySequence_Check(obj4
)) {
10070 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10073 arg5
= new wxArrayString
;
10075 int i
, len
=PySequence_Length(obj4
);
10076 for (i
=0; i
<len
; i
++) {
10077 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10078 wxString
* s
= wxString_in_helper(item
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10087 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10088 if (!SWIG_IsOK(ecode6
)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10091 arg6
= static_cast< long >(val6
);
10094 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10095 if (!SWIG_IsOK(res7
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10101 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10105 arg8
= wxString_in_helper(obj7
);
10106 if (arg8
== NULL
) SWIG_fail
;
10111 if (!wxPyCheckForApp()) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10119 if (temp5
) delete arg5
;
10128 if (temp5
) delete arg5
;
10138 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10139 PyObject
*resultobj
= 0;
10140 wxCheckListBox
*result
= 0 ;
10142 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10144 if (!wxPyCheckForApp()) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (wxCheckListBox
*)new wxCheckListBox();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10157 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
= 0;
10159 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10160 wxWindow
*arg2
= (wxWindow
*) 0 ;
10161 int arg3
= (int) -1 ;
10162 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10163 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10164 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10165 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10166 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10167 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10168 long arg7
= (long) 0 ;
10169 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10170 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10171 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10172 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10182 bool temp6
= false ;
10187 bool temp9
= false ;
10188 PyObject
* obj0
= 0 ;
10189 PyObject
* obj1
= 0 ;
10190 PyObject
* obj2
= 0 ;
10191 PyObject
* obj3
= 0 ;
10192 PyObject
* obj4
= 0 ;
10193 PyObject
* obj5
= 0 ;
10194 PyObject
* obj6
= 0 ;
10195 PyObject
* obj7
= 0 ;
10196 PyObject
* obj8
= 0 ;
10197 char * kwnames
[] = {
10198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10206 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10208 if (!SWIG_IsOK(res2
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10214 if (!SWIG_IsOK(ecode3
)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10217 arg3
= static_cast< int >(val3
);
10222 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10228 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10233 if (! PySequence_Check(obj5
)) {
10234 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10237 arg6
= new wxArrayString
;
10239 int i
, len
=PySequence_Length(obj5
);
10240 for (i
=0; i
<len
; i
++) {
10241 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10242 wxString
* s
= wxString_in_helper(item
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10251 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10252 if (!SWIG_IsOK(ecode7
)) {
10253 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10255 arg7
= static_cast< long >(val7
);
10258 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10259 if (!SWIG_IsOK(res8
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10265 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10269 arg9
= wxString_in_helper(obj8
);
10270 if (arg9
== NULL
) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10284 if (temp6
) delete arg6
;
10293 if (temp6
) delete arg6
;
10303 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= 0;
10305 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10306 unsigned int arg2
;
10310 unsigned int val2
;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "index", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10323 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10324 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10325 if (!SWIG_IsOK(ecode2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10328 arg2
= static_cast< unsigned int >(val2
);
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (bool)(arg1
)->IsChecked(arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
= 0;
10346 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10347 unsigned int arg2
;
10348 int arg3
= (int) true ;
10351 unsigned int val2
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 PyObject
* obj2
= 0 ;
10358 char * kwnames
[] = {
10359 (char *) "self",(char *) "index",(char *) "check", NULL
10362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10367 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10368 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10369 if (!SWIG_IsOK(ecode2
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10372 arg2
= static_cast< unsigned int >(val2
);
10374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10375 if (!SWIG_IsOK(ecode3
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10378 arg3
= static_cast< int >(val3
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 (arg1
)->Check(arg2
,arg3
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_Py_Void();
10393 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10396 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10397 return SWIG_Py_Void();
10400 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 return SWIG_Python_InitShadowInstance(args
);
10404 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10405 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10410 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10411 PyObject
*pyobj
= 0;
10415 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10417 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxColour
const &arg1_defvalue
= wxNullColour
;
10427 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10428 wxColour
const &arg2_defvalue
= wxNullColour
;
10429 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10430 wxFont
const &arg3_defvalue
= wxNullFont
;
10431 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10432 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10433 wxTextAttr
*result
= 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10462 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10463 if (!SWIG_IsOK(res3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10469 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10473 if (!SWIG_IsOK(ecode4
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10476 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10491 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10504 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10532 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= 0 ;
10549 wxTextAttr
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "base",(char *) "overlay", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10569 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10571 if (!SWIG_IsOK(res2
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10577 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10591 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10594 wxColour
*arg2
= 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "colText", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10609 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_Py_Void();
10627 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
= 0;
10629 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10630 wxColour
*arg2
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "self",(char *) "colBack", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10645 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_Py_Void();
10663 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10667 long arg3
= (long) wxTEXT_ATTR_FONT
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "font",(char *) "flags", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10688 if (!SWIG_IsOK(res2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10694 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10697 if (!SWIG_IsOK(ecode3
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10700 arg3
= static_cast< long >(val3
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_Py_Void();
10715 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
= 0;
10717 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10718 wxTextAttrAlignment arg2
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char * kwnames
[] = {
10726 (char *) "self",(char *) "alignment", NULL
10729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10731 if (!SWIG_IsOK(res1
)) {
10732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10734 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10736 if (!SWIG_IsOK(ecode2
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10739 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetAlignment(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10753 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10756 wxArrayInt
*arg2
= 0 ;
10759 bool temp2
= false ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char * kwnames
[] = {
10763 (char *) "self",(char *) "tabs", NULL
10766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10771 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10773 if (! PySequence_Check(obj1
)) {
10774 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10777 arg2
= new wxArrayInt
;
10779 int i
, len
=PySequence_Length(obj1
);
10780 for (i
=0; i
<len
; i
++) {
10781 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10782 PyObject
* number
= PyNumber_Int(item
);
10784 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10787 arg2
->Add(PyInt_AS_LONG(number
));
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10800 if (temp2
) delete arg2
;
10805 if (temp2
) delete arg2
;
10811 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
= 0;
10813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 int arg3
= (int) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10834 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10836 if (!SWIG_IsOK(ecode2
)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10839 arg2
= static_cast< int >(val2
);
10841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10842 if (!SWIG_IsOK(ecode3
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10845 arg3
= static_cast< int >(val3
);
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->SetLeftIndent(arg2
,arg3
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_Py_Void();
10860 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
= 0;
10862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char * kwnames
[] = {
10871 (char *) "self",(char *) "indent", NULL
10874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10876 if (!SWIG_IsOK(res1
)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10879 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10881 if (!SWIG_IsOK(ecode2
)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10884 arg2
= static_cast< int >(val2
);
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->SetRightIndent(arg2
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_Py_Void();
10898 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
= 0;
10900 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char * kwnames
[] = {
10909 (char *) "self",(char *) "flags", NULL
10912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10914 if (!SWIG_IsOK(res1
)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10917 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10918 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10919 if (!SWIG_IsOK(ecode2
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10922 arg2
= static_cast< long >(val2
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetFlags(arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_Py_Void();
10936 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10937 PyObject
*resultobj
= 0;
10938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10942 PyObject
*swig_obj
[1] ;
10944 if (!args
) SWIG_fail
;
10945 swig_obj
[0] = args
;
10946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10947 if (!SWIG_IsOK(res1
)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10950 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10972 PyObject
*swig_obj
[1] ;
10974 if (!args
) SWIG_fail
;
10975 swig_obj
[0] = args
;
10976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10980 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10996 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10997 PyObject
*resultobj
= 0;
10998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11002 PyObject
*swig_obj
[1] ;
11004 if (!args
) SWIG_fail
;
11005 swig_obj
[0] = args
;
11006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11010 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11026 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11027 PyObject
*resultobj
= 0;
11028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11032 PyObject
*swig_obj
[1] ;
11034 if (!args
) SWIG_fail
;
11035 swig_obj
[0] = args
;
11036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11040 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11070 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 PyObject
*resultobj
= 0;
11088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11100 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11122 PyObject
*swig_obj
[1] ;
11124 if (!args
) SWIG_fail
;
11125 swig_obj
[0] = args
;
11126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11130 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "flag", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11166 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11171 arg2
= static_cast< long >(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11190 wxColour
*result
= 0 ;
11193 PyObject
*swig_obj
[1] ;
11195 if (!args
) SWIG_fail
;
11196 swig_obj
[0] = args
;
11197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11201 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11206 result
= (wxColour
*) &_result_ref
;
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11218 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11219 PyObject
*resultobj
= 0;
11220 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11221 wxColour
*result
= 0 ;
11224 PyObject
*swig_obj
[1] ;
11226 if (!args
) SWIG_fail
;
11227 swig_obj
[0] = args
;
11228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11232 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11237 result
= (wxColour
*) &_result_ref
;
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11249 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11252 wxFont
*result
= 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11263 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11268 result
= (wxFont
*) &_result_ref
;
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 wxFont
* resultptr
= new wxFont(*result
);
11275 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11283 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11284 PyObject
*resultobj
= 0;
11285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11286 wxTextAttrAlignment result
;
11289 PyObject
*swig_obj
[1] ;
11291 if (!args
) SWIG_fail
;
11292 swig_obj
[0] = args
;
11293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11297 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_From_int(static_cast< int >(result
));
11311 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11312 PyObject
*resultobj
= 0;
11313 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11314 wxArrayInt
*result
= 0 ;
11317 PyObject
*swig_obj
[1] ;
11319 if (!args
) SWIG_fail
;
11320 swig_obj
[0] = args
;
11321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11322 if (!SWIG_IsOK(res1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11325 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11330 result
= (wxArrayInt
*) &_result_ref
;
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= wxArrayInt2PyList_helper(*result
);
11344 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11345 PyObject
*resultobj
= 0;
11346 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11350 PyObject
*swig_obj
[1] ;
11352 if (!args
) SWIG_fail
;
11353 swig_obj
[0] = args
;
11354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11355 if (!SWIG_IsOK(res1
)) {
11356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11358 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_From_long(static_cast< long >(result
));
11372 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 PyObject
*resultobj
= 0;
11374 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11378 PyObject
*swig_obj
[1] ;
11380 if (!args
) SWIG_fail
;
11381 swig_obj
[0] = args
;
11382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11383 if (!SWIG_IsOK(res1
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11386 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_From_long(static_cast< long >(result
));
11400 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11414 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_From_long(static_cast< long >(result
));
11428 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11442 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_long(static_cast< long >(result
));
11456 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
= 0;
11488 wxTextAttr
*arg1
= 0 ;
11489 wxTextAttr
*arg2
= 0 ;
11490 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 char * kwnames
[] = {
11502 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11506 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11507 if (!SWIG_IsOK(res1
)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11513 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11515 if (!SWIG_IsOK(res2
)) {
11516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11521 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11522 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11523 if (!SWIG_IsOK(res3
)) {
11524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11526 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11540 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11543 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11544 return SWIG_Py_Void();
11547 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11548 return SWIG_Python_InitShadowInstance(args
);
11551 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxWindow
*arg1
= (wxWindow
*) 0 ;
11554 int arg2
= (int) -1 ;
11555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11561 long arg6
= (long) 0 ;
11562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11564 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11566 wxTextCtrl
*result
= 0 ;
11571 bool temp3
= false ;
11578 bool temp8
= false ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 PyObject
* obj3
= 0 ;
11583 PyObject
* obj4
= 0 ;
11584 PyObject
* obj5
= 0 ;
11585 PyObject
* obj6
= 0 ;
11586 PyObject
* obj7
= 0 ;
11587 char * kwnames
[] = {
11588 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11593 if (!SWIG_IsOK(res1
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11599 if (!SWIG_IsOK(ecode2
)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11602 arg2
= static_cast< int >(val2
);
11606 arg3
= wxString_in_helper(obj2
);
11607 if (arg3
== NULL
) SWIG_fail
;
11614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11624 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11625 if (!SWIG_IsOK(ecode6
)) {
11626 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11628 arg6
= static_cast< long >(val6
);
11631 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11632 if (!SWIG_IsOK(res7
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11638 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11642 arg8
= wxString_in_helper(obj7
);
11643 if (arg8
== NULL
) SWIG_fail
;
11648 if (!wxPyCheckForApp()) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11677 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11678 PyObject
*resultobj
= 0;
11679 wxTextCtrl
*result
= 0 ;
11681 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11683 if (!wxPyCheckForApp()) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (wxTextCtrl
*)new wxTextCtrl();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11696 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
= 0;
11698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11699 wxWindow
*arg2
= (wxWindow
*) 0 ;
11700 int arg3
= (int) -1 ;
11701 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11703 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11704 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11705 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11706 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11707 long arg7
= (long) 0 ;
11708 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11709 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11710 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11711 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11719 bool temp4
= false ;
11726 bool temp9
= false ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 PyObject
* obj3
= 0 ;
11731 PyObject
* obj4
= 0 ;
11732 PyObject
* obj5
= 0 ;
11733 PyObject
* obj6
= 0 ;
11734 PyObject
* obj7
= 0 ;
11735 PyObject
* obj8
= 0 ;
11736 char * kwnames
[] = {
11737 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11745 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11747 if (!SWIG_IsOK(res2
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11750 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11753 if (!SWIG_IsOK(ecode3
)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11756 arg3
= static_cast< int >(val3
);
11760 arg4
= wxString_in_helper(obj3
);
11761 if (arg4
== NULL
) SWIG_fail
;
11768 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11774 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11778 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11779 if (!SWIG_IsOK(ecode7
)) {
11780 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11782 arg7
= static_cast< long >(val7
);
11785 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11786 if (!SWIG_IsOK(res8
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11792 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11796 arg9
= wxString_in_helper(obj8
);
11797 if (arg9
== NULL
) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11832 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11833 PyObject
*resultobj
= 0;
11834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11838 PyObject
*swig_obj
[1] ;
11840 if (!args
) SWIG_fail
;
11841 swig_obj
[0] = args
;
11842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11846 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11866 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= 0;
11868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11869 wxString
*arg2
= 0 ;
11872 bool temp2
= false ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "self",(char *) "value", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11884 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11886 arg2
= wxString_in_helper(obj1
);
11887 if (arg2
== NULL
) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetValue((wxString
const &)*arg2
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_Py_Void();
11911 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11912 PyObject
*resultobj
= 0;
11913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11917 PyObject
*swig_obj
[1] ;
11919 if (!args
) SWIG_fail
;
11920 swig_obj
[0] = args
;
11921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11922 if (!SWIG_IsOK(res1
)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11925 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11941 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
= 0;
11943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11944 wxString
*arg2
= 0 ;
11947 bool temp2
= false ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 char * kwnames
[] = {
11951 (char *) "self",(char *) "value", NULL
11954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11959 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11961 arg2
= wxString_in_helper(obj1
);
11962 if (arg2
== NULL
) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_Py_Void();
11986 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 PyObject
* obj2
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "from",(char *) "to", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12010 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12012 if (!SWIG_IsOK(ecode2
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12015 arg2
= static_cast< long >(val2
);
12016 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12017 if (!SWIG_IsOK(ecode3
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12020 arg3
= static_cast< long >(val3
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12040 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "lineNo", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12065 arg2
= static_cast< long >(val2
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_From_int(static_cast< int >(result
));
12079 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
= 0;
12081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char * kwnames
[] = {
12091 (char *) "self",(char *) "lineNo", NULL
12094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12099 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12101 if (!SWIG_IsOK(ecode2
)) {
12102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12104 arg2
= static_cast< long >(val2
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12124 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 PyObject
*resultobj
= 0;
12126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12138 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_From_int(static_cast< int >(result
));
12152 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 PyObject
*resultobj
= 0;
12154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12158 PyObject
*swig_obj
[1] ;
12160 if (!args
) SWIG_fail
;
12161 swig_obj
[0] = args
;
12162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12163 if (!SWIG_IsOK(res1
)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12166 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12182 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12183 PyObject
*resultobj
= 0;
12184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12188 PyObject
*swig_obj
[1] ;
12190 if (!args
) SWIG_fail
;
12191 swig_obj
[0] = args
;
12192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12193 if (!SWIG_IsOK(res1
)) {
12194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12196 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12218 PyObject
*swig_obj
[1] ;
12220 if (!args
) SWIG_fail
;
12221 swig_obj
[0] = args
;
12222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12242 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 long *arg2
= (long *) 0 ;
12276 long *arg3
= (long *) 0 ;
12280 int res2
= SWIG_TMPOBJ
;
12282 int res3
= SWIG_TMPOBJ
;
12283 PyObject
*swig_obj
[1] ;
12287 if (!args
) SWIG_fail
;
12288 swig_obj
[0] = args
;
12289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_Py_Void();
12301 if (SWIG_IsTmpObj(res2
)) {
12302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12304 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12307 if (SWIG_IsTmpObj(res3
)) {
12308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12310 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12319 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 PyObject
*resultobj
= 0;
12321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12353 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12354 PyObject
*resultobj
= 0;
12355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12358 PyObject
*swig_obj
[1] ;
12360 if (!args
) SWIG_fail
;
12361 swig_obj
[0] = args
;
12362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_Py_Void();
12380 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
= 0;
12382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12385 wxString
*arg4
= 0 ;
12392 bool temp4
= false ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 PyObject
* obj2
= 0 ;
12396 PyObject
* obj3
= 0 ;
12397 char * kwnames
[] = {
12398 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12403 if (!SWIG_IsOK(res1
)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12406 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12408 if (!SWIG_IsOK(ecode2
)) {
12409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12411 arg2
= static_cast< long >(val2
);
12412 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12413 if (!SWIG_IsOK(ecode3
)) {
12414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12416 arg3
= static_cast< long >(val3
);
12418 arg4
= wxString_in_helper(obj3
);
12419 if (arg4
== NULL
) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_Py_Void();
12443 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
= 0;
12445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 PyObject
* obj2
= 0 ;
12457 char * kwnames
[] = {
12458 (char *) "self",(char *) "from",(char *) "to", NULL
12461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12466 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12467 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12468 if (!SWIG_IsOK(ecode2
)) {
12469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12471 arg2
= static_cast< long >(val2
);
12472 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12473 if (!SWIG_IsOK(ecode3
)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12476 arg3
= static_cast< long >(val3
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->Remove(arg2
,arg3
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_Py_Void();
12490 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
= 0;
12492 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12493 wxString
*arg2
= 0 ;
12494 int arg3
= (int) wxTEXT_TYPE_ANY
;
12498 bool temp2
= false ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 PyObject
* obj2
= 0 ;
12504 char * kwnames
[] = {
12505 (char *) "self",(char *) "file",(char *) "fileType", NULL
12508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12513 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12515 arg2
= wxString_in_helper(obj1
);
12516 if (arg2
== NULL
) SWIG_fail
;
12520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12521 if (!SWIG_IsOK(ecode3
)) {
12522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12524 arg3
= static_cast< int >(val3
);
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12549 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= 0;
12551 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12552 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12553 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12554 int arg3
= (int) wxTEXT_TYPE_ANY
;
12558 bool temp2
= false ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "self",(char *) "file",(char *) "fileType", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12576 arg2
= wxString_in_helper(obj1
);
12577 if (arg2
== NULL
) SWIG_fail
;
12582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12583 if (!SWIG_IsOK(ecode3
)) {
12584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12586 arg3
= static_cast< int >(val3
);
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12611 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12616 PyObject
*swig_obj
[1] ;
12618 if (!args
) SWIG_fail
;
12619 swig_obj
[0] = args
;
12620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12624 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 (arg1
)->MarkDirty();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_Py_Void();
12638 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12643 PyObject
*swig_obj
[1] ;
12645 if (!args
) SWIG_fail
;
12646 swig_obj
[0] = args
;
12647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12651 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->DiscardEdits();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_Py_Void();
12665 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
= 0;
12667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char * kwnames
[] = {
12676 (char *) "self",(char *) "modified", NULL
12679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12681 if (!SWIG_IsOK(res1
)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12684 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12686 if (!SWIG_IsOK(ecode2
)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12689 arg2
= static_cast< bool >(val2
);
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 (arg1
)->SetModified(arg2
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_Py_Void();
12703 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
= 0;
12705 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12706 unsigned long arg2
;
12709 unsigned long val2
;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char * kwnames
[] = {
12714 (char *) "self",(char *) "len", NULL
12717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12719 if (!SWIG_IsOK(res1
)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12723 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12724 if (!SWIG_IsOK(ecode2
)) {
12725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12727 arg2
= static_cast< unsigned long >(val2
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 (arg1
)->SetMaxLength(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_Py_Void();
12741 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12744 wxString
*arg2
= 0 ;
12747 bool temp2
= false ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 char * kwnames
[] = {
12751 (char *) "self",(char *) "text", NULL
12754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12759 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12761 arg2
= wxString_in_helper(obj1
);
12762 if (arg2
== NULL
) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->WriteText((wxString
const &)*arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_Py_Void();
12786 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= 0;
12788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12789 wxString
*arg2
= 0 ;
12792 bool temp2
= false ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char * kwnames
[] = {
12796 (char *) "self",(char *) "text", NULL
12799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12804 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12806 arg2
= wxString_in_helper(obj1
);
12807 if (arg2
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->AppendText((wxString
const &)*arg2
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_Py_Void();
12831 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
= 0;
12833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12834 wxKeyEvent
*arg2
= 0 ;
12840 PyObject
* obj0
= 0 ;
12841 PyObject
* obj1
= 0 ;
12842 char * kwnames
[] = {
12843 (char *) "self",(char *) "event", NULL
12846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12851 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12853 if (!SWIG_IsOK(res2
)) {
12854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12859 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12875 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
= 0;
12877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12880 wxTextAttr
*arg4
= 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 PyObject
* obj2
= 0 ;
12893 PyObject
* obj3
= 0 ;
12894 char * kwnames
[] = {
12895 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12903 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12904 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12905 if (!SWIG_IsOK(ecode2
)) {
12906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12908 arg2
= static_cast< long >(val2
);
12909 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12910 if (!SWIG_IsOK(ecode3
)) {
12911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12913 arg3
= static_cast< long >(val3
);
12914 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12915 if (!SWIG_IsOK(res4
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12921 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12937 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
= 0;
12939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12941 wxTextAttr
*arg3
= 0 ;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 PyObject
* obj2
= 0 ;
12952 char * kwnames
[] = {
12953 (char *) "self",(char *) "position",(char *) "style", NULL
12956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12961 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12963 if (!SWIG_IsOK(ecode2
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12966 arg2
= static_cast< long >(val2
);
12967 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12968 if (!SWIG_IsOK(res3
)) {
12969 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12974 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
= 0;
12992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12993 wxTextAttr
*arg2
= 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char * kwnames
[] = {
13002 (char *) "self",(char *) "style", NULL
13005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13010 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13012 if (!SWIG_IsOK(res2
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13018 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13034 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13035 PyObject
*resultobj
= 0;
13036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13037 wxTextAttr
*result
= 0 ;
13040 PyObject
*swig_obj
[1] ;
13042 if (!args
) SWIG_fail
;
13043 swig_obj
[0] = args
;
13044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13045 if (!SWIG_IsOK(res1
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13048 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13053 result
= (wxTextAttr
*) &_result_ref
;
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13065 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 char * kwnames
[] = {
13081 (char *) "self",(char *) "x",(char *) "y", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13089 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13090 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13091 if (!SWIG_IsOK(ecode2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13094 arg2
= static_cast< long >(val2
);
13095 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13096 if (!SWIG_IsOK(ecode3
)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13099 arg3
= static_cast< long >(val3
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_From_long(static_cast< long >(result
));
13113 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13117 long *arg3
= (long *) 0 ;
13118 long *arg4
= (long *) 0 ;
13124 int res3
= SWIG_TMPOBJ
;
13126 int res4
= SWIG_TMPOBJ
;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char * kwnames
[] = {
13130 (char *) "self",(char *) "pos", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13140 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13141 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13142 if (!SWIG_IsOK(ecode2
)) {
13143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13145 arg2
= static_cast< long >(val2
);
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_Py_Void();
13153 if (SWIG_IsTmpObj(res3
)) {
13154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13156 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13159 if (SWIG_IsTmpObj(res4
)) {
13160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13162 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13171 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
= 0;
13173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char * kwnames
[] = {
13182 (char *) "self",(char *) "pos", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13192 if (!SWIG_IsOK(ecode2
)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13195 arg2
= static_cast< long >(val2
);
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->ShowPosition(arg2
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_Py_Void();
13209 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
= 0;
13211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13212 wxPoint
*arg2
= 0 ;
13213 long *arg3
= (long *) 0 ;
13214 long *arg4
= (long *) 0 ;
13215 wxTextCtrlHitTestResult result
;
13220 int res3
= SWIG_TMPOBJ
;
13222 int res4
= SWIG_TMPOBJ
;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 char * kwnames
[] = {
13226 (char *) "self",(char *) "pt", NULL
13231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13233 if (!SWIG_IsOK(res1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13236 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_From_int(static_cast< int >(result
));
13248 if (SWIG_IsTmpObj(res3
)) {
13249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13251 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13254 if (SWIG_IsTmpObj(res4
)) {
13255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13257 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13266 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13269 wxPoint
*arg2
= 0 ;
13270 long *arg3
= (long *) 0 ;
13271 wxTextCtrlHitTestResult result
;
13276 int res3
= SWIG_TMPOBJ
;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 char * kwnames
[] = {
13280 (char *) "self",(char *) "pt", NULL
13284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13286 if (!SWIG_IsOK(res1
)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13289 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_From_int(static_cast< int >(result
));
13301 if (SWIG_IsTmpObj(res3
)) {
13302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13304 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13313 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13326 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_Py_Void();
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13345 PyObject
*swig_obj
[1] ;
13347 if (!args
) SWIG_fail
;
13348 swig_obj
[0] = args
;
13349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_Py_Void();
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13400 PyObject
*swig_obj
[1] ;
13402 if (!args
) SWIG_fail
;
13403 swig_obj
[0] = args
;
13404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13405 if (!SWIG_IsOK(res1
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13408 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13424 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13430 PyObject
*swig_obj
[1] ;
13432 if (!args
) SWIG_fail
;
13433 swig_obj
[0] = args
;
13434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13438 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13460 PyObject
*swig_obj
[1] ;
13462 if (!args
) SWIG_fail
;
13463 swig_obj
[0] = args
;
13464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13465 if (!SWIG_IsOK(res1
)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13468 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13489 PyObject
*swig_obj
[1] ;
13491 if (!args
) SWIG_fail
;
13492 swig_obj
[0] = args
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13497 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13516 PyObject
*swig_obj
[1] ;
13518 if (!args
) SWIG_fail
;
13519 swig_obj
[0] = args
;
13520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13524 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13544 PyObject
*swig_obj
[1] ;
13546 if (!args
) SWIG_fail
;
13547 swig_obj
[0] = args
;
13548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13549 if (!SWIG_IsOK(res1
)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13574 PyObject
*swig_obj
[1] ;
13576 if (!args
) SWIG_fail
;
13577 swig_obj
[0] = args
;
13578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13582 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
= 0;
13600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char * kwnames
[] = {
13609 (char *) "self",(char *) "pos", NULL
13612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13614 if (!SWIG_IsOK(res1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13617 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13618 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13619 if (!SWIG_IsOK(ecode2
)) {
13620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13622 arg2
= static_cast< long >(val2
);
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 (arg1
)->SetInsertionPoint(arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_Py_Void();
13636 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13637 PyObject
*resultobj
= 0;
13638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13641 PyObject
*swig_obj
[1] ;
13643 if (!args
) SWIG_fail
;
13644 swig_obj
[0] = args
;
13645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13646 if (!SWIG_IsOK(res1
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13649 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 (arg1
)->SetInsertionPointEnd();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_Py_Void();
13663 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13669 PyObject
*swig_obj
[1] ;
13671 if (!args
) SWIG_fail
;
13672 swig_obj
[0] = args
;
13673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13674 if (!SWIG_IsOK(res1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13677 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_From_long(static_cast< long >(result
));
13691 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13692 PyObject
*resultobj
= 0;
13693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13697 PyObject
*swig_obj
[1] ;
13699 if (!args
) SWIG_fail
;
13700 swig_obj
[0] = args
;
13701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13702 if (!SWIG_IsOK(res1
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13705 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_From_long(static_cast< long >(result
));
13719 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 PyObject
* obj2
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "self",(char *) "from",(char *) "to", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13742 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13744 if (!SWIG_IsOK(ecode2
)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13747 arg2
= static_cast< long >(val2
);
13748 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13749 if (!SWIG_IsOK(ecode3
)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13752 arg3
= static_cast< long >(val3
);
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 (arg1
)->SetSelection(arg2
,arg3
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= SWIG_Py_Void();
13766 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13767 PyObject
*resultobj
= 0;
13768 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_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->SelectAll();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_Py_Void();
13793 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "self",(char *) "editable", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13812 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13814 if (!SWIG_IsOK(ecode2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13817 arg2
= static_cast< bool >(val2
);
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->SetEditable(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_Py_Void();
13831 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char * kwnames
[] = {
13842 (char *) "self",(char *) "check", NULL
13845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13850 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13852 if (!SWIG_IsOK(ecode2
)) {
13853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13855 arg2
= static_cast< bool >(val2
);
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 (arg1
)->MacCheckSpelling(arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_Py_Void();
13869 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13870 PyObject
*resultobj
= 0;
13871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13874 PyObject
*swig_obj
[1] ;
13876 if (!args
) SWIG_fail
;
13877 swig_obj
[0] = args
;
13878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13882 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->SendTextUpdatedEvent();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_Py_Void();
13896 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= 0;
13898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13899 wxString
*arg2
= 0 ;
13902 bool temp2
= false ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "self",(char *) "text", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13914 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13916 arg2
= wxString_in_helper(obj1
);
13917 if (arg2
== NULL
) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_Py_Void();
13941 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= 0;
13943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 char * kwnames
[] = {
13957 (char *) "self",(char *) "from",(char *) "to", NULL
13960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13962 if (!SWIG_IsOK(res1
)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13967 if (!SWIG_IsOK(ecode2
)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13970 arg2
= static_cast< long >(val2
);
13971 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13972 if (!SWIG_IsOK(ecode3
)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13975 arg3
= static_cast< long >(val3
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13995 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
= 0;
13997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13998 SwigValueWrapper
<wxVisualAttributes
> result
;
14001 PyObject
* obj0
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "variant", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14009 if (!SWIG_IsOK(ecode1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14012 arg1
= static_cast< wxWindowVariant
>(val1
);
14015 if (!wxPyCheckForApp()) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14028 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14031 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14032 return SWIG_Py_Void();
14035 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 return SWIG_Python_InitShadowInstance(args
);
14039 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
= 0;
14042 wxMouseEvent
*arg2
= 0 ;
14045 wxTextUrlEvent
*result
= 0 ;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 PyObject
* obj2
= 0 ;
14057 PyObject
* obj3
= 0 ;
14058 char * kwnames
[] = {
14059 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14064 if (!SWIG_IsOK(ecode1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14067 arg1
= static_cast< int >(val1
);
14068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14069 if (!SWIG_IsOK(res2
)) {
14070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14075 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14077 if (!SWIG_IsOK(ecode3
)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14080 arg3
= static_cast< long >(val3
);
14081 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14082 if (!SWIG_IsOK(ecode4
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14085 arg4
= static_cast< long >(val4
);
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14099 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14102 wxMouseEvent
*result
= 0 ;
14105 PyObject
*swig_obj
[1] ;
14107 if (!args
) SWIG_fail
;
14108 swig_obj
[0] = args
;
14109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14110 if (!SWIG_IsOK(res1
)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14113 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14118 result
= (wxMouseEvent
*) &_result_ref
;
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14130 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 PyObject
*resultobj
= 0;
14132 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14136 PyObject
*swig_obj
[1] ;
14138 if (!args
) SWIG_fail
;
14139 swig_obj
[0] = args
;
14140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14144 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_From_long(static_cast< long >(result
));
14158 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14159 PyObject
*resultobj
= 0;
14160 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14164 PyObject
*swig_obj
[1] ;
14166 if (!args
) SWIG_fail
;
14167 swig_obj
[0] = args
;
14168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14169 if (!SWIG_IsOK(res1
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14172 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_From_long(static_cast< long >(result
));
14186 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14189 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14190 return SWIG_Py_Void();
14193 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14194 return SWIG_Python_InitShadowInstance(args
);
14197 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14198 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14203 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14204 PyObject
*pyobj
= 0;
14208 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14210 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14217 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxWindow
*arg1
= (wxWindow
*) 0 ;
14220 int arg2
= (int) -1 ;
14221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14225 long arg5
= (long) wxSB_HORIZONTAL
;
14226 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14227 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14228 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14229 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14230 wxScrollBar
*result
= 0 ;
14241 bool temp7
= false ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 PyObject
* obj2
= 0 ;
14245 PyObject
* obj3
= 0 ;
14246 PyObject
* obj4
= 0 ;
14247 PyObject
* obj5
= 0 ;
14248 PyObject
* obj6
= 0 ;
14249 char * kwnames
[] = {
14250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14261 if (!SWIG_IsOK(ecode2
)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14264 arg2
= static_cast< int >(val2
);
14269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14275 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14279 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14280 if (!SWIG_IsOK(ecode5
)) {
14281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14283 arg5
= static_cast< long >(val5
);
14286 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14287 if (!SWIG_IsOK(res6
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14293 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14297 arg7
= wxString_in_helper(obj6
);
14298 if (arg7
== NULL
) SWIG_fail
;
14303 if (!wxPyCheckForApp()) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14324 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14325 PyObject
*resultobj
= 0;
14326 wxScrollBar
*result
= 0 ;
14328 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14330 if (!wxPyCheckForApp()) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxScrollBar
*)new wxScrollBar();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14343 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14346 wxWindow
*arg2
= (wxWindow
*) 0 ;
14347 int arg3
= (int) -1 ;
14348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14352 long arg6
= (long) wxSB_HORIZONTAL
;
14353 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14354 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14355 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14356 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14370 bool temp8
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 PyObject
* obj4
= 0 ;
14376 PyObject
* obj5
= 0 ;
14377 PyObject
* obj6
= 0 ;
14378 PyObject
* obj7
= 0 ;
14379 char * kwnames
[] = {
14380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14388 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14390 if (!SWIG_IsOK(res2
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14396 if (!SWIG_IsOK(ecode3
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14399 arg3
= static_cast< int >(val3
);
14404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14414 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14415 if (!SWIG_IsOK(ecode6
)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14418 arg6
= static_cast< long >(val6
);
14421 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14422 if (!SWIG_IsOK(res7
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14428 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14432 arg8
= wxString_in_helper(obj7
);
14433 if (arg8
== NULL
) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14460 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14474 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_From_int(static_cast< int >(result
));
14488 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14489 PyObject
*resultobj
= 0;
14490 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14494 PyObject
*swig_obj
[1] ;
14496 if (!args
) SWIG_fail
;
14497 swig_obj
[0] = args
;
14498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14502 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_From_int(static_cast< int >(result
));
14516 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14517 PyObject
*resultobj
= 0;
14518 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14522 PyObject
*swig_obj
[1] ;
14524 if (!args
) SWIG_fail
;
14525 swig_obj
[0] = args
;
14526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14527 if (!SWIG_IsOK(res1
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14530 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_From_int(static_cast< int >(result
));
14544 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 PyObject
*resultobj
= 0;
14546 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14550 PyObject
*swig_obj
[1] ;
14552 if (!args
) SWIG_fail
;
14553 swig_obj
[0] = args
;
14554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14558 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= SWIG_From_int(static_cast< int >(result
));
14572 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14573 PyObject
*resultobj
= 0;
14574 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14578 PyObject
*swig_obj
[1] ;
14580 if (!args
) SWIG_fail
;
14581 swig_obj
[0] = args
;
14582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14586 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14602 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= 0;
14604 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "self",(char *) "viewStart", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14621 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14623 if (!SWIG_IsOK(ecode2
)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14626 arg2
= static_cast< int >(val2
);
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->SetThumbPosition(arg2
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_Py_Void();
14640 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
= 0;
14642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14643 SwigValueWrapper
<wxVisualAttributes
> result
;
14646 PyObject
* obj0
= 0 ;
14647 char * kwnames
[] = {
14648 (char *) "variant", NULL
14651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14654 if (!SWIG_IsOK(ecode1
)) {
14655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14657 arg1
= static_cast< wxWindowVariant
>(val1
);
14660 if (!wxPyCheckForApp()) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14673 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14676 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14677 return SWIG_Py_Void();
14680 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14681 return SWIG_Python_InitShadowInstance(args
);
14684 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14685 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14690 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14691 PyObject
*pyobj
= 0;
14695 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14697 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14704 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14705 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14710 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14711 PyObject
*pyobj
= 0;
14715 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14717 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14724 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
= 0;
14726 wxWindow
*arg1
= (wxWindow
*) 0 ;
14727 int arg2
= (int) -1 ;
14728 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14729 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14730 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14731 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14732 long arg5
= (long) wxSP_HORIZONTAL
;
14733 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14734 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14735 wxSpinButton
*result
= 0 ;
14744 bool temp6
= false ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 PyObject
* obj3
= 0 ;
14749 PyObject
* obj4
= 0 ;
14750 PyObject
* obj5
= 0 ;
14751 char * kwnames
[] = {
14752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14760 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14763 if (!SWIG_IsOK(ecode2
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14766 arg2
= static_cast< int >(val2
);
14771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14777 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14781 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14782 if (!SWIG_IsOK(ecode5
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14785 arg5
= static_cast< long >(val5
);
14789 arg6
= wxString_in_helper(obj5
);
14790 if (arg6
== NULL
) SWIG_fail
;
14795 if (!wxPyCheckForApp()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14816 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxSpinButton
*result
= 0 ;
14820 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14822 if (!wxPyCheckForApp()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxSpinButton
*)new wxSpinButton();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14835 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
= 0;
14837 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14838 wxWindow
*arg2
= (wxWindow
*) 0 ;
14839 int arg3
= (int) -1 ;
14840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14844 long arg6
= (long) wxSP_HORIZONTAL
;
14845 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14858 bool temp7
= false ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 PyObject
* obj2
= 0 ;
14862 PyObject
* obj3
= 0 ;
14863 PyObject
* obj4
= 0 ;
14864 PyObject
* obj5
= 0 ;
14865 PyObject
* obj6
= 0 ;
14866 char * kwnames
[] = {
14867 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14872 if (!SWIG_IsOK(res1
)) {
14873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14875 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14877 if (!SWIG_IsOK(res2
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14880 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14883 if (!SWIG_IsOK(ecode3
)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14886 arg3
= static_cast< int >(val3
);
14891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14901 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14902 if (!SWIG_IsOK(ecode6
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14905 arg6
= static_cast< long >(val6
);
14909 arg7
= wxString_in_helper(obj6
);
14910 if (arg7
== NULL
) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14937 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14938 PyObject
*resultobj
= 0;
14939 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14943 PyObject
*swig_obj
[1] ;
14945 if (!args
) SWIG_fail
;
14946 swig_obj
[0] = args
;
14947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14948 if (!SWIG_IsOK(res1
)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14951 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_From_int(static_cast< int >(result
));
14965 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14966 PyObject
*resultobj
= 0;
14967 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14971 PyObject
*swig_obj
[1] ;
14973 if (!args
) SWIG_fail
;
14974 swig_obj
[0] = args
;
14975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14979 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_From_int(static_cast< int >(result
));
14993 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15007 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_From_int(static_cast< int >(result
));
15021 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= 0;
15023 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char * kwnames
[] = {
15032 (char *) "self",(char *) "val", NULL
15035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15040 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15042 if (!SWIG_IsOK(ecode2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15045 arg2
= static_cast< int >(val2
);
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetValue(arg2
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_Py_Void();
15059 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
= 0;
15061 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 char * kwnames
[] = {
15070 (char *) "self",(char *) "minVal", NULL
15073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15075 if (!SWIG_IsOK(res1
)) {
15076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15078 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15080 if (!SWIG_IsOK(ecode2
)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15083 arg2
= static_cast< int >(val2
);
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 (arg1
)->SetMin(arg2
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_Py_Void();
15097 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
= 0;
15099 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 char * kwnames
[] = {
15108 (char *) "self",(char *) "maxVal", NULL
15111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15116 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15118 if (!SWIG_IsOK(ecode2
)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15121 arg2
= static_cast< int >(val2
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 (arg1
)->SetMax(arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_Py_Void();
15135 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 PyObject
* obj2
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15158 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15160 if (!SWIG_IsOK(ecode2
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15163 arg2
= static_cast< int >(val2
);
15164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15165 if (!SWIG_IsOK(ecode3
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15168 arg3
= static_cast< int >(val3
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetRange(arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15188 PyObject
*swig_obj
[1] ;
15190 if (!args
) SWIG_fail
;
15191 swig_obj
[0] = args
;
15192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15196 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15212 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= 0;
15214 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15215 SwigValueWrapper
<wxVisualAttributes
> result
;
15218 PyObject
* obj0
= 0 ;
15219 char * kwnames
[] = {
15220 (char *) "variant", NULL
15223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15226 if (!SWIG_IsOK(ecode1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15229 arg1
= static_cast< wxWindowVariant
>(val1
);
15232 if (!wxPyCheckForApp()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15245 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15248 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15249 return SWIG_Py_Void();
15252 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15253 return SWIG_Python_InitShadowInstance(args
);
15256 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
= 0;
15258 wxWindow
*arg1
= (wxWindow
*) 0 ;
15259 int arg2
= (int) -1 ;
15260 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15261 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15266 long arg6
= (long) wxSP_ARROW_KEYS
;
15267 int arg7
= (int) 0 ;
15268 int arg8
= (int) 100 ;
15269 int arg9
= (int) 0 ;
15270 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15271 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15272 wxSpinCtrl
*result
= 0 ;
15277 bool temp3
= false ;
15288 bool temp10
= false ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 PyObject
* obj3
= 0 ;
15293 PyObject
* obj4
= 0 ;
15294 PyObject
* obj5
= 0 ;
15295 PyObject
* obj6
= 0 ;
15296 PyObject
* obj7
= 0 ;
15297 PyObject
* obj8
= 0 ;
15298 PyObject
* obj9
= 0 ;
15299 char * kwnames
[] = {
15300 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15305 if (!SWIG_IsOK(res1
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15311 if (!SWIG_IsOK(ecode2
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15314 arg2
= static_cast< int >(val2
);
15318 arg3
= wxString_in_helper(obj2
);
15319 if (arg3
== NULL
) SWIG_fail
;
15326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15336 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15337 if (!SWIG_IsOK(ecode6
)) {
15338 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15340 arg6
= static_cast< long >(val6
);
15343 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15344 if (!SWIG_IsOK(ecode7
)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15347 arg7
= static_cast< int >(val7
);
15350 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15351 if (!SWIG_IsOK(ecode8
)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15354 arg8
= static_cast< int >(val8
);
15357 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15358 if (!SWIG_IsOK(ecode9
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15361 arg9
= static_cast< int >(val9
);
15365 arg10
= wxString_in_helper(obj9
);
15366 if (arg10
== NULL
) SWIG_fail
;
15371 if (!wxPyCheckForApp()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15400 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15401 PyObject
*resultobj
= 0;
15402 wxSpinCtrl
*result
= 0 ;
15404 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15406 if (!wxPyCheckForApp()) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15419 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
= 0;
15421 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15422 wxWindow
*arg2
= (wxWindow
*) 0 ;
15423 int arg3
= (int) -1 ;
15424 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15425 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15426 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15427 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15428 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15429 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15430 long arg7
= (long) wxSP_ARROW_KEYS
;
15431 int arg8
= (int) 0 ;
15432 int arg9
= (int) 100 ;
15433 int arg10
= (int) 0 ;
15434 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15435 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15443 bool temp4
= false ;
15454 bool temp11
= false ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 PyObject
* obj3
= 0 ;
15459 PyObject
* obj4
= 0 ;
15460 PyObject
* obj5
= 0 ;
15461 PyObject
* obj6
= 0 ;
15462 PyObject
* obj7
= 0 ;
15463 PyObject
* obj8
= 0 ;
15464 PyObject
* obj9
= 0 ;
15465 PyObject
* obj10
= 0 ;
15466 char * kwnames
[] = {
15467 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15472 if (!SWIG_IsOK(res1
)) {
15473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15475 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15477 if (!SWIG_IsOK(res2
)) {
15478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15480 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15483 if (!SWIG_IsOK(ecode3
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15486 arg3
= static_cast< int >(val3
);
15490 arg4
= wxString_in_helper(obj3
);
15491 if (arg4
== NULL
) SWIG_fail
;
15498 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15504 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15508 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15509 if (!SWIG_IsOK(ecode7
)) {
15510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15512 arg7
= static_cast< long >(val7
);
15515 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15516 if (!SWIG_IsOK(ecode8
)) {
15517 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15519 arg8
= static_cast< int >(val8
);
15522 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15523 if (!SWIG_IsOK(ecode9
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15526 arg9
= static_cast< int >(val9
);
15529 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15530 if (!SWIG_IsOK(ecode10
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15533 arg10
= static_cast< int >(val10
);
15537 arg11
= wxString_in_helper(obj10
);
15538 if (arg11
== NULL
) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15573 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15574 PyObject
*resultobj
= 0;
15575 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15579 PyObject
*swig_obj
[1] ;
15581 if (!args
) SWIG_fail
;
15582 swig_obj
[0] = args
;
15583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15587 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_From_int(static_cast< int >(result
));
15601 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
= 0;
15603 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 char * kwnames
[] = {
15612 (char *) "self",(char *) "value", NULL
15615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15617 if (!SWIG_IsOK(res1
)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15620 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15622 if (!SWIG_IsOK(ecode2
)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15625 arg2
= static_cast< int >(val2
);
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->SetValue(arg2
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_Py_Void();
15639 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
= 0;
15641 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15642 wxString
*arg2
= 0 ;
15645 bool temp2
= false ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 char * kwnames
[] = {
15649 (char *) "self",(char *) "text", NULL
15652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15654 if (!SWIG_IsOK(res1
)) {
15655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15657 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetValue((wxString
const &)*arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_Py_Void();
15684 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
= 0;
15686 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 PyObject
* obj2
= 0 ;
15698 char * kwnames
[] = {
15699 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15707 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15709 if (!SWIG_IsOK(ecode2
)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15712 arg2
= static_cast< int >(val2
);
15713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15714 if (!SWIG_IsOK(ecode3
)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15717 arg3
= static_cast< int >(val3
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->SetRange(arg2
,arg3
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 PyObject
*resultobj
= 0;
15733 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15737 PyObject
*swig_obj
[1] ;
15739 if (!args
) SWIG_fail
;
15740 swig_obj
[0] = args
;
15741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15745 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_From_int(static_cast< int >(result
));
15759 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15760 PyObject
*resultobj
= 0;
15761 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15765 PyObject
*swig_obj
[1] ;
15767 if (!args
) SWIG_fail
;
15768 swig_obj
[0] = args
;
15769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15773 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_From_int(static_cast< int >(result
));
15787 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
= 0;
15789 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 PyObject
* obj2
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "from",(char *) "to", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15810 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15812 if (!SWIG_IsOK(ecode2
)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15815 arg2
= static_cast< long >(val2
);
15816 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15817 if (!SWIG_IsOK(ecode3
)) {
15818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15820 arg3
= static_cast< long >(val3
);
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->SetSelection(arg2
,arg3
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= SWIG_Py_Void();
15834 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
= 0;
15836 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15837 SwigValueWrapper
<wxVisualAttributes
> result
;
15840 PyObject
* obj0
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "variant", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15848 if (!SWIG_IsOK(ecode1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15851 arg1
= static_cast< wxWindowVariant
>(val1
);
15854 if (!wxPyCheckForApp()) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15867 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15871 return SWIG_Py_Void();
15874 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15875 return SWIG_Python_InitShadowInstance(args
);
15878 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
= 0;
15880 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15881 int arg2
= (int) 0 ;
15882 wxSpinEvent
*result
= 0 ;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 char * kwnames
[] = {
15890 (char *) "commandType",(char *) "winid", NULL
15893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15896 if (!SWIG_IsOK(ecode1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15899 arg1
= static_cast< wxEventType
>(val1
);
15902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15903 if (!SWIG_IsOK(ecode2
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15906 arg2
= static_cast< int >(val2
);
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15921 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 PyObject
*resultobj
= 0;
15923 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15927 PyObject
*swig_obj
[1] ;
15929 if (!args
) SWIG_fail
;
15930 swig_obj
[0] = args
;
15931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15935 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= SWIG_From_int(static_cast< int >(result
));
15949 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
= 0;
15951 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 PyObject
* obj1
= 0 ;
15959 char * kwnames
[] = {
15960 (char *) "self",(char *) "pos", NULL
15963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15965 if (!SWIG_IsOK(res1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15968 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15970 if (!SWIG_IsOK(ecode2
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15973 arg2
= static_cast< int >(val2
);
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->SetPosition(arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_Py_Void();
15987 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15991 return SWIG_Py_Void();
15994 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 return SWIG_Python_InitShadowInstance(args
);
15998 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15999 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16004 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16005 PyObject
*pyobj
= 0;
16009 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16011 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16018 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16019 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16024 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16025 PyObject
*pyobj
= 0;
16029 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16031 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16038 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
= 0;
16040 wxWindow
*arg1
= (wxWindow
*) 0 ;
16041 int arg2
= (int) -1 ;
16042 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16043 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16048 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16049 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16050 int arg7
= (int) 0 ;
16051 long arg8
= (long) wxRA_HORIZONTAL
;
16052 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16053 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16054 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16055 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16056 wxRadioBox
*result
= 0 ;
16061 bool temp3
= false ;
16064 bool temp6
= false ;
16071 bool temp10
= false ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 PyObject
* obj2
= 0 ;
16075 PyObject
* obj3
= 0 ;
16076 PyObject
* obj4
= 0 ;
16077 PyObject
* obj5
= 0 ;
16078 PyObject
* obj6
= 0 ;
16079 PyObject
* obj7
= 0 ;
16080 PyObject
* obj8
= 0 ;
16081 PyObject
* obj9
= 0 ;
16082 char * kwnames
[] = {
16083 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16088 if (!SWIG_IsOK(res1
)) {
16089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16091 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16094 if (!SWIG_IsOK(ecode2
)) {
16095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16097 arg2
= static_cast< int >(val2
);
16101 arg3
= wxString_in_helper(obj2
);
16102 if (arg3
== NULL
) SWIG_fail
;
16109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16120 if (! PySequence_Check(obj5
)) {
16121 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16124 arg6
= new wxArrayString
;
16126 int i
, len
=PySequence_Length(obj5
);
16127 for (i
=0; i
<len
; i
++) {
16128 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16129 wxString
* s
= wxString_in_helper(item
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16138 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16139 if (!SWIG_IsOK(ecode7
)) {
16140 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16142 arg7
= static_cast< int >(val7
);
16145 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16146 if (!SWIG_IsOK(ecode8
)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16149 arg8
= static_cast< long >(val8
);
16152 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16153 if (!SWIG_IsOK(res9
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16159 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16163 arg10
= wxString_in_helper(obj9
);
16164 if (arg10
== NULL
) SWIG_fail
;
16169 if (!wxPyCheckForApp()) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 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
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16181 if (temp6
) delete arg6
;
16194 if (temp6
) delete arg6
;
16204 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16205 PyObject
*resultobj
= 0;
16206 wxRadioBox
*result
= 0 ;
16208 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16210 if (!wxPyCheckForApp()) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (wxRadioBox
*)new wxRadioBox();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16223 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
= 0;
16225 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16226 wxWindow
*arg2
= (wxWindow
*) 0 ;
16227 int arg3
= (int) -1 ;
16228 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16229 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16230 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16231 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16232 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16233 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16234 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16235 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16236 int arg8
= (int) 0 ;
16237 long arg9
= (long) wxRA_HORIZONTAL
;
16238 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16239 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16240 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16241 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16249 bool temp4
= false ;
16252 bool temp7
= false ;
16259 bool temp11
= false ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 PyObject
* obj2
= 0 ;
16263 PyObject
* obj3
= 0 ;
16264 PyObject
* obj4
= 0 ;
16265 PyObject
* obj5
= 0 ;
16266 PyObject
* obj6
= 0 ;
16267 PyObject
* obj7
= 0 ;
16268 PyObject
* obj8
= 0 ;
16269 PyObject
* obj9
= 0 ;
16270 PyObject
* obj10
= 0 ;
16271 char * kwnames
[] = {
16272 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16280 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16282 if (!SWIG_IsOK(res2
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16288 if (!SWIG_IsOK(ecode3
)) {
16289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16291 arg3
= static_cast< int >(val3
);
16295 arg4
= wxString_in_helper(obj3
);
16296 if (arg4
== NULL
) SWIG_fail
;
16303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16314 if (! PySequence_Check(obj6
)) {
16315 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16318 arg7
= new wxArrayString
;
16320 int i
, len
=PySequence_Length(obj6
);
16321 for (i
=0; i
<len
; i
++) {
16322 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16323 wxString
* s
= wxString_in_helper(item
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16332 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16333 if (!SWIG_IsOK(ecode8
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16336 arg8
= static_cast< int >(val8
);
16339 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16340 if (!SWIG_IsOK(ecode9
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16343 arg9
= static_cast< long >(val9
);
16346 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16347 if (!SWIG_IsOK(res10
)) {
16348 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16353 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16357 arg11
= wxString_in_helper(obj10
);
16358 if (arg11
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 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
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16376 if (temp7
) delete arg7
;
16389 if (temp7
) delete arg7
;
16399 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16401 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char * kwnames
[] = {
16410 (char *) "self",(char *) "n", NULL
16413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16418 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16420 if (!SWIG_IsOK(ecode2
)) {
16421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16423 arg2
= static_cast< int >(val2
);
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 (arg1
)->SetSelection(arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= SWIG_Py_Void();
16437 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16438 PyObject
*resultobj
= 0;
16439 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16443 PyObject
*swig_obj
[1] ;
16445 if (!args
) SWIG_fail
;
16446 swig_obj
[0] = args
;
16447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16448 if (!SWIG_IsOK(res1
)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16451 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_From_int(static_cast< int >(result
));
16465 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16466 PyObject
*resultobj
= 0;
16467 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16471 PyObject
*swig_obj
[1] ;
16473 if (!args
) SWIG_fail
;
16474 swig_obj
[0] = args
;
16475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16476 if (!SWIG_IsOK(res1
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16479 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16499 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
= 0;
16501 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16502 wxString
*arg2
= 0 ;
16506 bool temp2
= false ;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char * kwnames
[] = {
16510 (char *) "self",(char *) "s", NULL
16513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16518 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16520 arg2
= wxString_in_helper(obj1
);
16521 if (arg2
== NULL
) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16548 PyObject
*resultobj
= 0;
16549 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16553 PyObject
*swig_obj
[1] ;
16555 if (!args
) SWIG_fail
;
16556 swig_obj
[0] = args
;
16557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16561 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16575 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16578 wxString
*arg2
= 0 ;
16582 bool temp2
= false ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char * kwnames
[] = {
16586 (char *) "self",(char *) "s", NULL
16589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16594 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16596 arg2
= wxString_in_helper(obj1
);
16597 if (arg2
== NULL
) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_From_int(static_cast< int >(result
));
16621 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= 0;
16623 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char * kwnames
[] = {
16633 (char *) "self",(char *) "n", NULL
16636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16638 if (!SWIG_IsOK(res1
)) {
16639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16641 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16643 if (!SWIG_IsOK(ecode2
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16646 arg2
= static_cast< int >(val2
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16666 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
= 0;
16668 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16670 wxString
*arg3
= 0 ;
16675 bool temp3
= false ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 char * kwnames
[] = {
16680 (char *) "self",(char *) "n",(char *) "label", NULL
16683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16685 if (!SWIG_IsOK(res1
)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16688 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16690 if (!SWIG_IsOK(ecode2
)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16693 arg2
= static_cast< int >(val2
);
16695 arg3
= wxString_in_helper(obj2
);
16696 if (arg3
== NULL
) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_Py_Void();
16720 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= 0;
16722 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16723 unsigned int arg2
;
16724 bool arg3
= (bool) true ;
16727 unsigned int val2
;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "self",(char *) "n",(char *) "enable", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16740 if (!SWIG_IsOK(res1
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16743 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16744 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16745 if (!SWIG_IsOK(ecode2
)) {
16746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16748 arg2
= static_cast< unsigned int >(val2
);
16750 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16751 if (!SWIG_IsOK(ecode3
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16754 arg3
= static_cast< bool >(val3
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->Enable(arg2
,arg3
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_Py_Void();
16769 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
= 0;
16771 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16772 unsigned int arg2
;
16773 bool arg3
= (bool) true ;
16776 unsigned int val2
;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "self",(char *) "n",(char *) "show", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16792 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16793 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16794 if (!SWIG_IsOK(ecode2
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16797 arg2
= static_cast< unsigned int >(val2
);
16799 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16800 if (!SWIG_IsOK(ecode3
)) {
16801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16803 arg3
= static_cast< bool >(val3
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->Show(arg2
,arg3
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_Py_Void();
16818 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16821 unsigned int arg2
;
16825 unsigned int val2
;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char * kwnames
[] = {
16830 (char *) "self",(char *) "n", NULL
16833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16838 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16839 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16840 if (!SWIG_IsOK(ecode2
)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16843 arg2
= static_cast< unsigned int >(val2
);
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16859 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16862 unsigned int arg2
;
16866 unsigned int val2
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char * kwnames
[] = {
16871 (char *) "self",(char *) "n", NULL
16874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16879 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16880 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16881 if (!SWIG_IsOK(ecode2
)) {
16882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16884 arg2
= static_cast< unsigned int >(val2
);
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16900 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16901 PyObject
*resultobj
= 0;
16902 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16903 unsigned int result
;
16906 PyObject
*swig_obj
[1] ;
16908 if (!args
) SWIG_fail
;
16909 swig_obj
[0] = args
;
16910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16911 if (!SWIG_IsOK(res1
)) {
16912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16914 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16928 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16929 PyObject
*resultobj
= 0;
16930 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16931 unsigned int result
;
16934 PyObject
*swig_obj
[1] ;
16936 if (!args
) SWIG_fail
;
16937 swig_obj
[0] = args
;
16938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16939 if (!SWIG_IsOK(res1
)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16942 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16956 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
= 0;
16958 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 PyObject
* obj1
= 0 ;
16973 PyObject
* obj2
= 0 ;
16974 PyObject
* obj3
= 0 ;
16975 char * kwnames
[] = {
16976 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16984 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16986 if (!SWIG_IsOK(ecode2
)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16989 arg2
= static_cast< int >(val2
);
16990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16991 if (!SWIG_IsOK(ecode3
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16994 arg3
= static_cast< wxDirection
>(val3
);
16995 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16996 if (!SWIG_IsOK(ecode4
)) {
16997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16999 arg4
= static_cast< long >(val4
);
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_From_int(static_cast< int >(result
));
17013 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
= 0;
17015 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17016 unsigned int arg2
;
17017 wxString
*arg3
= 0 ;
17020 unsigned int val2
;
17022 bool temp3
= false ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 PyObject
* obj2
= 0 ;
17026 char * kwnames
[] = {
17027 (char *) "self",(char *) "item",(char *) "text", NULL
17030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17032 if (!SWIG_IsOK(res1
)) {
17033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17035 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17036 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17037 if (!SWIG_IsOK(ecode2
)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17040 arg2
= static_cast< unsigned int >(val2
);
17042 arg3
= wxString_in_helper(obj2
);
17043 if (arg3
== NULL
) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_Py_Void();
17067 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
= 0;
17069 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17070 unsigned int arg2
;
17071 wxToolTip
*result
= 0 ;
17074 unsigned int val2
;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 char * kwnames
[] = {
17079 (char *) "self",(char *) "item", NULL
17082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17087 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17088 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17089 if (!SWIG_IsOK(ecode2
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17092 arg2
= static_cast< unsigned int >(val2
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17108 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
= 0;
17110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17111 unsigned int arg2
;
17112 wxString
*arg3
= 0 ;
17115 unsigned int val2
;
17117 bool temp3
= false ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char * kwnames
[] = {
17122 (char *) "self",(char *) "n",(char *) "helpText", NULL
17125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17127 if (!SWIG_IsOK(res1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17130 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17131 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17132 if (!SWIG_IsOK(ecode2
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17135 arg2
= static_cast< unsigned int >(val2
);
17137 arg3
= wxString_in_helper(obj2
);
17138 if (arg3
== NULL
) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= SWIG_Py_Void();
17162 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
= 0;
17164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17165 unsigned int arg2
;
17169 unsigned int val2
;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char * kwnames
[] = {
17174 (char *) "self",(char *) "n", NULL
17177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17179 if (!SWIG_IsOK(res1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17182 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17183 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17184 if (!SWIG_IsOK(ecode2
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17187 arg2
= static_cast< unsigned int >(val2
);
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17207 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
= 0;
17209 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17210 SwigValueWrapper
<wxVisualAttributes
> result
;
17213 PyObject
* obj0
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "variant", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17221 if (!SWIG_IsOK(ecode1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17224 arg1
= static_cast< wxWindowVariant
>(val1
);
17227 if (!wxPyCheckForApp()) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17240 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17243 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17244 return SWIG_Py_Void();
17247 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 return SWIG_Python_InitShadowInstance(args
);
17251 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxWindow
*arg1
= (wxWindow
*) 0 ;
17254 int arg2
= (int) -1 ;
17255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17261 long arg6
= (long) 0 ;
17262 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17263 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17264 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17265 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17266 wxRadioButton
*result
= 0 ;
17271 bool temp3
= false ;
17278 bool temp8
= false ;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 PyObject
* obj2
= 0 ;
17282 PyObject
* obj3
= 0 ;
17283 PyObject
* obj4
= 0 ;
17284 PyObject
* obj5
= 0 ;
17285 PyObject
* obj6
= 0 ;
17286 PyObject
* obj7
= 0 ;
17287 char * kwnames
[] = {
17288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17293 if (!SWIG_IsOK(res1
)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17299 if (!SWIG_IsOK(ecode2
)) {
17300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17302 arg2
= static_cast< int >(val2
);
17306 arg3
= wxString_in_helper(obj2
);
17307 if (arg3
== NULL
) SWIG_fail
;
17314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17324 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17325 if (!SWIG_IsOK(ecode6
)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17328 arg6
= static_cast< long >(val6
);
17331 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17332 if (!SWIG_IsOK(res7
)) {
17333 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17338 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17342 arg8
= wxString_in_helper(obj7
);
17343 if (arg8
== NULL
) SWIG_fail
;
17348 if (!wxPyCheckForApp()) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17377 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17378 PyObject
*resultobj
= 0;
17379 wxRadioButton
*result
= 0 ;
17381 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17383 if (!wxPyCheckForApp()) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxRadioButton
*)new wxRadioButton();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17396 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
= 0;
17398 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17399 wxWindow
*arg2
= (wxWindow
*) 0 ;
17400 int arg3
= (int) -1 ;
17401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17407 long arg7
= (long) 0 ;
17408 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17409 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17410 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17411 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17419 bool temp4
= false ;
17426 bool temp9
= false ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 PyObject
* obj2
= 0 ;
17430 PyObject
* obj3
= 0 ;
17431 PyObject
* obj4
= 0 ;
17432 PyObject
* obj5
= 0 ;
17433 PyObject
* obj6
= 0 ;
17434 PyObject
* obj7
= 0 ;
17435 PyObject
* obj8
= 0 ;
17436 char * kwnames
[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17442 if (!SWIG_IsOK(res1
)) {
17443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17445 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17447 if (!SWIG_IsOK(res2
)) {
17448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17450 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17453 if (!SWIG_IsOK(ecode3
)) {
17454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17456 arg3
= static_cast< int >(val3
);
17460 arg4
= wxString_in_helper(obj3
);
17461 if (arg4
== NULL
) SWIG_fail
;
17468 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17474 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17478 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17479 if (!SWIG_IsOK(ecode7
)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17482 arg7
= static_cast< long >(val7
);
17485 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17486 if (!SWIG_IsOK(res8
)) {
17487 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17492 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17496 arg9
= wxString_in_helper(obj8
);
17497 if (arg9
== NULL
) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17532 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17533 PyObject
*resultobj
= 0;
17534 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17538 PyObject
*swig_obj
[1] ;
17540 if (!args
) SWIG_fail
;
17541 swig_obj
[0] = args
;
17542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17546 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)(arg1
)->GetValue();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
= 0;
17564 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "self",(char *) "value", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17581 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17582 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17583 if (!SWIG_IsOK(ecode2
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17586 arg2
= static_cast< bool >(val2
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->SetValue(arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_Py_Void();
17600 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17603 SwigValueWrapper
<wxVisualAttributes
> result
;
17606 PyObject
* obj0
= 0 ;
17607 char * kwnames
[] = {
17608 (char *) "variant", NULL
17611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17613 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17614 if (!SWIG_IsOK(ecode1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17617 arg1
= static_cast< wxWindowVariant
>(val1
);
17620 if (!wxPyCheckForApp()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17633 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17636 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17637 return SWIG_Py_Void();
17640 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17641 return SWIG_Python_InitShadowInstance(args
);
17644 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17645 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17650 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17651 PyObject
*pyobj
= 0;
17655 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17657 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17664 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
= 0;
17666 wxWindow
*arg1
= (wxWindow
*) 0 ;
17667 int arg2
= (int) -1 ;
17668 int arg3
= (int) 0 ;
17669 int arg4
= (int) 0 ;
17670 int arg5
= (int) 100 ;
17671 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17672 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17673 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17674 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17675 long arg8
= (long) wxSL_HORIZONTAL
;
17676 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17677 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17678 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17679 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17680 wxSlider
*result
= 0 ;
17697 bool temp10
= false ;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 PyObject
* obj2
= 0 ;
17701 PyObject
* obj3
= 0 ;
17702 PyObject
* obj4
= 0 ;
17703 PyObject
* obj5
= 0 ;
17704 PyObject
* obj6
= 0 ;
17705 PyObject
* obj7
= 0 ;
17706 PyObject
* obj8
= 0 ;
17707 PyObject
* obj9
= 0 ;
17708 char * kwnames
[] = {
17709 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17714 if (!SWIG_IsOK(res1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17720 if (!SWIG_IsOK(ecode2
)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17723 arg2
= static_cast< int >(val2
);
17726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17727 if (!SWIG_IsOK(ecode3
)) {
17728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17730 arg3
= static_cast< int >(val3
);
17733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17734 if (!SWIG_IsOK(ecode4
)) {
17735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17737 arg4
= static_cast< int >(val4
);
17740 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17741 if (!SWIG_IsOK(ecode5
)) {
17742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17744 arg5
= static_cast< int >(val5
);
17749 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17755 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17759 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17760 if (!SWIG_IsOK(ecode8
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17763 arg8
= static_cast< long >(val8
);
17766 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17767 if (!SWIG_IsOK(res9
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17773 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17777 arg10
= wxString_in_helper(obj9
);
17778 if (arg10
== NULL
) SWIG_fail
;
17783 if (!wxPyCheckForApp()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17804 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17805 PyObject
*resultobj
= 0;
17806 wxSlider
*result
= 0 ;
17808 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17810 if (!wxPyCheckForApp()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxSlider
*)new wxSlider();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17823 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= 0;
17825 wxSlider
*arg1
= (wxSlider
*) 0 ;
17826 wxWindow
*arg2
= (wxWindow
*) 0 ;
17827 int arg3
= (int) -1 ;
17828 int arg4
= (int) 0 ;
17829 int arg5
= (int) 0 ;
17830 int arg6
= (int) 100 ;
17831 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17832 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17833 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17834 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17835 long arg9
= (long) wxSL_HORIZONTAL
;
17836 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17837 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17838 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17839 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17859 bool temp11
= false ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 PyObject
* obj2
= 0 ;
17863 PyObject
* obj3
= 0 ;
17864 PyObject
* obj4
= 0 ;
17865 PyObject
* obj5
= 0 ;
17866 PyObject
* obj6
= 0 ;
17867 PyObject
* obj7
= 0 ;
17868 PyObject
* obj8
= 0 ;
17869 PyObject
* obj9
= 0 ;
17870 PyObject
* obj10
= 0 ;
17871 char * kwnames
[] = {
17872 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17880 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17882 if (!SWIG_IsOK(res2
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17888 if (!SWIG_IsOK(ecode3
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17891 arg3
= static_cast< int >(val3
);
17894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17895 if (!SWIG_IsOK(ecode4
)) {
17896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17898 arg4
= static_cast< int >(val4
);
17901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17902 if (!SWIG_IsOK(ecode5
)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17905 arg5
= static_cast< int >(val5
);
17908 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17909 if (!SWIG_IsOK(ecode6
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17912 arg6
= static_cast< int >(val6
);
17917 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17923 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17927 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17928 if (!SWIG_IsOK(ecode9
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17931 arg9
= static_cast< long >(val9
);
17934 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17935 if (!SWIG_IsOK(res10
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17941 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17945 arg11
= wxString_in_helper(obj10
);
17946 if (arg11
== NULL
) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17974 PyObject
*resultobj
= 0;
17975 wxSlider
*arg1
= (wxSlider
*) 0 ;
17979 PyObject
*swig_obj
[1] ;
17981 if (!args
) SWIG_fail
;
17982 swig_obj
[0] = args
;
17983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17984 if (!SWIG_IsOK(res1
)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17987 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_From_int(static_cast< int >(result
));
18001 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxSlider
*arg1
= (wxSlider
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char * kwnames
[] = {
18012 (char *) "self",(char *) "value", NULL
18015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18017 if (!SWIG_IsOK(res1
)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18020 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18022 if (!SWIG_IsOK(ecode2
)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18025 arg2
= static_cast< int >(val2
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 (arg1
)->SetValue(arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_Py_Void();
18039 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
= 0;
18041 wxSlider
*arg1
= (wxSlider
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 PyObject
* obj2
= 0 ;
18053 char * kwnames
[] = {
18054 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18059 if (!SWIG_IsOK(res1
)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18062 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18064 if (!SWIG_IsOK(ecode2
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18067 arg2
= static_cast< int >(val2
);
18068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18069 if (!SWIG_IsOK(ecode3
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18072 arg3
= static_cast< int >(val3
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetRange(arg2
,arg3
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxSlider
*arg1
= (wxSlider
*) 0 ;
18092 PyObject
*swig_obj
[1] ;
18094 if (!args
) SWIG_fail
;
18095 swig_obj
[0] = args
;
18096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_From_int(static_cast< int >(result
));
18114 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxSlider
*arg1
= (wxSlider
*) 0 ;
18120 PyObject
*swig_obj
[1] ;
18122 if (!args
) SWIG_fail
;
18123 swig_obj
[0] = args
;
18124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18128 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_From_int(static_cast< int >(result
));
18142 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
= 0;
18144 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "self",(char *) "minValue", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18161 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18163 if (!SWIG_IsOK(ecode2
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18166 arg2
= static_cast< int >(val2
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->SetMin(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
= 0;
18182 wxSlider
*arg1
= (wxSlider
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char * kwnames
[] = {
18191 (char *) "self",(char *) "maxValue", NULL
18194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18196 if (!SWIG_IsOK(res1
)) {
18197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18199 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18201 if (!SWIG_IsOK(ecode2
)) {
18202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18204 arg2
= static_cast< int >(val2
);
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->SetMax(arg2
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= SWIG_Py_Void();
18218 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
= 0;
18220 wxSlider
*arg1
= (wxSlider
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char * kwnames
[] = {
18229 (char *) "self",(char *) "lineSize", NULL
18232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18237 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18239 if (!SWIG_IsOK(ecode2
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18242 arg2
= static_cast< int >(val2
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->SetLineSize(arg2
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_Py_Void();
18256 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
= 0;
18258 wxSlider
*arg1
= (wxSlider
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char * kwnames
[] = {
18267 (char *) "self",(char *) "pageSize", NULL
18270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18275 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18277 if (!SWIG_IsOK(ecode2
)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18280 arg2
= static_cast< int >(val2
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetPageSize(arg2
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_Py_Void();
18294 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18295 PyObject
*resultobj
= 0;
18296 wxSlider
*arg1
= (wxSlider
*) 0 ;
18300 PyObject
*swig_obj
[1] ;
18302 if (!args
) SWIG_fail
;
18303 swig_obj
[0] = args
;
18304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18308 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_From_int(static_cast< int >(result
));
18322 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18323 PyObject
*resultobj
= 0;
18324 wxSlider
*arg1
= (wxSlider
*) 0 ;
18328 PyObject
*swig_obj
[1] ;
18330 if (!args
) SWIG_fail
;
18331 swig_obj
[0] = args
;
18332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18333 if (!SWIG_IsOK(res1
)) {
18334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18336 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_From_int(static_cast< int >(result
));
18350 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
= 0;
18352 wxSlider
*arg1
= (wxSlider
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char * kwnames
[] = {
18361 (char *) "self",(char *) "lenPixels", NULL
18364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18369 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18371 if (!SWIG_IsOK(ecode2
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18374 arg2
= static_cast< int >(val2
);
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->SetThumbLength(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_Py_Void();
18388 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18389 PyObject
*resultobj
= 0;
18390 wxSlider
*arg1
= (wxSlider
*) 0 ;
18394 PyObject
*swig_obj
[1] ;
18396 if (!args
) SWIG_fail
;
18397 swig_obj
[0] = args
;
18398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18399 if (!SWIG_IsOK(res1
)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18402 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_From_int(static_cast< int >(result
));
18416 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
= 0;
18418 wxSlider
*arg1
= (wxSlider
*) 0 ;
18420 int arg3
= (int) 1 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 char * kwnames
[] = {
18431 (char *) "self",(char *) "n",(char *) "pos", NULL
18434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18436 if (!SWIG_IsOK(res1
)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18439 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18441 if (!SWIG_IsOK(ecode2
)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18444 arg2
= static_cast< int >(val2
);
18446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18447 if (!SWIG_IsOK(ecode3
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18450 arg3
= static_cast< int >(val3
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->SetTickFreq(arg2
,arg3
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_Py_Void();
18465 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18466 PyObject
*resultobj
= 0;
18467 wxSlider
*arg1
= (wxSlider
*) 0 ;
18471 PyObject
*swig_obj
[1] ;
18473 if (!args
) SWIG_fail
;
18474 swig_obj
[0] = args
;
18475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18479 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_From_int(static_cast< int >(result
));
18493 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18494 PyObject
*resultobj
= 0;
18495 wxSlider
*arg1
= (wxSlider
*) 0 ;
18498 PyObject
*swig_obj
[1] ;
18500 if (!args
) SWIG_fail
;
18501 swig_obj
[0] = args
;
18502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18503 if (!SWIG_IsOK(res1
)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18506 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->ClearTicks();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_Py_Void();
18520 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
= 0;
18522 wxSlider
*arg1
= (wxSlider
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "tickPos", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18539 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18541 if (!SWIG_IsOK(ecode2
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18544 arg2
= static_cast< int >(val2
);
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 (arg1
)->SetTick(arg2
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_Py_Void();
18558 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18559 PyObject
*resultobj
= 0;
18560 wxSlider
*arg1
= (wxSlider
*) 0 ;
18563 PyObject
*swig_obj
[1] ;
18565 if (!args
) SWIG_fail
;
18566 swig_obj
[0] = args
;
18567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18571 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->ClearSel();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_Py_Void();
18585 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 PyObject
*resultobj
= 0;
18587 wxSlider
*arg1
= (wxSlider
*) 0 ;
18591 PyObject
*swig_obj
[1] ;
18593 if (!args
) SWIG_fail
;
18594 swig_obj
[0] = args
;
18595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18599 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_int(static_cast< int >(result
));
18613 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18614 PyObject
*resultobj
= 0;
18615 wxSlider
*arg1
= (wxSlider
*) 0 ;
18619 PyObject
*swig_obj
[1] ;
18621 if (!args
) SWIG_fail
;
18622 swig_obj
[0] = args
;
18623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18627 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_From_int(static_cast< int >(result
));
18641 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
= 0;
18643 wxSlider
*arg1
= (wxSlider
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 PyObject
* obj2
= 0 ;
18655 char * kwnames
[] = {
18656 (char *) "self",(char *) "min",(char *) "max", NULL
18659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18664 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18666 if (!SWIG_IsOK(ecode2
)) {
18667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18669 arg2
= static_cast< int >(val2
);
18670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18671 if (!SWIG_IsOK(ecode3
)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18674 arg3
= static_cast< int >(val3
);
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 (arg1
)->SetSelection(arg2
,arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_Py_Void();
18688 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18691 SwigValueWrapper
<wxVisualAttributes
> result
;
18694 PyObject
* obj0
= 0 ;
18695 char * kwnames
[] = {
18696 (char *) "variant", NULL
18699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18702 if (!SWIG_IsOK(ecode1
)) {
18703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18705 arg1
= static_cast< wxWindowVariant
>(val1
);
18708 if (!wxPyCheckForApp()) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18721 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18724 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18725 return SWIG_Py_Void();
18728 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18729 return SWIG_Python_InitShadowInstance(args
);
18732 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18733 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18738 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18739 PyObject
*pyobj
= 0;
18743 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18745 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18752 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxWindow
*arg1
= (wxWindow
*) 0 ;
18755 int arg2
= (int) -1 ;
18756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18762 long arg6
= (long) 0 ;
18763 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18764 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18765 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18767 wxToggleButton
*result
= 0 ;
18772 bool temp3
= false ;
18779 bool temp8
= false ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 PyObject
* obj2
= 0 ;
18783 PyObject
* obj3
= 0 ;
18784 PyObject
* obj4
= 0 ;
18785 PyObject
* obj5
= 0 ;
18786 PyObject
* obj6
= 0 ;
18787 PyObject
* obj7
= 0 ;
18788 char * kwnames
[] = {
18789 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18794 if (!SWIG_IsOK(res1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18800 if (!SWIG_IsOK(ecode2
)) {
18801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18803 arg2
= static_cast< int >(val2
);
18807 arg3
= wxString_in_helper(obj2
);
18808 if (arg3
== NULL
) SWIG_fail
;
18815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18826 if (!SWIG_IsOK(ecode6
)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18829 arg6
= static_cast< long >(val6
);
18832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18833 if (!SWIG_IsOK(res7
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18843 arg8
= wxString_in_helper(obj7
);
18844 if (arg8
== NULL
) SWIG_fail
;
18849 if (!wxPyCheckForApp()) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18878 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18879 PyObject
*resultobj
= 0;
18880 wxToggleButton
*result
= 0 ;
18882 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18884 if (!wxPyCheckForApp()) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (wxToggleButton
*)new wxToggleButton();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18897 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
= 0;
18899 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18900 wxWindow
*arg2
= (wxWindow
*) 0 ;
18901 int arg3
= (int) -1 ;
18902 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18903 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18904 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18905 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18906 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18907 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18908 long arg7
= (long) 0 ;
18909 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18910 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18911 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18912 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18920 bool temp4
= false ;
18927 bool temp9
= false ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 PyObject
* obj2
= 0 ;
18931 PyObject
* obj3
= 0 ;
18932 PyObject
* obj4
= 0 ;
18933 PyObject
* obj5
= 0 ;
18934 PyObject
* obj6
= 0 ;
18935 PyObject
* obj7
= 0 ;
18936 PyObject
* obj8
= 0 ;
18937 char * kwnames
[] = {
18938 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18943 if (!SWIG_IsOK(res1
)) {
18944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18946 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18948 if (!SWIG_IsOK(res2
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18954 if (!SWIG_IsOK(ecode3
)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18957 arg3
= static_cast< int >(val3
);
18961 arg4
= wxString_in_helper(obj3
);
18962 if (arg4
== NULL
) SWIG_fail
;
18969 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18975 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18979 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18980 if (!SWIG_IsOK(ecode7
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18983 arg7
= static_cast< long >(val7
);
18986 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18987 if (!SWIG_IsOK(res8
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18993 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18997 arg9
= wxString_in_helper(obj8
);
18998 if (arg9
== NULL
) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19033 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
= 0;
19035 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "self",(char *) "value", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19052 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19053 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19054 if (!SWIG_IsOK(ecode2
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19057 arg2
= static_cast< bool >(val2
);
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetValue(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_Py_Void();
19071 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19072 PyObject
*resultobj
= 0;
19073 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19077 PyObject
*swig_obj
[1] ;
19079 if (!args
) SWIG_fail
;
19080 swig_obj
[0] = args
;
19081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19085 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19101 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
= 0;
19103 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19104 SwigValueWrapper
<wxVisualAttributes
> result
;
19107 PyObject
* obj0
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "variant", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19115 if (!SWIG_IsOK(ecode1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19118 arg1
= static_cast< wxWindowVariant
>(val1
);
19121 if (!wxPyCheckForApp()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19134 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19137 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19138 return SWIG_Py_Void();
19141 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19142 return SWIG_Python_InitShadowInstance(args
);
19145 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19146 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19151 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19152 PyObject
*pyobj
= 0;
19156 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19158 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19165 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19166 PyObject
*resultobj
= 0;
19167 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19171 PyObject
*swig_obj
[1] ;
19173 if (!args
) SWIG_fail
;
19174 swig_obj
[0] = args
;
19175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19176 if (!SWIG_IsOK(res1
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19179 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19193 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19197 wxWindow
*result
= 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char * kwnames
[] = {
19205 (char *) "self",(char *) "n", NULL
19208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19213 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19215 if (!SWIG_IsOK(ecode2
)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19218 arg2
= static_cast< size_t >(val2
);
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= wxPyMake_wxObject(result
, 0);
19234 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19235 PyObject
*resultobj
= 0;
19236 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19237 wxWindow
*result
= 0 ;
19240 PyObject
*swig_obj
[1] ;
19242 if (!args
) SWIG_fail
;
19243 swig_obj
[0] = args
;
19244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19245 if (!SWIG_IsOK(res1
)) {
19246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19248 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= wxPyMake_wxObject(result
, 0);
19264 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 PyObject
*resultobj
= 0;
19266 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19270 PyObject
*swig_obj
[1] ;
19272 if (!args
) SWIG_fail
;
19273 swig_obj
[0] = args
;
19274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19278 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_From_int(static_cast< int >(result
));
19292 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= 0;
19294 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19296 wxString
*arg3
= 0 ;
19302 bool temp3
= false ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "n",(char *) "strText", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19315 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19316 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19317 if (!SWIG_IsOK(ecode2
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19320 arg2
= static_cast< size_t >(val2
);
19322 arg3
= wxString_in_helper(obj2
);
19323 if (arg3
== NULL
) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19349 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
= 0;
19351 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char * kwnames
[] = {
19361 (char *) "self",(char *) "n", NULL
19364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19369 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19370 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19371 if (!SWIG_IsOK(ecode2
)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19374 arg2
= static_cast< size_t >(val2
);
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19394 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
= 0;
19396 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19397 wxImageList
*arg2
= (wxImageList
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "imageList", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19413 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19414 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19415 if (!SWIG_IsOK(res2
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19418 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->SetImageList(arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 wxImageList
*arg2
= (wxImageList
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char * kwnames
[] = {
19442 (char *) "self",(char *) "imageList", NULL
19445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19450 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19451 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19452 if (!SWIG_IsOK(res2
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 (arg1
)->AssignImageList(arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= SWIG_Py_Void();
19468 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19469 PyObject
*resultobj
= 0;
19470 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19471 wxImageList
*result
= 0 ;
19474 PyObject
*swig_obj
[1] ;
19476 if (!args
) SWIG_fail
;
19477 swig_obj
[0] = args
;
19478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19479 if (!SWIG_IsOK(res1
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19482 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19498 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
= 0;
19500 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 char * kwnames
[] = {
19510 (char *) "self",(char *) "n", NULL
19513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19518 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19519 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19520 if (!SWIG_IsOK(ecode2
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19523 arg2
= static_cast< size_t >(val2
);
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= SWIG_From_int(static_cast< int >(result
));
19537 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= 0;
19539 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 PyObject
* obj2
= 0 ;
19552 char * kwnames
[] = {
19553 (char *) "self",(char *) "n",(char *) "imageId", NULL
19556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19561 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19562 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19563 if (!SWIG_IsOK(ecode2
)) {
19564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19566 arg2
= static_cast< size_t >(val2
);
19567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19568 if (!SWIG_IsOK(ecode3
)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19571 arg3
= static_cast< int >(val3
);
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
= 0;
19589 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char * kwnames
[] = {
19597 (char *) "self",(char *) "size", NULL
19600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19602 if (!SWIG_IsOK(res1
)) {
19603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19605 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_Py_Void();
19623 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char * kwnames
[] = {
19634 (char *) "self",(char *) "sizePage", NULL
19637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19639 if (!SWIG_IsOK(res1
)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19642 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19645 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19660 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19661 PyObject
*resultobj
= 0;
19662 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19663 unsigned int result
;
19666 PyObject
*swig_obj
[1] ;
19668 if (!args
) SWIG_fail
;
19669 swig_obj
[0] = args
;
19670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19671 if (!SWIG_IsOK(res1
)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19674 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19688 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= 0;
19690 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19691 unsigned int arg2
;
19694 unsigned int val2
;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "internalBorder", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19707 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19708 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19709 if (!SWIG_IsOK(ecode2
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19712 arg2
= static_cast< unsigned int >(val2
);
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetInternalBorder(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_Py_Void();
19726 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19727 PyObject
*resultobj
= 0;
19728 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19732 PyObject
*swig_obj
[1] ;
19734 if (!args
) SWIG_fail
;
19735 swig_obj
[0] = args
;
19736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19737 if (!SWIG_IsOK(res1
)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19740 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19756 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
= 0;
19758 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 char * kwnames
[] = {
19767 (char *) "self",(char *) "margin", NULL
19770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19775 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19777 if (!SWIG_IsOK(ecode2
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19780 arg2
= static_cast< int >(val2
);
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 (arg1
)->SetControlMargin(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_Py_Void();
19794 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19808 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_From_int(static_cast< int >(result
));
19822 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
= 0;
19824 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "fit", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19841 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19843 if (!SWIG_IsOK(ecode2
)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19846 arg2
= static_cast< bool >(val2
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->SetFitToCurrentPage(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19860 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19861 PyObject
*resultobj
= 0;
19862 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19866 PyObject
*swig_obj
[1] ;
19868 if (!args
) SWIG_fail
;
19869 swig_obj
[0] = args
;
19870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19871 if (!SWIG_IsOK(res1
)) {
19872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19874 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19890 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19891 PyObject
*resultobj
= 0;
19892 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19893 wxSizer
*result
= 0 ;
19896 PyObject
*swig_obj
[1] ;
19898 if (!args
) SWIG_fail
;
19899 swig_obj
[0] = args
;
19900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19904 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19920 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
= 0;
19922 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 char * kwnames
[] = {
19932 (char *) "self",(char *) "n", NULL
19935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19940 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19941 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19942 if (!SWIG_IsOK(ecode2
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19945 arg2
= static_cast< size_t >(val2
);
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (bool)(arg1
)->DeletePage(arg2
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19961 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
= 0;
19963 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 char * kwnames
[] = {
19973 (char *) "self",(char *) "n", NULL
19976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19978 if (!SWIG_IsOK(res1
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19981 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19982 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19983 if (!SWIG_IsOK(ecode2
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19986 arg2
= static_cast< size_t >(val2
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (bool)(arg1
)->RemovePage(arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20002 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20003 PyObject
*resultobj
= 0;
20004 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20008 PyObject
*swig_obj
[1] ;
20010 if (!args
) SWIG_fail
;
20011 swig_obj
[0] = args
;
20012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20013 if (!SWIG_IsOK(res1
)) {
20014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20016 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)(arg1
)->DeleteAllPages();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20032 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
= 0;
20034 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20035 wxWindow
*arg2
= (wxWindow
*) 0 ;
20036 wxString
*arg3
= 0 ;
20037 bool arg4
= (bool) false ;
20038 int arg5
= (int) -1 ;
20044 bool temp3
= false ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 PyObject
* obj2
= 0 ;
20052 PyObject
* obj3
= 0 ;
20053 PyObject
* obj4
= 0 ;
20054 char * kwnames
[] = {
20055 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20060 if (!SWIG_IsOK(res1
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20063 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20065 if (!SWIG_IsOK(res2
)) {
20066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20070 arg3
= wxString_in_helper(obj2
);
20071 if (arg3
== NULL
) SWIG_fail
;
20075 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20076 if (!SWIG_IsOK(ecode4
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20079 arg4
= static_cast< bool >(val4
);
20082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20083 if (!SWIG_IsOK(ecode5
)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20086 arg5
= static_cast< int >(val5
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
= 0;
20113 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20115 wxWindow
*arg3
= (wxWindow
*) 0 ;
20116 wxString
*arg4
= 0 ;
20117 bool arg5
= (bool) false ;
20118 int arg6
= (int) -1 ;
20126 bool temp4
= false ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 PyObject
* obj2
= 0 ;
20134 PyObject
* obj3
= 0 ;
20135 PyObject
* obj4
= 0 ;
20136 PyObject
* obj5
= 0 ;
20137 char * kwnames
[] = {
20138 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20143 if (!SWIG_IsOK(res1
)) {
20144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20146 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20147 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20148 if (!SWIG_IsOK(ecode2
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20151 arg2
= static_cast< size_t >(val2
);
20152 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20153 if (!SWIG_IsOK(res3
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20156 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20158 arg4
= wxString_in_helper(obj3
);
20159 if (arg4
== NULL
) SWIG_fail
;
20163 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20164 if (!SWIG_IsOK(ecode5
)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20167 arg5
= static_cast< bool >(val5
);
20170 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20171 if (!SWIG_IsOK(ecode6
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20174 arg6
= static_cast< int >(val6
);
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20199 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
= 0;
20201 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char * kwnames
[] = {
20211 (char *) "self",(char *) "n", NULL
20214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20219 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20220 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20221 if (!SWIG_IsOK(ecode2
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20224 arg2
= static_cast< size_t >(val2
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (int)(arg1
)->SetSelection(arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_From_int(static_cast< int >(result
));
20238 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= 0;
20240 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char * kwnames
[] = {
20250 (char *) "self",(char *) "n", NULL
20253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20258 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20259 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20260 if (!SWIG_IsOK(ecode2
)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20263 arg2
= static_cast< size_t >(val2
);
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)(arg1
)->ChangeSelection(arg2
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_From_int(static_cast< int >(result
));
20277 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20280 bool arg2
= (bool) true ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "forward", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20296 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20298 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20299 if (!SWIG_IsOK(ecode2
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20302 arg2
= static_cast< bool >(val2
);
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->AdvanceSelection(arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_Py_Void();
20317 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
= 0;
20319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20320 wxPoint
*arg2
= 0 ;
20321 long *arg3
= (long *) 0 ;
20327 int res3
= SWIG_TMPOBJ
;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "pt", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20340 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_From_int(static_cast< int >(result
));
20352 if (SWIG_IsTmpObj(res3
)) {
20353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20355 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20364 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20367 SwigValueWrapper
<wxVisualAttributes
> result
;
20370 PyObject
* obj0
= 0 ;
20371 char * kwnames
[] = {
20372 (char *) "variant", NULL
20375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20378 if (!SWIG_IsOK(ecode1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20381 arg1
= static_cast< wxWindowVariant
>(val1
);
20384 if (!wxPyCheckForApp()) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20397 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20400 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20401 return SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20407 int arg2
= (int) 0 ;
20408 int arg3
= (int) -1 ;
20409 int arg4
= (int) -1 ;
20410 wxBookCtrlBaseEvent
*result
= 0 ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 PyObject
* obj2
= 0 ;
20422 PyObject
* obj3
= 0 ;
20423 char * kwnames
[] = {
20424 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20430 if (!SWIG_IsOK(ecode1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20433 arg1
= static_cast< wxEventType
>(val1
);
20436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20437 if (!SWIG_IsOK(ecode2
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20440 arg2
= static_cast< int >(val2
);
20443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20444 if (!SWIG_IsOK(ecode3
)) {
20445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20447 arg3
= static_cast< int >(val3
);
20450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20451 if (!SWIG_IsOK(ecode4
)) {
20452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20454 arg4
= static_cast< int >(val4
);
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20469 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20470 PyObject
*resultobj
= 0;
20471 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20475 PyObject
*swig_obj
[1] ;
20477 if (!args
) SWIG_fail
;
20478 swig_obj
[0] = args
;
20479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20483 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= SWIG_From_int(static_cast< int >(result
));
20497 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
= 0;
20499 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char * kwnames
[] = {
20508 (char *) "self",(char *) "nSel", NULL
20511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20513 if (!SWIG_IsOK(res1
)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20516 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20518 if (!SWIG_IsOK(ecode2
)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20521 arg2
= static_cast< int >(val2
);
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetSelection(arg2
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= SWIG_Py_Void();
20535 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 PyObject
*resultobj
= 0;
20537 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20541 PyObject
*swig_obj
[1] ;
20543 if (!args
) SWIG_fail
;
20544 swig_obj
[0] = args
;
20545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20546 if (!SWIG_IsOK(res1
)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20549 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= SWIG_From_int(static_cast< int >(result
));
20563 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
= 0;
20565 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "self",(char *) "nOldSel", NULL
20577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20582 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20584 if (!SWIG_IsOK(ecode2
)) {
20585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20587 arg2
= static_cast< int >(val2
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetOldSelection(arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20604 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20605 return SWIG_Py_Void();
20608 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 return SWIG_Python_InitShadowInstance(args
);
20612 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxWindow
*arg1
= (wxWindow
*) 0 ;
20615 int arg2
= (int) -1 ;
20616 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20617 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20618 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20619 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20620 long arg5
= (long) 0 ;
20621 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20622 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20623 wxNotebook
*result
= 0 ;
20632 bool temp6
= false ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 PyObject
* obj2
= 0 ;
20636 PyObject
* obj3
= 0 ;
20637 PyObject
* obj4
= 0 ;
20638 PyObject
* obj5
= 0 ;
20639 char * kwnames
[] = {
20640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20651 if (!SWIG_IsOK(ecode2
)) {
20652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20654 arg2
= static_cast< int >(val2
);
20659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20670 if (!SWIG_IsOK(ecode5
)) {
20671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20673 arg5
= static_cast< long >(val5
);
20677 arg6
= wxString_in_helper(obj5
);
20678 if (arg6
== NULL
) SWIG_fail
;
20683 if (!wxPyCheckForApp()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20704 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20705 PyObject
*resultobj
= 0;
20706 wxNotebook
*result
= 0 ;
20708 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20710 if (!wxPyCheckForApp()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (wxNotebook
*)new wxNotebook();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20723 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= 0;
20725 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20726 wxWindow
*arg2
= (wxWindow
*) 0 ;
20727 int arg3
= (int) -1 ;
20728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20732 long arg6
= (long) 0 ;
20733 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20734 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20746 bool temp7
= false ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 PyObject
* obj3
= 0 ;
20751 PyObject
* obj4
= 0 ;
20752 PyObject
* obj5
= 0 ;
20753 PyObject
* obj6
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20763 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20765 if (!SWIG_IsOK(res2
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20771 if (!SWIG_IsOK(ecode3
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20774 arg3
= static_cast< int >(val3
);
20779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20789 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20790 if (!SWIG_IsOK(ecode6
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20793 arg6
= static_cast< long >(val6
);
20797 arg7
= wxString_in_helper(obj6
);
20798 if (arg7
== NULL
) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20825 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20831 PyObject
*swig_obj
[1] ;
20833 if (!args
) SWIG_fail
;
20834 swig_obj
[0] = args
;
20835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20836 if (!SWIG_IsOK(res1
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20839 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_From_int(static_cast< int >(result
));
20853 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= 0;
20855 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 char * kwnames
[] = {
20863 (char *) "self",(char *) "padding", NULL
20866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20868 if (!SWIG_IsOK(res1
)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20871 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20889 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char * kwnames
[] = {
20899 (char *) "self",(char *) "sz", NULL
20902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20907 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_Py_Void();
20925 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 PyObject
*resultobj
= 0;
20927 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20931 PyObject
*swig_obj
[1] ;
20933 if (!args
) SWIG_fail
;
20934 swig_obj
[0] = args
;
20935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20939 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20953 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
= 0;
20955 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20956 SwigValueWrapper
<wxVisualAttributes
> result
;
20959 PyObject
* obj0
= 0 ;
20960 char * kwnames
[] = {
20961 (char *) "variant", NULL
20964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20967 if (!SWIG_IsOK(ecode1
)) {
20968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20970 arg1
= static_cast< wxWindowVariant
>(val1
);
20973 if (!wxPyCheckForApp()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20986 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
= 0;
20988 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "self",(char *) "nPage", NULL
21001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21006 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21008 if (!SWIG_IsOK(ecode2
)) {
21009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21011 arg2
= static_cast< int >(val2
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21027 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= 0;
21029 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21031 int arg3
= (int) -1 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 PyObject
* obj2
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21047 if (!SWIG_IsOK(res1
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21050 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21052 if (!SWIG_IsOK(ecode2
)) {
21053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21055 arg2
= static_cast< int >(val2
);
21057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21058 if (!SWIG_IsOK(ecode3
)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21061 arg3
= static_cast< int >(val3
);
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_Py_Void();
21076 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21079 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21080 return SWIG_Py_Void();
21083 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21084 return SWIG_Python_InitShadowInstance(args
);
21087 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
= 0;
21089 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21090 int arg2
= (int) 0 ;
21091 int arg3
= (int) -1 ;
21092 int arg4
= (int) -1 ;
21093 wxNotebookEvent
*result
= 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 PyObject
* obj2
= 0 ;
21105 PyObject
* obj3
= 0 ;
21106 char * kwnames
[] = {
21107 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21113 if (!SWIG_IsOK(ecode1
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21116 arg1
= static_cast< wxEventType
>(val1
);
21119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21120 if (!SWIG_IsOK(ecode2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21123 arg2
= static_cast< int >(val2
);
21126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21127 if (!SWIG_IsOK(ecode3
)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21130 arg3
= static_cast< int >(val3
);
21133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21134 if (!SWIG_IsOK(ecode4
)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21137 arg4
= static_cast< int >(val4
);
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21152 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21155 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21156 return SWIG_Py_Void();
21159 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21160 return SWIG_Python_InitShadowInstance(args
);
21163 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
= 0;
21165 wxWindow
*arg1
= (wxWindow
*) 0 ;
21166 int arg2
= (int) -1 ;
21167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21171 long arg5
= (long) 0 ;
21172 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21173 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21174 wxListbook
*result
= 0 ;
21183 bool temp6
= false ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 PyObject
* obj2
= 0 ;
21187 PyObject
* obj3
= 0 ;
21188 PyObject
* obj4
= 0 ;
21189 PyObject
* obj5
= 0 ;
21190 char * kwnames
[] = {
21191 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21202 if (!SWIG_IsOK(ecode2
)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21205 arg2
= static_cast< int >(val2
);
21210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21220 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21221 if (!SWIG_IsOK(ecode5
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21224 arg5
= static_cast< long >(val5
);
21228 arg6
= wxString_in_helper(obj5
);
21229 if (arg6
== NULL
) SWIG_fail
;
21234 if (!wxPyCheckForApp()) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21255 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21256 PyObject
*resultobj
= 0;
21257 wxListbook
*result
= 0 ;
21259 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21261 if (!wxPyCheckForApp()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxListbook
*)new wxListbook();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21274 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxListbook
*arg1
= (wxListbook
*) 0 ;
21277 wxWindow
*arg2
= (wxWindow
*) 0 ;
21278 int arg3
= (int) -1 ;
21279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21283 long arg6
= (long) 0 ;
21284 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21285 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21297 bool temp7
= false ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 PyObject
* obj2
= 0 ;
21301 PyObject
* obj3
= 0 ;
21302 PyObject
* obj4
= 0 ;
21303 PyObject
* obj5
= 0 ;
21304 PyObject
* obj6
= 0 ;
21305 char * kwnames
[] = {
21306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21311 if (!SWIG_IsOK(res1
)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21314 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21316 if (!SWIG_IsOK(res2
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21319 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21321 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21322 if (!SWIG_IsOK(ecode3
)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21325 arg3
= static_cast< int >(val3
);
21330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21340 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21341 if (!SWIG_IsOK(ecode6
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21344 arg6
= static_cast< long >(val6
);
21348 arg7
= wxString_in_helper(obj6
);
21349 if (arg7
== NULL
) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21376 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 PyObject
*resultobj
= 0;
21378 wxListbook
*arg1
= (wxListbook
*) 0 ;
21379 wxListView
*result
= 0 ;
21382 PyObject
*swig_obj
[1] ;
21384 if (!args
) SWIG_fail
;
21385 swig_obj
[0] = args
;
21386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21387 if (!SWIG_IsOK(res1
)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21390 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxListView
*)(arg1
)->GetListView();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21404 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21407 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21408 return SWIG_Py_Void();
21411 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21412 return SWIG_Python_InitShadowInstance(args
);
21415 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
= 0;
21417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21418 int arg2
= (int) 0 ;
21419 int arg3
= (int) -1 ;
21420 int arg4
= (int) -1 ;
21421 wxListbookEvent
*result
= 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 PyObject
* obj2
= 0 ;
21433 PyObject
* obj3
= 0 ;
21434 char * kwnames
[] = {
21435 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21441 if (!SWIG_IsOK(ecode1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21444 arg1
= static_cast< wxEventType
>(val1
);
21447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21448 if (!SWIG_IsOK(ecode2
)) {
21449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21451 arg2
= static_cast< int >(val2
);
21454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21455 if (!SWIG_IsOK(ecode3
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21458 arg3
= static_cast< int >(val3
);
21461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21462 if (!SWIG_IsOK(ecode4
)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21465 arg4
= static_cast< int >(val4
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21480 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21483 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21484 return SWIG_Py_Void();
21487 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21488 return SWIG_Python_InitShadowInstance(args
);
21491 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
= 0;
21493 wxWindow
*arg1
= (wxWindow
*) 0 ;
21495 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21496 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21497 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21498 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21499 long arg5
= (long) 0 ;
21500 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21501 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21502 wxChoicebook
*result
= 0 ;
21511 bool temp6
= false ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 PyObject
* obj2
= 0 ;
21515 PyObject
* obj3
= 0 ;
21516 PyObject
* obj4
= 0 ;
21517 PyObject
* obj5
= 0 ;
21518 char * kwnames
[] = {
21519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21529 if (!SWIG_IsOK(ecode2
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21532 arg2
= static_cast< int >(val2
);
21536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21542 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21546 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21547 if (!SWIG_IsOK(ecode5
)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21550 arg5
= static_cast< long >(val5
);
21554 arg6
= wxString_in_helper(obj5
);
21555 if (arg6
== NULL
) SWIG_fail
;
21560 if (!wxPyCheckForApp()) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21581 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 PyObject
*resultobj
= 0;
21583 wxChoicebook
*result
= 0 ;
21585 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21587 if (!wxPyCheckForApp()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxChoicebook
*)new wxChoicebook();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21600 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
= 0;
21602 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21603 wxWindow
*arg2
= (wxWindow
*) 0 ;
21605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21609 long arg6
= (long) 0 ;
21610 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21611 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21623 bool temp7
= false ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 PyObject
* obj3
= 0 ;
21628 PyObject
* obj4
= 0 ;
21629 PyObject
* obj5
= 0 ;
21630 PyObject
* obj6
= 0 ;
21631 char * kwnames
[] = {
21632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21640 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21642 if (!SWIG_IsOK(res2
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21647 if (!SWIG_IsOK(ecode3
)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21650 arg3
= static_cast< int >(val3
);
21654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21664 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21665 if (!SWIG_IsOK(ecode6
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21668 arg6
= static_cast< long >(val6
);
21672 arg7
= wxString_in_helper(obj6
);
21673 if (arg7
== NULL
) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21700 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21701 PyObject
*resultobj
= 0;
21702 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21703 wxChoice
*result
= 0 ;
21706 PyObject
*swig_obj
[1] ;
21708 if (!args
) SWIG_fail
;
21709 swig_obj
[0] = args
;
21710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21714 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21728 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21731 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21732 return SWIG_Py_Void();
21735 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21736 return SWIG_Python_InitShadowInstance(args
);
21739 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21742 int arg2
= (int) 0 ;
21743 int arg3
= (int) -1 ;
21744 int arg4
= (int) -1 ;
21745 wxChoicebookEvent
*result
= 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 PyObject
* obj2
= 0 ;
21757 PyObject
* obj3
= 0 ;
21758 char * kwnames
[] = {
21759 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21765 if (!SWIG_IsOK(ecode1
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21768 arg1
= static_cast< wxEventType
>(val1
);
21771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21772 if (!SWIG_IsOK(ecode2
)) {
21773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21775 arg2
= static_cast< int >(val2
);
21778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21779 if (!SWIG_IsOK(ecode3
)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21782 arg3
= static_cast< int >(val3
);
21785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21786 if (!SWIG_IsOK(ecode4
)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21789 arg4
= static_cast< int >(val4
);
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21804 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21807 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21808 return SWIG_Py_Void();
21811 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21812 return SWIG_Python_InitShadowInstance(args
);
21815 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
= 0;
21817 wxWindow
*arg1
= (wxWindow
*) 0 ;
21819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21823 long arg5
= (long) wxBK_DEFAULT
;
21824 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21825 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21826 wxTreebook
*result
= 0 ;
21835 bool temp6
= false ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 PyObject
* obj3
= 0 ;
21840 PyObject
* obj4
= 0 ;
21841 PyObject
* obj5
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21851 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21856 arg2
= static_cast< int >(val2
);
21860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21870 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21871 if (!SWIG_IsOK(ecode5
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21874 arg5
= static_cast< long >(val5
);
21878 arg6
= wxString_in_helper(obj5
);
21879 if (arg6
== NULL
) SWIG_fail
;
21884 if (!wxPyCheckForApp()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21905 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 PyObject
*resultobj
= 0;
21907 wxTreebook
*result
= 0 ;
21909 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21911 if (!wxPyCheckForApp()) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (wxTreebook
*)new wxTreebook();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21924 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
= 0;
21926 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21927 wxWindow
*arg2
= (wxWindow
*) 0 ;
21929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21933 long arg6
= (long) wxBK_DEFAULT
;
21934 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21947 bool temp7
= false ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 PyObject
* obj3
= 0 ;
21952 PyObject
* obj4
= 0 ;
21953 PyObject
* obj5
= 0 ;
21954 PyObject
* obj6
= 0 ;
21955 char * kwnames
[] = {
21956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21961 if (!SWIG_IsOK(res1
)) {
21962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21964 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21966 if (!SWIG_IsOK(res2
)) {
21967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21971 if (!SWIG_IsOK(ecode3
)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21974 arg3
= static_cast< int >(val3
);
21978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21988 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21989 if (!SWIG_IsOK(ecode6
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21992 arg6
= static_cast< long >(val6
);
21996 arg7
= wxString_in_helper(obj6
);
21997 if (arg7
== NULL
) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22024 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22028 wxWindow
*arg3
= (wxWindow
*) 0 ;
22029 wxString
*arg4
= 0 ;
22030 bool arg5
= (bool) false ;
22031 int arg6
= (int) wxNOT_FOUND
;
22039 bool temp4
= false ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 PyObject
* obj3
= 0 ;
22048 PyObject
* obj4
= 0 ;
22049 PyObject
* obj5
= 0 ;
22050 char * kwnames
[] = {
22051 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22059 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22060 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22061 if (!SWIG_IsOK(ecode2
)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22064 arg2
= static_cast< size_t >(val2
);
22065 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22066 if (!SWIG_IsOK(res3
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22069 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22071 arg4
= wxString_in_helper(obj3
);
22072 if (arg4
== NULL
) SWIG_fail
;
22076 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22077 if (!SWIG_IsOK(ecode5
)) {
22078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22080 arg5
= static_cast< bool >(val5
);
22083 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22084 if (!SWIG_IsOK(ecode6
)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22087 arg6
= static_cast< int >(val6
);
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22112 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
= 0;
22114 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22115 wxWindow
*arg2
= (wxWindow
*) 0 ;
22116 wxString
*arg3
= 0 ;
22117 bool arg4
= (bool) false ;
22118 int arg5
= (int) wxNOT_FOUND
;
22124 bool temp3
= false ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 PyObject
* obj2
= 0 ;
22132 PyObject
* obj3
= 0 ;
22133 PyObject
* obj4
= 0 ;
22134 char * kwnames
[] = {
22135 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22140 if (!SWIG_IsOK(res1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22143 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22145 if (!SWIG_IsOK(res2
)) {
22146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22150 arg3
= wxString_in_helper(obj2
);
22151 if (arg3
== NULL
) SWIG_fail
;
22155 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22156 if (!SWIG_IsOK(ecode4
)) {
22157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22159 arg4
= static_cast< bool >(val4
);
22162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22163 if (!SWIG_IsOK(ecode5
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22166 arg5
= static_cast< int >(val5
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22191 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
= 0;
22193 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char * kwnames
[] = {
22203 (char *) "self",(char *) "pos", NULL
22206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22208 if (!SWIG_IsOK(res1
)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22211 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22212 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22213 if (!SWIG_IsOK(ecode2
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22216 arg2
= static_cast< size_t >(val2
);
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
= 0;
22234 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22236 bool arg3
= (bool) true ;
22244 PyObject
* obj0
= 0 ;
22245 PyObject
* obj1
= 0 ;
22246 PyObject
* obj2
= 0 ;
22247 char * kwnames
[] = {
22248 (char *) "self",(char *) "pos",(char *) "expand", NULL
22251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22256 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22257 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22258 if (!SWIG_IsOK(ecode2
)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22261 arg2
= static_cast< size_t >(val2
);
22263 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22264 if (!SWIG_IsOK(ecode3
)) {
22265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22267 arg3
= static_cast< bool >(val3
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22284 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
= 0;
22286 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char * kwnames
[] = {
22296 (char *) "self",(char *) "pos", NULL
22299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22304 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22305 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22306 if (!SWIG_IsOK(ecode2
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22309 arg2
= static_cast< size_t >(val2
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (bool)(arg1
)->CollapseNode(arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22325 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
= 0;
22327 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 char * kwnames
[] = {
22337 (char *) "self",(char *) "pos", NULL
22340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22342 if (!SWIG_IsOK(res1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22345 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22346 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22347 if (!SWIG_IsOK(ecode2
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22350 arg2
= static_cast< size_t >(val2
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_From_int(static_cast< int >(result
));
22364 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22365 PyObject
*resultobj
= 0;
22366 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22367 wxPyTreeCtrl
*result
= 0 ;
22370 PyObject
*swig_obj
[1] ;
22372 if (!args
) SWIG_fail
;
22373 swig_obj
[0] = args
;
22374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22378 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22394 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22397 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22398 return SWIG_Py_Void();
22401 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 return SWIG_Python_InitShadowInstance(args
);
22405 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22408 int arg2
= (int) 0 ;
22409 int arg3
= (int) wxNOT_FOUND
;
22410 int arg4
= (int) wxNOT_FOUND
;
22411 wxTreebookEvent
*result
= 0 ;
22420 PyObject
* obj0
= 0 ;
22421 PyObject
* obj1
= 0 ;
22422 PyObject
* obj2
= 0 ;
22423 PyObject
* obj3
= 0 ;
22424 char * kwnames
[] = {
22425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22431 if (!SWIG_IsOK(ecode1
)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22434 arg1
= static_cast< wxEventType
>(val1
);
22437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22438 if (!SWIG_IsOK(ecode2
)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22441 arg2
= static_cast< int >(val2
);
22444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22445 if (!SWIG_IsOK(ecode3
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22448 arg3
= static_cast< int >(val3
);
22451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22452 if (!SWIG_IsOK(ecode4
)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22455 arg4
= static_cast< int >(val4
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22470 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22473 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22474 return SWIG_Py_Void();
22477 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 return SWIG_Python_InitShadowInstance(args
);
22481 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
= 0;
22483 wxWindow
*arg1
= (wxWindow
*) 0 ;
22485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22489 long arg5
= (long) wxBK_DEFAULT
;
22490 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22491 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22492 wxToolbook
*result
= 0 ;
22501 bool temp6
= false ;
22502 PyObject
* obj0
= 0 ;
22503 PyObject
* obj1
= 0 ;
22504 PyObject
* obj2
= 0 ;
22505 PyObject
* obj3
= 0 ;
22506 PyObject
* obj4
= 0 ;
22507 PyObject
* obj5
= 0 ;
22508 char * kwnames
[] = {
22509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22514 if (!SWIG_IsOK(res1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22517 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22519 if (!SWIG_IsOK(ecode2
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22522 arg2
= static_cast< int >(val2
);
22526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22536 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22537 if (!SWIG_IsOK(ecode5
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22540 arg5
= static_cast< long >(val5
);
22544 arg6
= wxString_in_helper(obj5
);
22545 if (arg6
== NULL
) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22570 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxToolbook
*result
= 0 ;
22574 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (wxToolbook
*)new wxToolbook();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22588 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= 0;
22590 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22591 wxWindow
*arg2
= (wxWindow
*) 0 ;
22593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22597 long arg6
= (long) 0 ;
22598 wxString
const &arg7_defvalue
= wxEmptyString
;
22599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22611 bool temp7
= false ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 PyObject
* obj2
= 0 ;
22615 PyObject
* obj3
= 0 ;
22616 PyObject
* obj4
= 0 ;
22617 PyObject
* obj5
= 0 ;
22618 PyObject
* obj6
= 0 ;
22619 char * kwnames
[] = {
22620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22628 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22630 if (!SWIG_IsOK(res2
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22635 if (!SWIG_IsOK(ecode3
)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22638 arg3
= static_cast< int >(val3
);
22642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22652 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22653 if (!SWIG_IsOK(ecode6
)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22656 arg6
= static_cast< long >(val6
);
22660 arg7
= wxString_in_helper(obj6
);
22661 if (arg7
== NULL
) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22688 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 PyObject
*resultobj
= 0;
22690 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22691 wxToolBarBase
*result
= 0 ;
22694 PyObject
*swig_obj
[1] ;
22696 if (!args
) SWIG_fail
;
22697 swig_obj
[0] = args
;
22698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22702 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22718 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22719 PyObject
*resultobj
= 0;
22720 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22723 PyObject
*swig_obj
[1] ;
22725 if (!args
) SWIG_fail
;
22726 swig_obj
[0] = args
;
22727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22731 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_Py_Void();
22745 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22748 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22749 return SWIG_Py_Void();
22752 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 return SWIG_Python_InitShadowInstance(args
);
22756 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
= 0;
22758 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22759 int arg2
= (int) 0 ;
22760 int arg3
= (int) wxNOT_FOUND
;
22761 int arg4
= (int) wxNOT_FOUND
;
22762 wxToolbookEvent
*result
= 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 PyObject
* obj2
= 0 ;
22774 PyObject
* obj3
= 0 ;
22775 char * kwnames
[] = {
22776 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22782 if (!SWIG_IsOK(ecode1
)) {
22783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22785 arg1
= static_cast< wxEventType
>(val1
);
22788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22789 if (!SWIG_IsOK(ecode2
)) {
22790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22792 arg2
= static_cast< int >(val2
);
22795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22796 if (!SWIG_IsOK(ecode3
)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22799 arg3
= static_cast< int >(val3
);
22802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22803 if (!SWIG_IsOK(ecode4
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22806 arg4
= static_cast< int >(val4
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22821 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22824 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22825 return SWIG_Py_Void();
22828 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22829 return SWIG_Python_InitShadowInstance(args
);
22832 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22846 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (int)(arg1
)->GetId();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_From_int(static_cast< int >(result
));
22860 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 PyObject
*resultobj
= 0;
22862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22863 wxControl
*result
= 0 ;
22866 PyObject
*swig_obj
[1] ;
22868 if (!args
) SWIG_fail
;
22869 swig_obj
[0] = args
;
22870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22874 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (wxControl
*)(arg1
)->GetControl();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= wxPyMake_wxObject(result
, 0);
22890 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22893 wxToolBarBase
*result
= 0 ;
22896 PyObject
*swig_obj
[1] ;
22898 if (!args
) SWIG_fail
;
22899 swig_obj
[0] = args
;
22900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22904 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22926 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (int)(arg1
)->IsButton();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_From_int(static_cast< int >(result
));
22948 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22962 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (int)(arg1
)->IsControl();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_From_int(static_cast< int >(result
));
22976 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22990 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (int)(arg1
)->IsSeparator();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_From_int(static_cast< int >(result
));
23004 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23018 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (int)(arg1
)->GetStyle();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int(static_cast< int >(result
));
23032 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23038 PyObject
*swig_obj
[1] ;
23040 if (!args
) SWIG_fail
;
23041 swig_obj
[0] = args
;
23042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23046 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (wxItemKind
)(arg1
)->GetKind();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_From_int(static_cast< int >(result
));
23060 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23061 PyObject
*resultobj
= 0;
23062 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23066 PyObject
*swig_obj
[1] ;
23068 if (!args
) SWIG_fail
;
23069 swig_obj
[0] = args
;
23070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23074 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (bool)(arg1
)->IsEnabled();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23090 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23096 PyObject
*swig_obj
[1] ;
23098 if (!args
) SWIG_fail
;
23099 swig_obj
[0] = args
;
23100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23101 if (!SWIG_IsOK(res1
)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23104 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)(arg1
)->IsToggled();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23120 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23121 PyObject
*resultobj
= 0;
23122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23126 PyObject
*swig_obj
[1] ;
23128 if (!args
) SWIG_fail
;
23129 swig_obj
[0] = args
;
23130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23134 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (bool)(arg1
)->CanBeToggled();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23150 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 PyObject
*resultobj
= 0;
23152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23153 wxBitmap
*result
= 0 ;
23156 PyObject
*swig_obj
[1] ;
23158 if (!args
) SWIG_fail
;
23159 swig_obj
[0] = args
;
23160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23164 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23169 result
= (wxBitmap
*) &_result_ref
;
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 wxBitmap
* resultptr
= new wxBitmap(*result
);
23176 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23184 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23185 PyObject
*resultobj
= 0;
23186 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23187 wxBitmap
*result
= 0 ;
23190 PyObject
*swig_obj
[1] ;
23192 if (!args
) SWIG_fail
;
23193 swig_obj
[0] = args
;
23194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23195 if (!SWIG_IsOK(res1
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23198 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23203 result
= (wxBitmap
*) &_result_ref
;
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23209 wxBitmap
* resultptr
= new wxBitmap(*result
);
23210 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23218 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23219 PyObject
*resultobj
= 0;
23220 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23224 PyObject
*swig_obj
[1] ;
23226 if (!args
) SWIG_fail
;
23227 swig_obj
[0] = args
;
23228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23232 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (arg1
)->GetBitmap();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23246 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23247 PyObject
*resultobj
= 0;
23248 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23252 PyObject
*swig_obj
[1] ;
23254 if (!args
) SWIG_fail
;
23255 swig_obj
[0] = args
;
23256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23257 if (!SWIG_IsOK(res1
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23260 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (arg1
)->GetLabel();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23280 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23281 PyObject
*resultobj
= 0;
23282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23286 PyObject
*swig_obj
[1] ;
23288 if (!args
) SWIG_fail
;
23289 swig_obj
[0] = args
;
23290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23291 if (!SWIG_IsOK(res1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23294 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (arg1
)->GetShortHelp();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23314 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23315 PyObject
*resultobj
= 0;
23316 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23320 PyObject
*swig_obj
[1] ;
23322 if (!args
) SWIG_fail
;
23323 swig_obj
[0] = args
;
23324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23325 if (!SWIG_IsOK(res1
)) {
23326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23328 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (arg1
)->GetLongHelp();
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23348 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
= 0;
23350 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "enable", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23368 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23369 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23370 if (!SWIG_IsOK(ecode2
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23373 arg2
= static_cast< bool >(val2
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (bool)(arg1
)->Enable(arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23389 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23390 PyObject
*resultobj
= 0;
23391 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_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23402 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_Py_Void();
23416 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "self",(char *) "toggle", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23436 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23437 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23438 if (!SWIG_IsOK(ecode2
)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23441 arg2
= static_cast< bool >(val2
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (bool)(arg1
)->SetToggle(arg2
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23457 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23460 wxString
*arg2
= 0 ;
23464 bool temp2
= false ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char * kwnames
[] = {
23468 (char *) "self",(char *) "help", NULL
23471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23473 if (!SWIG_IsOK(res1
)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23476 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23478 arg2
= wxString_in_helper(obj1
);
23479 if (arg2
== NULL
) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= 0;
23507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23508 wxString
*arg2
= 0 ;
23512 bool temp2
= false ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char * kwnames
[] = {
23516 (char *) "self",(char *) "help", NULL
23519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23524 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23526 arg2
= wxString_in_helper(obj1
);
23527 if (arg2
== NULL
) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23553 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23556 wxBitmap
*arg2
= 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char * kwnames
[] = {
23564 (char *) "self",(char *) "bmp", NULL
23567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23572 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23574 if (!SWIG_IsOK(res2
)) {
23575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23580 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_Py_Void();
23594 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= 0;
23596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23597 wxBitmap
*arg2
= 0 ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char * kwnames
[] = {
23605 (char *) "self",(char *) "bmp", NULL
23608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23610 if (!SWIG_IsOK(res1
)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23613 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23615 if (!SWIG_IsOK(res2
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23621 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_Py_Void();
23635 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
= 0;
23637 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23638 wxString
*arg2
= 0 ;
23641 bool temp2
= false ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char * kwnames
[] = {
23645 (char *) "self",(char *) "label", NULL
23648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23650 if (!SWIG_IsOK(res1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23653 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23655 arg2
= wxString_in_helper(obj1
);
23656 if (arg2
== NULL
) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 (arg1
)->SetLabel((wxString
const &)*arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_Py_Void();
23680 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23681 PyObject
*resultobj
= 0;
23682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23685 PyObject
*swig_obj
[1] ;
23687 if (!args
) SWIG_fail
;
23688 swig_obj
[0] = args
;
23689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23690 if (!SWIG_IsOK(res1
)) {
23691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23693 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= SWIG_Py_Void();
23707 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= 0;
23709 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23710 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char * kwnames
[] = {
23718 (char *) "self",(char *) "tbar", NULL
23721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23726 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23728 if (!SWIG_IsOK(res2
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23731 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->Attach(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_Py_Void();
23745 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 PyObject
*resultobj
= 0;
23747 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23748 PyObject
*result
= 0 ;
23751 PyObject
*swig_obj
[1] ;
23753 if (!args
) SWIG_fail
;
23754 swig_obj
[0] = args
;
23755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23756 if (!SWIG_IsOK(res1
)) {
23757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23759 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= result
;
23773 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
= 0;
23775 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23776 PyObject
*arg2
= (PyObject
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char * kwnames
[] = {
23782 (char *) "self",(char *) "clientData", NULL
23785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23790 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_Py_Void();
23805 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23808 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23809 return SWIG_Py_Void();
23812 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
= 0;
23814 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23816 wxString
*arg3
= 0 ;
23817 wxBitmap
*arg4
= 0 ;
23818 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23819 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23820 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23821 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23823 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23825 PyObject
*arg9
= (PyObject
*) NULL
;
23826 wxToolBarToolBase
*result
= 0 ;
23831 bool temp3
= false ;
23838 bool temp7
= false ;
23839 bool temp8
= false ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 PyObject
* obj2
= 0 ;
23843 PyObject
* obj3
= 0 ;
23844 PyObject
* obj4
= 0 ;
23845 PyObject
* obj5
= 0 ;
23846 PyObject
* obj6
= 0 ;
23847 PyObject
* obj7
= 0 ;
23848 PyObject
* obj8
= 0 ;
23849 char * kwnames
[] = {
23850 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23855 if (!SWIG_IsOK(res1
)) {
23856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23858 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23860 if (!SWIG_IsOK(ecode2
)) {
23861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23863 arg2
= static_cast< int >(val2
);
23865 arg3
= wxString_in_helper(obj2
);
23866 if (arg3
== NULL
) SWIG_fail
;
23869 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23870 if (!SWIG_IsOK(res4
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23876 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23878 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23879 if (!SWIG_IsOK(res5
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23885 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23888 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23889 if (!SWIG_IsOK(ecode6
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23892 arg6
= static_cast< wxItemKind
>(val6
);
23896 arg7
= wxString_in_helper(obj6
);
23897 if (arg7
== NULL
) SWIG_fail
;
23903 arg8
= wxString_in_helper(obj7
);
23904 if (arg8
== NULL
) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23950 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
= 0;
23952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23955 wxString
*arg4
= 0 ;
23956 wxBitmap
*arg5
= 0 ;
23957 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23958 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23959 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23960 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23961 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23962 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23963 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23964 PyObject
*arg10
= (PyObject
*) NULL
;
23965 wxToolBarToolBase
*result
= 0 ;
23972 bool temp4
= false ;
23979 bool temp8
= false ;
23980 bool temp9
= false ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 PyObject
* obj2
= 0 ;
23984 PyObject
* obj3
= 0 ;
23985 PyObject
* obj4
= 0 ;
23986 PyObject
* obj5
= 0 ;
23987 PyObject
* obj6
= 0 ;
23988 PyObject
* obj7
= 0 ;
23989 PyObject
* obj8
= 0 ;
23990 PyObject
* obj9
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24000 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24001 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24005 arg2
= static_cast< size_t >(val2
);
24006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24007 if (!SWIG_IsOK(ecode3
)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24010 arg3
= static_cast< int >(val3
);
24012 arg4
= wxString_in_helper(obj3
);
24013 if (arg4
== NULL
) SWIG_fail
;
24016 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24017 if (!SWIG_IsOK(res5
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24023 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24025 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24026 if (!SWIG_IsOK(res6
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24032 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24035 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24036 if (!SWIG_IsOK(ecode7
)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24039 arg7
= static_cast< wxItemKind
>(val7
);
24043 arg8
= wxString_in_helper(obj7
);
24044 if (arg8
== NULL
) SWIG_fail
;
24050 arg9
= wxString_in_helper(obj8
);
24051 if (arg9
== NULL
) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24097 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24100 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24101 wxToolBarToolBase
*result
= 0 ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "self",(char *) "tool", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24117 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24119 if (!SWIG_IsOK(res2
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24122 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24138 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24142 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24143 wxToolBarToolBase
*result
= 0 ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 PyObject
* obj2
= 0 ;
24153 char * kwnames
[] = {
24154 (char *) "self",(char *) "pos",(char *) "tool", NULL
24157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24162 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24163 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24164 if (!SWIG_IsOK(ecode2
)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24167 arg2
= static_cast< size_t >(val2
);
24168 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24169 if (!SWIG_IsOK(res3
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24172 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24188 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24191 wxControl
*arg2
= (wxControl
*) 0 ;
24192 wxToolBarToolBase
*result
= 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "control", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24208 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24210 if (!SWIG_IsOK(res2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24213 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24229 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24233 wxControl
*arg3
= (wxControl
*) 0 ;
24234 wxToolBarToolBase
*result
= 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 char * kwnames
[] = {
24245 (char *) "self",(char *) "pos",(char *) "control", NULL
24248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24254 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24255 if (!SWIG_IsOK(ecode2
)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24258 arg2
= static_cast< size_t >(val2
);
24259 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24260 if (!SWIG_IsOK(res3
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24263 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24279 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
= 0;
24281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24283 wxControl
*result
= 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 char * kwnames
[] = {
24291 (char *) "self",(char *) "id", NULL
24294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24299 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24301 if (!SWIG_IsOK(ecode2
)) {
24302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24304 arg2
= static_cast< int >(val2
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= wxPyMake_wxObject(result
, 0);
24320 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 PyObject
*resultobj
= 0;
24322 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24323 wxToolBarToolBase
*result
= 0 ;
24326 PyObject
*swig_obj
[1] ;
24328 if (!args
) SWIG_fail
;
24329 swig_obj
[0] = args
;
24330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24331 if (!SWIG_IsOK(res1
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24350 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24354 wxToolBarToolBase
*result
= 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "pos", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24370 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24371 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24372 if (!SWIG_IsOK(ecode2
)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24375 arg2
= static_cast< size_t >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24391 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
= 0;
24393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24395 wxToolBarToolBase
*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_RemoveTool",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_RemoveTool" "', 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_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24416 arg2
= static_cast< int >(val2
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24432 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
= 0;
24434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char * kwnames
[] = {
24444 (char *) "self",(char *) "pos", NULL
24447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24449 if (!SWIG_IsOK(res1
)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24452 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24454 if (!SWIG_IsOK(ecode2
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24457 arg2
= static_cast< size_t >(val2
);
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
= 0;
24475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 char * kwnames
[] = {
24485 (char *) "self",(char *) "id", NULL
24488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24493 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24495 if (!SWIG_IsOK(ecode2
)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24498 arg2
= static_cast< int >(val2
);
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (bool)(arg1
)->DeleteTool(arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24514 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24515 PyObject
*resultobj
= 0;
24516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24519 PyObject
*swig_obj
[1] ;
24521 if (!args
) SWIG_fail
;
24522 swig_obj
[0] = args
;
24523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24527 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 (arg1
)->ClearTools();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_Py_Void();
24541 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 PyObject
*resultobj
= 0;
24543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24547 PyObject
*swig_obj
[1] ;
24549 if (!args
) SWIG_fail
;
24550 swig_obj
[0] = args
;
24551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (bool)(arg1
)->Realize();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24571 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
= 0;
24573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 PyObject
* obj2
= 0 ;
24585 char * kwnames
[] = {
24586 (char *) "self",(char *) "id",(char *) "enable", NULL
24589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24591 if (!SWIG_IsOK(res1
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24594 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24596 if (!SWIG_IsOK(ecode2
)) {
24597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24599 arg2
= static_cast< int >(val2
);
24600 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24601 if (!SWIG_IsOK(ecode3
)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24604 arg3
= static_cast< bool >(val3
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->EnableTool(arg2
,arg3
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_Py_Void();
24618 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
= 0;
24620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "id",(char *) "toggle", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24641 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24643 if (!SWIG_IsOK(ecode2
)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24646 arg2
= static_cast< int >(val2
);
24647 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24648 if (!SWIG_IsOK(ecode3
)) {
24649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24651 arg3
= static_cast< bool >(val3
);
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 (arg1
)->ToggleTool(arg2
,arg3
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_Py_Void();
24665 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= 0;
24667 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "self",(char *) "id",(char *) "toggle", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24688 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24690 if (!SWIG_IsOK(ecode2
)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24693 arg2
= static_cast< int >(val2
);
24694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24695 if (!SWIG_IsOK(ecode3
)) {
24696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24698 arg3
= static_cast< bool >(val3
);
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->SetToggle(arg2
,arg3
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_Py_Void();
24712 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= 0;
24714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24716 PyObject
*result
= 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "self",(char *) "id", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24732 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24734 if (!SWIG_IsOK(ecode2
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24737 arg2
= static_cast< int >(val2
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
;
24751 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= 0;
24753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24755 PyObject
*arg3
= (PyObject
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 char * kwnames
[] = {
24764 (char *) "self",(char *) "id",(char *) "clientData", NULL
24767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24774 if (!SWIG_IsOK(ecode2
)) {
24775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24777 arg2
= static_cast< int >(val2
);
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_Py_Void();
24792 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
= 0;
24794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char * kwnames
[] = {
24804 (char *) "self",(char *) "id", NULL
24807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24812 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24814 if (!SWIG_IsOK(ecode2
)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24817 arg2
= static_cast< int >(val2
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_From_int(static_cast< int >(result
));
24831 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char * kwnames
[] = {
24843 (char *) "self",(char *) "id", NULL
24846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24848 if (!SWIG_IsOK(res1
)) {
24849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24851 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24853 if (!SWIG_IsOK(ecode2
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24856 arg2
= static_cast< int >(val2
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (bool)(arg1
)->GetToolState(arg2
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24872 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
= 0;
24874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 char * kwnames
[] = {
24884 (char *) "self",(char *) "id", NULL
24887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24892 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24894 if (!SWIG_IsOK(ecode2
)) {
24895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24897 arg2
= static_cast< int >(val2
);
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24913 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
= 0;
24915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24917 wxString
*arg3
= 0 ;
24922 bool temp3
= false ;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 PyObject
* obj2
= 0 ;
24926 char * kwnames
[] = {
24927 (char *) "self",(char *) "id",(char *) "helpString", NULL
24930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24935 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24937 if (!SWIG_IsOK(ecode2
)) {
24938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24940 arg2
= static_cast< int >(val2
);
24942 arg3
= wxString_in_helper(obj2
);
24943 if (arg3
== NULL
) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_Py_Void();
24967 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
= 0;
24969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char * kwnames
[] = {
24979 (char *) "self",(char *) "id", NULL
24982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24987 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24989 if (!SWIG_IsOK(ecode2
)) {
24990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24992 arg2
= static_cast< int >(val2
);
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (arg1
)->GetToolShortHelp(arg2
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25012 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25016 wxString
*arg3
= 0 ;
25021 bool temp3
= false ;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj1
= 0 ;
25024 PyObject
* obj2
= 0 ;
25025 char * kwnames
[] = {
25026 (char *) "self",(char *) "id",(char *) "helpString", NULL
25029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25031 if (!SWIG_IsOK(res1
)) {
25032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25034 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25036 if (!SWIG_IsOK(ecode2
)) {
25037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25039 arg2
= static_cast< int >(val2
);
25041 arg3
= wxString_in_helper(obj2
);
25042 if (arg3
== NULL
) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_Py_Void();
25066 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
= 0;
25068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 char * kwnames
[] = {
25078 (char *) "self",(char *) "id", NULL
25081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25083 if (!SWIG_IsOK(res1
)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25086 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25088 if (!SWIG_IsOK(ecode2
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25091 arg2
= static_cast< int >(val2
);
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (arg1
)->GetToolLongHelp(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25111 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
= 0;
25113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 PyObject
* obj2
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "self",(char *) "x",(char *) "y", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25134 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25136 if (!SWIG_IsOK(ecode2
)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25139 arg2
= static_cast< int >(val2
);
25140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25141 if (!SWIG_IsOK(ecode3
)) {
25142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25144 arg3
= static_cast< int >(val3
);
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 (arg1
)->SetMargins(arg2
,arg3
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_Py_Void();
25158 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= 0;
25160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char * kwnames
[] = {
25168 (char *) "self",(char *) "size", NULL
25171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25176 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25179 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_Py_Void();
25194 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "packing", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25215 if (!SWIG_IsOK(ecode2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25218 arg2
= static_cast< int >(val2
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 (arg1
)->SetToolPacking(arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_Py_Void();
25232 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= 0;
25234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char * kwnames
[] = {
25243 (char *) "self",(char *) "separation", NULL
25246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25251 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25253 if (!SWIG_IsOK(ecode2
)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25256 arg2
= static_cast< int >(val2
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->SetToolSeparation(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25284 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (arg1
)->GetToolMargins();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25298 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25312 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (arg1
)->GetMargins();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25326 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 PyObject
*resultobj
= 0;
25328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25340 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (int)(arg1
)->GetToolPacking();
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_From_int(static_cast< int >(result
));
25354 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25368 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (int)(arg1
)->GetToolSeparation();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_From_int(static_cast< int >(result
));
25382 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
= 0;
25384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 char * kwnames
[] = {
25393 (char *) "self",(char *) "nRows", NULL
25396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25401 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25403 if (!SWIG_IsOK(ecode2
)) {
25404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25406 arg2
= static_cast< int >(val2
);
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 (arg1
)->SetRows(arg2
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_Py_Void();
25420 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
= 0;
25422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 PyObject
* obj2
= 0 ;
25434 char * kwnames
[] = {
25435 (char *) "self",(char *) "rows",(char *) "cols", NULL
25438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25440 if (!SWIG_IsOK(res1
)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25443 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25445 if (!SWIG_IsOK(ecode2
)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25448 arg2
= static_cast< int >(val2
);
25449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25450 if (!SWIG_IsOK(ecode3
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25453 arg3
= static_cast< int >(val3
);
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_Py_Void();
25467 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 PyObject
*resultobj
= 0;
25469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25473 PyObject
*swig_obj
[1] ;
25475 if (!args
) SWIG_fail
;
25476 swig_obj
[0] = args
;
25477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25478 if (!SWIG_IsOK(res1
)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25481 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= (int)(arg1
)->GetMaxRows();
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= SWIG_From_int(static_cast< int >(result
));
25495 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 PyObject
*resultobj
= 0;
25497 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25501 PyObject
*swig_obj
[1] ;
25503 if (!args
) SWIG_fail
;
25504 swig_obj
[0] = args
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25509 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (int)(arg1
)->GetMaxCols();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= SWIG_From_int(static_cast< int >(result
));
25523 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
= 0;
25525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char * kwnames
[] = {
25533 (char *) "self",(char *) "size", NULL
25536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25541 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_Py_Void();
25559 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25560 PyObject
*resultobj
= 0;
25561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25565 PyObject
*swig_obj
[1] ;
25567 if (!args
) SWIG_fail
;
25568 swig_obj
[0] = args
;
25569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25573 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (arg1
)->GetToolBitmapSize();
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25587 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25588 PyObject
*resultobj
= 0;
25589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25593 PyObject
*swig_obj
[1] ;
25595 if (!args
) SWIG_fail
;
25596 swig_obj
[0] = args
;
25597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25601 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (arg1
)->GetToolSize();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25615 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
= 0;
25617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25620 wxToolBarToolBase
*result
= 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 PyObject
* obj2
= 0 ;
25630 char * kwnames
[] = {
25631 (char *) "self",(char *) "x",(char *) "y", NULL
25634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25641 if (!SWIG_IsOK(ecode2
)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25644 arg2
= static_cast< int >(val2
);
25645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25646 if (!SWIG_IsOK(ecode3
)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25649 arg3
= static_cast< int >(val3
);
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25665 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
= 0;
25667 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25669 wxToolBarToolBase
*result
= 0 ;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 char * kwnames
[] = {
25677 (char *) "self",(char *) "toolid", NULL
25680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25687 if (!SWIG_IsOK(ecode2
)) {
25688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25690 arg2
= static_cast< int >(val2
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25706 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25712 PyObject
*swig_obj
[1] ;
25714 if (!args
) SWIG_fail
;
25715 swig_obj
[0] = args
;
25716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25720 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (bool)(arg1
)->IsVertical();
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25736 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25750 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25764 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25767 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25768 return SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxWindow
*arg1
= (wxWindow
*) 0 ;
25774 int arg2
= (int) -1 ;
25775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25779 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25780 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25781 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25782 wxToolBar
*result
= 0 ;
25791 bool temp6
= false ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 PyObject
* obj2
= 0 ;
25795 PyObject
* obj3
= 0 ;
25796 PyObject
* obj4
= 0 ;
25797 PyObject
* obj5
= 0 ;
25798 char * kwnames
[] = {
25799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25810 if (!SWIG_IsOK(ecode2
)) {
25811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25813 arg2
= static_cast< int >(val2
);
25818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25828 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25829 if (!SWIG_IsOK(ecode5
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25832 arg5
= static_cast< long >(val5
);
25836 arg6
= wxString_in_helper(obj5
);
25837 if (arg6
== NULL
) SWIG_fail
;
25842 if (!wxPyCheckForApp()) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25863 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25864 PyObject
*resultobj
= 0;
25865 wxToolBar
*result
= 0 ;
25867 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25869 if (!wxPyCheckForApp()) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (wxToolBar
*)new wxToolBar();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25882 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25885 wxWindow
*arg2
= (wxWindow
*) 0 ;
25886 int arg3
= (int) -1 ;
25887 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25888 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25889 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25890 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25891 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25892 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25893 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25905 bool temp7
= false ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 PyObject
* obj2
= 0 ;
25909 PyObject
* obj3
= 0 ;
25910 PyObject
* obj4
= 0 ;
25911 PyObject
* obj5
= 0 ;
25912 PyObject
* obj6
= 0 ;
25913 char * kwnames
[] = {
25914 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25922 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25924 if (!SWIG_IsOK(res2
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25927 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25930 if (!SWIG_IsOK(ecode3
)) {
25931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25933 arg3
= static_cast< int >(val3
);
25938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25948 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25949 if (!SWIG_IsOK(ecode6
)) {
25950 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25952 arg6
= static_cast< long >(val6
);
25956 arg7
= wxString_in_helper(obj6
);
25957 if (arg7
== NULL
) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25984 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
= 0;
25986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25987 SwigValueWrapper
<wxVisualAttributes
> result
;
25990 PyObject
* obj0
= 0 ;
25991 char * kwnames
[] = {
25992 (char *) "variant", NULL
25995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25998 if (!SWIG_IsOK(ecode1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26001 arg1
= static_cast< wxWindowVariant
>(val1
);
26004 if (!wxPyCheckForApp()) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26017 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26020 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26021 return SWIG_Py_Void();
26024 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 return SWIG_Python_InitShadowInstance(args
);
26028 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26029 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26034 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26035 PyObject
*pyobj
= 0;
26039 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26041 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26048 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
= 0;
26050 wxColour
const &arg1_defvalue
= wxNullColour
;
26051 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26052 wxColour
const &arg2_defvalue
= wxNullColour
;
26053 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26054 wxFont
const &arg3_defvalue
= wxNullFont
;
26055 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26056 wxListItemAttr
*result
= 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 PyObject
* obj2
= 0 ;
26064 char * kwnames
[] = {
26065 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26072 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26083 if (!SWIG_IsOK(res3
)) {
26084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26089 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26104 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26105 PyObject
*resultobj
= 0;
26106 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26109 PyObject
*swig_obj
[1] ;
26111 if (!args
) SWIG_fail
;
26112 swig_obj
[0] = args
;
26113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26117 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_Py_Void();
26132 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
= 0;
26134 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26135 wxColour
*arg2
= 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "colText", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26150 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_Py_Void();
26168 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
= 0;
26170 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26171 wxColour
*arg2
= 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 char * kwnames
[] = {
26178 (char *) "self",(char *) "colBack", NULL
26181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26186 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_Py_Void();
26204 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
= 0;
26206 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char * kwnames
[] = {
26215 (char *) "self",(char *) "font", NULL
26218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26223 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26225 if (!SWIG_IsOK(res2
)) {
26226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26231 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->SetFont((wxFont
const &)*arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26246 PyObject
*resultobj
= 0;
26247 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26251 PyObject
*swig_obj
[1] ;
26253 if (!args
) SWIG_fail
;
26254 swig_obj
[0] = args
;
26255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26256 if (!SWIG_IsOK(res1
)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26259 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (bool)(arg1
)->HasTextColour();
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26275 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26276 PyObject
*resultobj
= 0;
26277 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26281 PyObject
*swig_obj
[1] ;
26283 if (!args
) SWIG_fail
;
26284 swig_obj
[0] = args
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26289 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (bool)(arg1
)->HasBackgroundColour();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26305 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26311 PyObject
*swig_obj
[1] ;
26313 if (!args
) SWIG_fail
;
26314 swig_obj
[0] = args
;
26315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26316 if (!SWIG_IsOK(res1
)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26319 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)(arg1
)->HasFont();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26335 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26341 PyObject
*swig_obj
[1] ;
26343 if (!args
) SWIG_fail
;
26344 swig_obj
[0] = args
;
26345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26346 if (!SWIG_IsOK(res1
)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26349 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (arg1
)->GetTextColour();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26363 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26364 PyObject
*resultobj
= 0;
26365 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26369 PyObject
*swig_obj
[1] ;
26371 if (!args
) SWIG_fail
;
26372 swig_obj
[0] = args
;
26373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26374 if (!SWIG_IsOK(res1
)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26377 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (arg1
)->GetBackgroundColour();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26391 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26392 PyObject
*resultobj
= 0;
26393 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26397 PyObject
*swig_obj
[1] ;
26399 if (!args
) SWIG_fail
;
26400 swig_obj
[0] = args
;
26401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26405 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (arg1
)->GetFont();
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26419 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
= 0;
26421 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26422 wxListItemAttr
*arg2
= 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char * kwnames
[] = {
26430 (char *) "self",(char *) "source", NULL
26433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26438 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26440 if (!SWIG_IsOK(res2
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26446 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_Py_Void();
26460 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26461 PyObject
*resultobj
= 0;
26462 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26465 PyObject
*swig_obj
[1] ;
26467 if (!args
) SWIG_fail
;
26468 swig_obj
[0] = args
;
26469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26473 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 wxListItemAttr_Destroy(arg1
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26490 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26491 return SWIG_Py_Void();
26494 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26495 return SWIG_Python_InitShadowInstance(args
);
26498 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxListItem
*result
= 0 ;
26502 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (wxListItem
*)new wxListItem();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26516 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26517 PyObject
*resultobj
= 0;
26518 wxListItem
*arg1
= (wxListItem
*) 0 ;
26521 PyObject
*swig_obj
[1] ;
26523 if (!args
) SWIG_fail
;
26524 swig_obj
[0] = args
;
26525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26529 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= SWIG_Py_Void();
26544 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26545 PyObject
*resultobj
= 0;
26546 wxListItem
*arg1
= (wxListItem
*) 0 ;
26549 PyObject
*swig_obj
[1] ;
26551 if (!args
) SWIG_fail
;
26552 swig_obj
[0] = args
;
26553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26554 if (!SWIG_IsOK(res1
)) {
26555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26557 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_Py_Void();
26571 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 PyObject
*resultobj
= 0;
26573 wxListItem
*arg1
= (wxListItem
*) 0 ;
26576 PyObject
*swig_obj
[1] ;
26578 if (!args
) SWIG_fail
;
26579 swig_obj
[0] = args
;
26580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26584 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->ClearAttributes();
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxListItem
*arg1
= (wxListItem
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "mask", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26618 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26622 arg2
= static_cast< long >(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetMask(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxListItem
*arg1
= (wxListItem
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "id", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26655 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26657 if (!SWIG_IsOK(ecode2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26660 arg2
= static_cast< long >(val2
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetId(arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_Py_Void();
26674 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxListItem
*arg1
= (wxListItem
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "col", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26698 arg2
= static_cast< int >(val2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetColumn(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxListItem
*arg1
= (wxListItem
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "state", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26731 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26732 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26736 arg2
= static_cast< long >(val2
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 (arg1
)->SetState(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxListItem
*arg1
= (wxListItem
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "stateMask", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26769 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26774 arg2
= static_cast< long >(val2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->SetStateMask(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxListItem
*arg1
= (wxListItem
*) 0 ;
26791 wxString
*arg2
= 0 ;
26794 bool temp2
= false ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char * kwnames
[] = {
26798 (char *) "self",(char *) "text", NULL
26801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26806 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26808 arg2
= wxString_in_helper(obj1
);
26809 if (arg2
== NULL
) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->SetText((wxString
const &)*arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= SWIG_Py_Void();
26833 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
= 0;
26835 wxListItem
*arg1
= (wxListItem
*) 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char * kwnames
[] = {
26844 (char *) "self",(char *) "image", NULL
26847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26852 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26854 if (!SWIG_IsOK(ecode2
)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26857 arg2
= static_cast< int >(val2
);
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 (arg1
)->SetImage(arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26871 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
= 0;
26873 wxListItem
*arg1
= (wxListItem
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char * kwnames
[] = {
26882 (char *) "self",(char *) "data", NULL
26885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26887 if (!SWIG_IsOK(res1
)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26890 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26891 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26892 if (!SWIG_IsOK(ecode2
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26895 arg2
= static_cast< long >(val2
);
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 (arg1
)->SetData(arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_Py_Void();
26909 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
= 0;
26911 wxListItem
*arg1
= (wxListItem
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 char * kwnames
[] = {
26920 (char *) "self",(char *) "width", NULL
26923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26928 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26930 if (!SWIG_IsOK(ecode2
)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26933 arg2
= static_cast< int >(val2
);
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 (arg1
)->SetWidth(arg2
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_Py_Void();
26947 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
= 0;
26949 wxListItem
*arg1
= (wxListItem
*) 0 ;
26950 wxListColumnFormat arg2
;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 char * kwnames
[] = {
26958 (char *) "self",(char *) "align", NULL
26961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26963 if (!SWIG_IsOK(res1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26966 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26968 if (!SWIG_IsOK(ecode2
)) {
26969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26971 arg2
= static_cast< wxListColumnFormat
>(val2
);
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->SetAlign(arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_Py_Void();
26985 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
= 0;
26987 wxListItem
*arg1
= (wxListItem
*) 0 ;
26988 wxColour
*arg2
= 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char * kwnames
[] = {
26995 (char *) "self",(char *) "colText", NULL
26998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_Py_Void();
27021 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
= 0;
27023 wxListItem
*arg1
= (wxListItem
*) 0 ;
27024 wxColour
*arg2
= 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char * kwnames
[] = {
27031 (char *) "self",(char *) "colBack", NULL
27034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27036 if (!SWIG_IsOK(res1
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27039 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= SWIG_Py_Void();
27057 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= 0;
27059 wxListItem
*arg1
= (wxListItem
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char * kwnames
[] = {
27068 (char *) "self",(char *) "font", NULL
27071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27073 if (!SWIG_IsOK(res1
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27076 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27078 if (!SWIG_IsOK(res2
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27084 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->SetFont((wxFont
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= SWIG_Py_Void();
27098 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27099 PyObject
*resultobj
= 0;
27100 wxListItem
*arg1
= (wxListItem
*) 0 ;
27104 PyObject
*swig_obj
[1] ;
27106 if (!args
) SWIG_fail
;
27107 swig_obj
[0] = args
;
27108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 result
= (long)(arg1
)->GetMask();
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_From_long(static_cast< long >(result
));
27126 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27127 PyObject
*resultobj
= 0;
27128 wxListItem
*arg1
= (wxListItem
*) 0 ;
27132 PyObject
*swig_obj
[1] ;
27134 if (!args
) SWIG_fail
;
27135 swig_obj
[0] = args
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27140 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (long)(arg1
)->GetId();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= SWIG_From_long(static_cast< long >(result
));
27154 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27155 PyObject
*resultobj
= 0;
27156 wxListItem
*arg1
= (wxListItem
*) 0 ;
27160 PyObject
*swig_obj
[1] ;
27162 if (!args
) SWIG_fail
;
27163 swig_obj
[0] = args
;
27164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27168 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (int)(arg1
)->GetColumn();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= SWIG_From_int(static_cast< int >(result
));
27182 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27183 PyObject
*resultobj
= 0;
27184 wxListItem
*arg1
= (wxListItem
*) 0 ;
27188 PyObject
*swig_obj
[1] ;
27190 if (!args
) SWIG_fail
;
27191 swig_obj
[0] = args
;
27192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27196 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (long)(arg1
)->GetState();
27200 wxPyEndAllowThreads(__tstate
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= SWIG_From_long(static_cast< long >(result
));
27210 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27211 PyObject
*resultobj
= 0;
27212 wxListItem
*arg1
= (wxListItem
*) 0 ;
27213 wxString
*result
= 0 ;
27216 PyObject
*swig_obj
[1] ;
27218 if (!args
) SWIG_fail
;
27219 swig_obj
[0] = args
;
27220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27224 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 wxString
const &_result_ref
= (arg1
)->GetText();
27229 result
= (wxString
*) &_result_ref
;
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27238 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27247 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 PyObject
*resultobj
= 0;
27249 wxListItem
*arg1
= (wxListItem
*) 0 ;
27253 PyObject
*swig_obj
[1] ;
27255 if (!args
) SWIG_fail
;
27256 swig_obj
[0] = args
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (int)(arg1
)->GetImage();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_From_int(static_cast< int >(result
));
27275 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27276 PyObject
*resultobj
= 0;
27277 wxListItem
*arg1
= (wxListItem
*) 0 ;
27281 PyObject
*swig_obj
[1] ;
27283 if (!args
) SWIG_fail
;
27284 swig_obj
[0] = args
;
27285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27286 if (!SWIG_IsOK(res1
)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27289 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (long)(arg1
)->GetData();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_From_long(static_cast< long >(result
));
27303 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxListItem
*arg1
= (wxListItem
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27317 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (int)(arg1
)->GetWidth();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= SWIG_From_int(static_cast< int >(result
));
27331 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 PyObject
*resultobj
= 0;
27333 wxListItem
*arg1
= (wxListItem
*) 0 ;
27334 wxListColumnFormat result
;
27337 PyObject
*swig_obj
[1] ;
27339 if (!args
) SWIG_fail
;
27340 swig_obj
[0] = args
;
27341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27345 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_From_int(static_cast< int >(result
));
27359 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27360 PyObject
*resultobj
= 0;
27361 wxListItem
*arg1
= (wxListItem
*) 0 ;
27362 wxListItemAttr
*result
= 0 ;
27365 PyObject
*swig_obj
[1] ;
27367 if (!args
) SWIG_fail
;
27368 swig_obj
[0] = args
;
27369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27370 if (!SWIG_IsOK(res1
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27373 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27387 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27388 PyObject
*resultobj
= 0;
27389 wxListItem
*arg1
= (wxListItem
*) 0 ;
27393 PyObject
*swig_obj
[1] ;
27395 if (!args
) SWIG_fail
;
27396 swig_obj
[0] = args
;
27397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27398 if (!SWIG_IsOK(res1
)) {
27399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27401 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (bool)(arg1
)->HasAttributes();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27417 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27418 PyObject
*resultobj
= 0;
27419 wxListItem
*arg1
= (wxListItem
*) 0 ;
27423 PyObject
*swig_obj
[1] ;
27425 if (!args
) SWIG_fail
;
27426 swig_obj
[0] = args
;
27427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27431 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27445 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxListItem
*arg1
= (wxListItem
*) 0 ;
27451 PyObject
*swig_obj
[1] ;
27453 if (!args
) SWIG_fail
;
27454 swig_obj
[0] = args
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27459 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27473 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27474 PyObject
*resultobj
= 0;
27475 wxListItem
*arg1
= (wxListItem
*) 0 ;
27479 PyObject
*swig_obj
[1] ;
27481 if (!args
) SWIG_fail
;
27482 swig_obj
[0] = args
;
27483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27487 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= ((wxListItem
const *)arg1
)->GetFont();
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27501 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 PyObject
*resultobj
= 0;
27503 wxListItem
*arg1
= (wxListItem
*) 0 ;
27509 PyObject
*swig_obj
[2] ;
27511 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27517 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27518 if (!SWIG_IsOK(ecode2
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27521 arg2
= static_cast< long >(val2
);
27522 if (arg1
) (arg1
)->m_mask
= arg2
;
27524 resultobj
= SWIG_Py_Void();
27531 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxListItem
*arg1
= (wxListItem
*) 0 ;
27537 PyObject
*swig_obj
[1] ;
27539 if (!args
) SWIG_fail
;
27540 swig_obj
[0] = args
;
27541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27545 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27546 result
= (long) ((arg1
)->m_mask
);
27547 resultobj
= SWIG_From_long(static_cast< long >(result
));
27554 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxListItem
*arg1
= (wxListItem
*) 0 ;
27562 PyObject
*swig_obj
[2] ;
27564 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27566 if (!SWIG_IsOK(res1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27569 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27570 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27571 if (!SWIG_IsOK(ecode2
)) {
27572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27574 arg2
= static_cast< long >(val2
);
27575 if (arg1
) (arg1
)->m_itemId
= arg2
;
27577 resultobj
= SWIG_Py_Void();
27584 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 PyObject
*resultobj
= 0;
27586 wxListItem
*arg1
= (wxListItem
*) 0 ;
27590 PyObject
*swig_obj
[1] ;
27592 if (!args
) SWIG_fail
;
27593 swig_obj
[0] = args
;
27594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27598 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27599 result
= (long) ((arg1
)->m_itemId
);
27600 resultobj
= SWIG_From_long(static_cast< long >(result
));
27607 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 PyObject
*resultobj
= 0;
27609 wxListItem
*arg1
= (wxListItem
*) 0 ;
27615 PyObject
*swig_obj
[2] ;
27617 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27622 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27623 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27624 if (!SWIG_IsOK(ecode2
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27627 arg2
= static_cast< int >(val2
);
27628 if (arg1
) (arg1
)->m_col
= arg2
;
27630 resultobj
= SWIG_Py_Void();
27637 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27639 wxListItem
*arg1
= (wxListItem
*) 0 ;
27643 PyObject
*swig_obj
[1] ;
27645 if (!args
) SWIG_fail
;
27646 swig_obj
[0] = args
;
27647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27648 if (!SWIG_IsOK(res1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27651 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27652 result
= (int) ((arg1
)->m_col
);
27653 resultobj
= SWIG_From_int(static_cast< int >(result
));
27660 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27661 PyObject
*resultobj
= 0;
27662 wxListItem
*arg1
= (wxListItem
*) 0 ;
27668 PyObject
*swig_obj
[2] ;
27670 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27675 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27676 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27677 if (!SWIG_IsOK(ecode2
)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27680 arg2
= static_cast< long >(val2
);
27681 if (arg1
) (arg1
)->m_state
= arg2
;
27683 resultobj
= SWIG_Py_Void();
27690 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27691 PyObject
*resultobj
= 0;
27692 wxListItem
*arg1
= (wxListItem
*) 0 ;
27696 PyObject
*swig_obj
[1] ;
27698 if (!args
) SWIG_fail
;
27699 swig_obj
[0] = args
;
27700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27704 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27705 result
= (long) ((arg1
)->m_state
);
27706 resultobj
= SWIG_From_long(static_cast< long >(result
));
27713 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_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_stateMask_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_stateMask_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_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27733 arg2
= static_cast< long >(val2
);
27734 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27736 resultobj
= SWIG_Py_Void();
27743 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_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_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27757 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27758 result
= (long) ((arg1
)->m_stateMask
);
27759 resultobj
= SWIG_From_long(static_cast< long >(result
));
27766 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxListItem
*arg1
= (wxListItem
*) 0 ;
27769 wxString
*arg2
= (wxString
*) 0 ;
27772 bool temp2
= false ;
27773 PyObject
*swig_obj
[2] ;
27775 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27780 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27782 arg2
= wxString_in_helper(swig_obj
[1]);
27783 if (arg2
== NULL
) SWIG_fail
;
27786 if (arg1
) (arg1
)->m_text
= *arg2
;
27788 resultobj
= SWIG_Py_Void();
27803 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListItem
*arg1
= (wxListItem
*) 0 ;
27806 wxString
*result
= 0 ;
27809 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27818 result
= (wxString
*)& ((arg1
)->m_text
);
27821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27832 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListItem
*arg1
= (wxListItem
*) 0 ;
27840 PyObject
*swig_obj
[2] ;
27842 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27848 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27849 if (!SWIG_IsOK(ecode2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27852 arg2
= static_cast< int >(val2
);
27853 if (arg1
) (arg1
)->m_image
= arg2
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListItem
*arg1
= (wxListItem
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27876 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27877 result
= (int) ((arg1
)->m_image
);
27878 resultobj
= SWIG_From_int(static_cast< int >(result
));
27885 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListItem
*arg1
= (wxListItem
*) 0 ;
27893 PyObject
*swig_obj
[2] ;
27895 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27900 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27901 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27902 if (!SWIG_IsOK(ecode2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27905 arg2
= static_cast< long >(val2
);
27906 if (arg1
) (arg1
)->m_data
= arg2
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListItem
*arg1
= (wxListItem
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27929 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27930 result
= (long) ((arg1
)->m_data
);
27931 resultobj
= SWIG_From_long(static_cast< long >(result
));
27938 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListItem
*arg1
= (wxListItem
*) 0 ;
27946 PyObject
*swig_obj
[2] ;
27948 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27955 if (!SWIG_IsOK(ecode2
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27958 arg2
= static_cast< int >(val2
);
27959 if (arg1
) (arg1
)->m_format
= arg2
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListItem
*arg1
= (wxListItem
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27983 result
= (int) ((arg1
)->m_format
);
27984 resultobj
= SWIG_From_int(static_cast< int >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListItem
*arg1
= (wxListItem
*) 0 ;
27999 PyObject
*swig_obj
[2] ;
28001 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28006 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28007 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28011 arg2
= static_cast< int >(val2
);
28012 if (arg1
) (arg1
)->m_width
= arg2
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListItem
*arg1
= (wxListItem
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28036 result
= (int) ((arg1
)->m_width
);
28037 resultobj
= SWIG_From_int(static_cast< int >(result
));
28044 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28047 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28048 return SWIG_Py_Void();
28051 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28052 return SWIG_Python_InitShadowInstance(args
);
28055 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
= 0;
28057 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28058 int arg2
= (int) 0 ;
28059 wxListEvent
*result
= 0 ;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char * kwnames
[] = {
28067 (char *) "commandType",(char *) "id", NULL
28070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28073 if (!SWIG_IsOK(ecode1
)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28076 arg1
= static_cast< wxEventType
>(val1
);
28079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28080 if (!SWIG_IsOK(ecode2
)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28083 arg2
= static_cast< int >(val2
);
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28098 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28106 PyObject
*swig_obj
[2] ;
28108 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28110 if (!SWIG_IsOK(res1
)) {
28111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28113 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28114 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28115 if (!SWIG_IsOK(ecode2
)) {
28116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28118 arg2
= static_cast< int >(val2
);
28119 if (arg1
) (arg1
)->m_code
= arg2
;
28121 resultobj
= SWIG_Py_Void();
28128 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 PyObject
*resultobj
= 0;
28130 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28134 PyObject
*swig_obj
[1] ;
28136 if (!args
) SWIG_fail
;
28137 swig_obj
[0] = args
;
28138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28142 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28143 result
= (int) ((arg1
)->m_code
);
28144 resultobj
= SWIG_From_int(static_cast< int >(result
));
28151 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28159 PyObject
*swig_obj
[2] ;
28161 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28166 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28167 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28168 if (!SWIG_IsOK(ecode2
)) {
28169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28171 arg2
= static_cast< long >(val2
);
28172 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28174 resultobj
= SWIG_Py_Void();
28181 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28182 PyObject
*resultobj
= 0;
28183 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28187 PyObject
*swig_obj
[1] ;
28189 if (!args
) SWIG_fail
;
28190 swig_obj
[0] = args
;
28191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28195 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28196 result
= (long) ((arg1
)->m_oldItemIndex
);
28197 resultobj
= SWIG_From_long(static_cast< long >(result
));
28204 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28205 PyObject
*resultobj
= 0;
28206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28212 PyObject
*swig_obj
[2] ;
28214 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28219 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28220 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28221 if (!SWIG_IsOK(ecode2
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28224 arg2
= static_cast< long >(val2
);
28225 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28227 resultobj
= SWIG_Py_Void();
28234 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 PyObject
*resultobj
= 0;
28236 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28240 PyObject
*swig_obj
[1] ;
28242 if (!args
) SWIG_fail
;
28243 swig_obj
[0] = args
;
28244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28248 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28249 result
= (long) ((arg1
)->m_itemIndex
);
28250 resultobj
= SWIG_From_long(static_cast< long >(result
));
28257 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 PyObject
*resultobj
= 0;
28259 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28265 PyObject
*swig_obj
[2] ;
28267 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28269 if (!SWIG_IsOK(res1
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28272 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28273 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28274 if (!SWIG_IsOK(ecode2
)) {
28275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28277 arg2
= static_cast< int >(val2
);
28278 if (arg1
) (arg1
)->m_col
= arg2
;
28280 resultobj
= SWIG_Py_Void();
28287 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28288 PyObject
*resultobj
= 0;
28289 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28293 PyObject
*swig_obj
[1] ;
28295 if (!args
) SWIG_fail
;
28296 swig_obj
[0] = args
;
28297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28298 if (!SWIG_IsOK(res1
)) {
28299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28301 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28302 result
= (int) ((arg1
)->m_col
);
28303 resultobj
= SWIG_From_int(static_cast< int >(result
));
28310 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28311 PyObject
*resultobj
= 0;
28312 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28313 wxPoint
*arg2
= (wxPoint
*) 0 ;
28318 PyObject
*swig_obj
[2] ;
28320 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_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_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28325 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28326 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28327 if (!SWIG_IsOK(res2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28330 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28331 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28333 resultobj
= SWIG_Py_Void();
28340 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28343 wxPoint
*result
= 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_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28354 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28355 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28363 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28364 PyObject
*resultobj
= 0;
28365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28366 wxListItem
*result
= 0 ;
28369 PyObject
*swig_obj
[1] ;
28371 if (!args
) SWIG_fail
;
28372 swig_obj
[0] = args
;
28373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28377 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28378 result
= (wxListItem
*)& ((arg1
)->m_item
);
28380 resultobj
= wxPyMake_wxObject(result
, 0);
28388 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28402 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (int)(arg1
)->GetKeyCode();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_From_int(static_cast< int >(result
));
28416 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28422 PyObject
*swig_obj
[1] ;
28424 if (!args
) SWIG_fail
;
28425 swig_obj
[0] = args
;
28426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28430 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (long)(arg1
)->GetIndex();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_From_long(static_cast< long >(result
));
28444 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28445 PyObject
*resultobj
= 0;
28446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28450 PyObject
*swig_obj
[1] ;
28452 if (!args
) SWIG_fail
;
28453 swig_obj
[0] = args
;
28454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28458 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (int)(arg1
)->GetColumn();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_From_int(static_cast< int >(result
));
28472 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28473 PyObject
*resultobj
= 0;
28474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28478 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28486 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (arg1
)->GetPoint();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28500 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28503 wxString
*result
= 0 ;
28506 PyObject
*swig_obj
[1] ;
28508 if (!args
) SWIG_fail
;
28509 swig_obj
[0] = args
;
28510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28514 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 wxString
const &_result_ref
= (arg1
)->GetLabel();
28519 result
= (wxString
*) &_result_ref
;
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28537 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28538 PyObject
*resultobj
= 0;
28539 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28540 wxString
*result
= 0 ;
28543 PyObject
*swig_obj
[1] ;
28545 if (!args
) SWIG_fail
;
28546 swig_obj
[0] = args
;
28547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28551 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 wxString
const &_result_ref
= (arg1
)->GetText();
28556 result
= (wxString
*) &_result_ref
;
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28565 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28574 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28575 PyObject
*resultobj
= 0;
28576 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28580 PyObject
*swig_obj
[1] ;
28582 if (!args
) SWIG_fail
;
28583 swig_obj
[0] = args
;
28584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28585 if (!SWIG_IsOK(res1
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28588 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 result
= (int)(arg1
)->GetImage();
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_From_int(static_cast< int >(result
));
28602 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28603 PyObject
*resultobj
= 0;
28604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28608 PyObject
*swig_obj
[1] ;
28610 if (!args
) SWIG_fail
;
28611 swig_obj
[0] = args
;
28612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28616 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= (long)(arg1
)->GetData();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_From_long(static_cast< long >(result
));
28630 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28631 PyObject
*resultobj
= 0;
28632 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28636 PyObject
*swig_obj
[1] ;
28638 if (!args
) SWIG_fail
;
28639 swig_obj
[0] = args
;
28640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28641 if (!SWIG_IsOK(res1
)) {
28642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28644 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= (long)(arg1
)->GetMask();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= SWIG_From_long(static_cast< long >(result
));
28658 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28659 PyObject
*resultobj
= 0;
28660 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28661 wxListItem
*result
= 0 ;
28664 PyObject
*swig_obj
[1] ;
28666 if (!args
) SWIG_fail
;
28667 swig_obj
[0] = args
;
28668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28672 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28677 result
= (wxListItem
*) &_result_ref
;
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28689 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28690 PyObject
*resultobj
= 0;
28691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28695 PyObject
*swig_obj
[1] ;
28697 if (!args
) SWIG_fail
;
28698 swig_obj
[0] = args
;
28699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28703 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (long)(arg1
)->GetCacheFrom();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_From_long(static_cast< long >(result
));
28717 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28718 PyObject
*resultobj
= 0;
28719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28723 PyObject
*swig_obj
[1] ;
28725 if (!args
) SWIG_fail
;
28726 swig_obj
[0] = args
;
28727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28731 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (long)(arg1
)->GetCacheTo();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_From_long(static_cast< long >(result
));
28745 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 PyObject
*resultobj
= 0;
28747 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28759 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28775 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
= 0;
28777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 char * kwnames
[] = {
28786 (char *) "self",(char *) "editCancelled", NULL
28789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28791 if (!SWIG_IsOK(res1
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28794 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28796 if (!SWIG_IsOK(ecode2
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28799 arg2
= static_cast< bool >(val2
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 (arg1
)->SetEditCanceled(arg2
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_Py_Void();
28813 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28816 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28817 return SWIG_Py_Void();
28820 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 return SWIG_Python_InitShadowInstance(args
);
28824 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
= 0;
28826 wxWindow
*arg1
= (wxWindow
*) 0 ;
28827 int arg2
= (int) -1 ;
28828 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28829 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28830 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28831 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28832 long arg5
= (long) wxLC_ICON
;
28833 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28834 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28835 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28836 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28837 wxPyListCtrl
*result
= 0 ;
28848 bool temp7
= false ;
28849 PyObject
* obj0
= 0 ;
28850 PyObject
* obj1
= 0 ;
28851 PyObject
* obj2
= 0 ;
28852 PyObject
* obj3
= 0 ;
28853 PyObject
* obj4
= 0 ;
28854 PyObject
* obj5
= 0 ;
28855 PyObject
* obj6
= 0 ;
28856 char * kwnames
[] = {
28857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28862 if (!SWIG_IsOK(res1
)) {
28863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28868 if (!SWIG_IsOK(ecode2
)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28871 arg2
= static_cast< int >(val2
);
28876 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28882 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28886 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28887 if (!SWIG_IsOK(ecode5
)) {
28888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28890 arg5
= static_cast< long >(val5
);
28893 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28894 if (!SWIG_IsOK(res6
)) {
28895 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28900 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28904 arg7
= wxString_in_helper(obj6
);
28905 if (arg7
== NULL
) SWIG_fail
;
28910 if (!wxPyCheckForApp()) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28931 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28932 PyObject
*resultobj
= 0;
28933 wxPyListCtrl
*result
= 0 ;
28935 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28937 if (!wxPyCheckForApp()) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28950 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28953 wxWindow
*arg2
= (wxWindow
*) 0 ;
28954 int arg3
= (int) -1 ;
28955 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28956 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28957 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28958 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28959 long arg6
= (long) wxLC_ICON
;
28960 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28961 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28962 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28963 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28977 bool temp8
= false ;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 PyObject
* obj2
= 0 ;
28981 PyObject
* obj3
= 0 ;
28982 PyObject
* obj4
= 0 ;
28983 PyObject
* obj5
= 0 ;
28984 PyObject
* obj6
= 0 ;
28985 PyObject
* obj7
= 0 ;
28986 char * kwnames
[] = {
28987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28992 if (!SWIG_IsOK(res1
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28995 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28997 if (!SWIG_IsOK(res2
)) {
28998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29003 if (!SWIG_IsOK(ecode3
)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29006 arg3
= static_cast< int >(val3
);
29011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29021 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29022 if (!SWIG_IsOK(ecode6
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29025 arg6
= static_cast< long >(val6
);
29028 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29029 if (!SWIG_IsOK(res7
)) {
29030 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29035 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29039 arg8
= wxString_in_helper(obj7
);
29040 if (arg8
== NULL
) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29067 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
= 0;
29069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29070 PyObject
*arg2
= (PyObject
*) 0 ;
29071 PyObject
*arg3
= (PyObject
*) 0 ;
29074 PyObject
* obj0
= 0 ;
29075 PyObject
* obj1
= 0 ;
29076 PyObject
* obj2
= 0 ;
29077 char * kwnames
[] = {
29078 (char *) "self",(char *) "self",(char *) "_class", NULL
29081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29083 if (!SWIG_IsOK(res1
)) {
29084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29086 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= SWIG_Py_Void();
29102 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
= 0;
29104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29106 wxListItem
*result
= 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "col", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29122 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29124 if (!SWIG_IsOK(ecode2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29127 arg2
= static_cast< int >(val2
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= wxPyMake_wxObject(result
, 0);
29143 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
= 0;
29145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29147 wxListItem
*arg3
= 0 ;
29155 PyObject
* obj0
= 0 ;
29156 PyObject
* obj1
= 0 ;
29157 PyObject
* obj2
= 0 ;
29158 char * kwnames
[] = {
29159 (char *) "self",(char *) "col",(char *) "item", NULL
29162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29169 if (!SWIG_IsOK(ecode2
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29172 arg2
= static_cast< int >(val2
);
29173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29174 if (!SWIG_IsOK(res3
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29180 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29196 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
= 0;
29198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 char * kwnames
[] = {
29208 (char *) "self",(char *) "col", NULL
29211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29213 if (!SWIG_IsOK(res1
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29218 if (!SWIG_IsOK(ecode2
)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29221 arg2
= static_cast< int >(val2
);
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= SWIG_From_int(static_cast< int >(result
));
29235 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 char * kwnames
[] = {
29251 (char *) "self",(char *) "col",(char *) "width", NULL
29254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29261 if (!SWIG_IsOK(ecode2
)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29264 arg2
= static_cast< int >(val2
);
29265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29266 if (!SWIG_IsOK(ecode3
)) {
29267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29269 arg3
= static_cast< int >(val3
);
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29286 PyObject
*resultobj
= 0;
29287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29291 PyObject
*swig_obj
[1] ;
29293 if (!args
) SWIG_fail
;
29294 swig_obj
[0] = args
;
29295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29296 if (!SWIG_IsOK(res1
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= SWIG_From_int(static_cast< int >(result
));
29313 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29314 PyObject
*resultobj
= 0;
29315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29319 PyObject
*swig_obj
[1] ;
29321 if (!args
) SWIG_fail
;
29322 swig_obj
[0] = args
;
29323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29324 if (!SWIG_IsOK(res1
)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29341 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29342 PyObject
*resultobj
= 0;
29343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29344 wxTextCtrl
*result
= 0 ;
29347 PyObject
*swig_obj
[1] ;
29349 if (!args
) SWIG_fail
;
29350 swig_obj
[0] = args
;
29351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29352 if (!SWIG_IsOK(res1
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29355 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29363 resultobj
= wxPyMake_wxObject(result
, 0);
29371 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29375 int arg3
= (int) 0 ;
29376 wxListItem
*result
= 0 ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 PyObject
* obj2
= 0 ;
29386 char * kwnames
[] = {
29387 (char *) "self",(char *) "itemId",(char *) "col", NULL
29390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29395 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29396 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29397 if (!SWIG_IsOK(ecode2
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29400 arg2
= static_cast< long >(val2
);
29402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29403 if (!SWIG_IsOK(ecode3
)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29406 arg3
= static_cast< int >(val3
);
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= wxPyMake_wxObject(result
, 0);
29423 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
= 0;
29425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29426 wxListItem
*arg2
= 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char * kwnames
[] = {
29435 (char *) "self",(char *) "info", NULL
29438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29440 if (!SWIG_IsOK(res1
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29445 if (!SWIG_IsOK(res2
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29451 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (bool)(arg1
)->SetItem(*arg2
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29467 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
= 0;
29469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29472 wxString
*arg4
= 0 ;
29473 int arg5
= (int) -1 ;
29481 bool temp4
= false ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 PyObject
* obj2
= 0 ;
29487 PyObject
* obj3
= 0 ;
29488 PyObject
* obj4
= 0 ;
29489 char * kwnames
[] = {
29490 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29499 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29500 if (!SWIG_IsOK(ecode2
)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29503 arg2
= static_cast< long >(val2
);
29504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29505 if (!SWIG_IsOK(ecode3
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29508 arg3
= static_cast< int >(val3
);
29510 arg4
= wxString_in_helper(obj3
);
29511 if (arg4
== NULL
) SWIG_fail
;
29515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29516 if (!SWIG_IsOK(ecode5
)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29519 arg5
= static_cast< int >(val5
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_From_long(static_cast< long >(result
));
29542 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
= 0;
29544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 PyObject
* obj2
= 0 ;
29557 char * kwnames
[] = {
29558 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29566 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29568 if (!SWIG_IsOK(ecode2
)) {
29569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29571 arg2
= static_cast< long >(val2
);
29572 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29573 if (!SWIG_IsOK(ecode3
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29576 arg3
= static_cast< long >(val3
);
29578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29579 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= SWIG_From_int(static_cast< int >(result
));
29590 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29591 PyObject
*resultobj
= 0;
29592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 PyObject
* obj2
= 0 ;
29608 PyObject
* obj3
= 0 ;
29609 char * kwnames
[] = {
29610 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29620 if (!SWIG_IsOK(ecode2
)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29623 arg2
= static_cast< long >(val2
);
29624 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29625 if (!SWIG_IsOK(ecode3
)) {
29626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29628 arg3
= static_cast< long >(val3
);
29629 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29630 if (!SWIG_IsOK(ecode4
)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29633 arg4
= static_cast< long >(val4
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29649 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
= 0;
29651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29654 int arg4
= (int) -1 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 PyObject
* obj2
= 0 ;
29667 PyObject
* obj3
= 0 ;
29668 char * kwnames
[] = {
29669 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29677 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29679 if (!SWIG_IsOK(ecode2
)) {
29680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29682 arg2
= static_cast< long >(val2
);
29683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29684 if (!SWIG_IsOK(ecode3
)) {
29685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29687 arg3
= static_cast< int >(val3
);
29689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29690 if (!SWIG_IsOK(ecode4
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29693 arg4
= static_cast< int >(val4
);
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29710 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= 0;
29712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29725 PyObject
* obj0
= 0 ;
29726 PyObject
* obj1
= 0 ;
29727 PyObject
* obj2
= 0 ;
29728 PyObject
* obj3
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29738 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29740 if (!SWIG_IsOK(ecode2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29743 arg2
= static_cast< long >(val2
);
29744 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29745 if (!SWIG_IsOK(ecode3
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29748 arg3
= static_cast< long >(val3
);
29749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29750 if (!SWIG_IsOK(ecode4
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29753 arg4
= static_cast< int >(val4
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29769 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
= 0;
29771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 char * kwnames
[] = {
29781 (char *) "self",(char *) "item", NULL
29784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29789 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29790 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29791 if (!SWIG_IsOK(ecode2
)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29794 arg2
= static_cast< long >(val2
);
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29814 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
= 0;
29816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29818 wxString
*arg3
= 0 ;
29823 bool temp3
= false ;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 char * kwnames
[] = {
29828 (char *) "self",(char *) "item",(char *) "str", NULL
29831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29833 if (!SWIG_IsOK(res1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29836 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29837 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29838 if (!SWIG_IsOK(ecode2
)) {
29839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29841 arg2
= static_cast< long >(val2
);
29843 arg3
= wxString_in_helper(obj2
);
29844 if (arg3
== NULL
) SWIG_fail
;
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_Py_Void();
29868 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
= 0;
29870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "item", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29888 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29890 if (!SWIG_IsOK(ecode2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29893 arg2
= static_cast< long >(val2
);
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_From_long(static_cast< long >(result
));
29907 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
= 0;
29909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 PyObject
* obj2
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "item",(char *) "data", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29931 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29932 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29933 if (!SWIG_IsOK(ecode2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29936 arg2
= static_cast< long >(val2
);
29937 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29938 if (!SWIG_IsOK(ecode3
)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29941 arg3
= static_cast< long >(val3
);
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29957 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "item", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29979 if (!SWIG_IsOK(ecode2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29982 arg2
= static_cast< long >(val2
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29996 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
= 0;
29998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30000 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30008 PyObject
* obj0
= 0 ;
30009 PyObject
* obj1
= 0 ;
30010 PyObject
* obj2
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "item",(char *) "code", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30020 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30022 if (!SWIG_IsOK(ecode2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30025 arg2
= static_cast< long >(val2
);
30027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30028 if (!SWIG_IsOK(ecode3
)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30031 arg3
= static_cast< int >(val3
);
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30050 wxPoint
*arg3
= 0 ;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 PyObject
* obj2
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "item",(char *) "pos", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30074 arg2
= static_cast< long >(val2
);
30077 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30094 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 PyObject
*resultobj
= 0;
30096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30100 PyObject
*swig_obj
[1] ;
30102 if (!args
) SWIG_fail
;
30103 swig_obj
[0] = args
;
30104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30105 if (!SWIG_IsOK(res1
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_From_int(static_cast< int >(result
));
30122 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30123 PyObject
*resultobj
= 0;
30124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30128 PyObject
*swig_obj
[1] ;
30130 if (!args
) SWIG_fail
;
30131 swig_obj
[0] = args
;
30132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30133 if (!SWIG_IsOK(res1
)) {
30134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30136 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= SWIG_From_int(static_cast< int >(result
));
30150 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30151 PyObject
*resultobj
= 0;
30152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30156 PyObject
*swig_obj
[1] ;
30158 if (!args
) SWIG_fail
;
30159 swig_obj
[0] = args
;
30160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30171 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30178 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
= 0;
30180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30182 bool arg3
= (bool) false ;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 PyObject
* obj2
= 0 ;
30192 char * kwnames
[] = {
30193 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30198 if (!SWIG_IsOK(res1
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30201 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30203 if (!SWIG_IsOK(ecode2
)) {
30204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30206 arg2
= static_cast< int >(val2
);
30208 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30209 if (!SWIG_IsOK(ecode3
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30212 arg3
= static_cast< bool >(val3
);
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 (arg1
)->SetItemSpacing(arg2
,arg3
);
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_Py_Void();
30227 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30228 PyObject
*resultobj
= 0;
30229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30233 PyObject
*swig_obj
[1] ;
30235 if (!args
) SWIG_fail
;
30236 swig_obj
[0] = args
;
30237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30241 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_From_int(static_cast< int >(result
));
30255 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 PyObject
*resultobj
= 0;
30257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30261 PyObject
*swig_obj
[1] ;
30263 if (!args
) SWIG_fail
;
30264 swig_obj
[0] = args
;
30265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30266 if (!SWIG_IsOK(res1
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30283 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
= 0;
30285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30286 wxColour
*arg2
= 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "col", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= SWIG_Py_Void();
30319 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30320 PyObject
*resultobj
= 0;
30321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30325 PyObject
*swig_obj
[1] ;
30327 if (!args
) SWIG_fail
;
30328 swig_obj
[0] = args
;
30329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= SWIG_From_long(static_cast< long >(result
));
30347 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30348 PyObject
*resultobj
= 0;
30349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30351 bool arg3
= (bool) true ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 PyObject
* obj2
= 0 ;
30361 char * kwnames
[] = {
30362 (char *) "self",(char *) "style",(char *) "add", NULL
30365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30370 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30371 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30372 if (!SWIG_IsOK(ecode2
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30375 arg2
= static_cast< long >(val2
);
30377 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30378 if (!SWIG_IsOK(ecode3
)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30381 arg3
= static_cast< bool >(val3
);
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 (arg1
)->SetSingleStyle(arg2
,arg3
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_Py_Void();
30396 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
= 0;
30398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30400 int arg3
= (int) wxLIST_NEXT_ALL
;
30401 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 PyObject
* obj2
= 0 ;
30414 PyObject
* obj3
= 0 ;
30415 char * kwnames
[] = {
30416 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30421 if (!SWIG_IsOK(res1
)) {
30422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30424 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30426 if (!SWIG_IsOK(ecode2
)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30429 arg2
= static_cast< long >(val2
);
30431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30432 if (!SWIG_IsOK(ecode3
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30435 arg3
= static_cast< int >(val3
);
30438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30439 if (!SWIG_IsOK(ecode4
)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30442 arg4
= static_cast< int >(val4
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_From_long(static_cast< long >(result
));
30457 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
= 0;
30459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30461 wxImageList
*result
= 0 ;
30466 PyObject
* obj0
= 0 ;
30467 PyObject
* obj1
= 0 ;
30468 char * kwnames
[] = {
30469 (char *) "self",(char *) "which", NULL
30472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30477 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30479 if (!SWIG_IsOK(ecode2
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30482 arg2
= static_cast< int >(val2
);
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30498 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
= 0;
30500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 wxImageList
*arg2
= (wxImageList
*) 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 PyObject
* obj2
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "imageList",(char *) "which", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30521 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30523 if (!SWIG_IsOK(res2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30526 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30528 if (!SWIG_IsOK(ecode3
)) {
30529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30531 arg3
= static_cast< int >(val3
);
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->SetImageList(arg2
,arg3
);
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= SWIG_Py_Void();
30545 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
= 0;
30547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30548 wxImageList
*arg2
= (wxImageList
*) 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 PyObject
* obj2
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "imageList",(char *) "which", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30568 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30569 if (!SWIG_IsOK(res2
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30573 if (!SWIG_IsOK(ecode3
)) {
30574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30576 arg3
= static_cast< int >(val3
);
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->AssignImageList(arg2
,arg3
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= SWIG_Py_Void();
30590 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30591 PyObject
*resultobj
= 0;
30592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30596 PyObject
*swig_obj
[1] ;
30598 if (!args
) SWIG_fail
;
30599 swig_obj
[0] = args
;
30600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30601 if (!SWIG_IsOK(res1
)) {
30602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30604 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30620 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30621 PyObject
*resultobj
= 0;
30622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30626 PyObject
*swig_obj
[1] ;
30628 if (!args
) SWIG_fail
;
30629 swig_obj
[0] = args
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30650 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
= 0;
30652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char * kwnames
[] = {
30661 (char *) "self",(char *) "item", NULL
30664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30669 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30671 if (!SWIG_IsOK(ecode2
)) {
30672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30674 arg2
= static_cast< long >(val2
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 (arg1
)->RefreshItem(arg2
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_Py_Void();
30688 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
= 0;
30690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 PyObject
* obj2
= 0 ;
30702 char * kwnames
[] = {
30703 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30713 if (!SWIG_IsOK(ecode2
)) {
30714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30716 arg2
= static_cast< long >(val2
);
30717 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30718 if (!SWIG_IsOK(ecode3
)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30721 arg3
= static_cast< long >(val3
);
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 (arg1
)->RefreshItems(arg2
,arg3
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= SWIG_Py_Void();
30735 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= 0;
30737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30738 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 char * kwnames
[] = {
30747 (char *) "self",(char *) "flag", NULL
30750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30758 if (!SWIG_IsOK(ecode2
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30761 arg2
= static_cast< int >(val2
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (bool)(arg1
)->Arrange(arg2
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30778 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
= 0;
30780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 char * kwnames
[] = {
30790 (char *) "self",(char *) "item", NULL
30793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30795 if (!SWIG_IsOK(res1
)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30798 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30800 if (!SWIG_IsOK(ecode2
)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30803 arg2
= static_cast< long >(val2
);
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 result
= (bool)(arg1
)->DeleteItem(arg2
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30819 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30820 PyObject
*resultobj
= 0;
30821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30825 PyObject
*swig_obj
[1] ;
30827 if (!args
) SWIG_fail
;
30828 swig_obj
[0] = args
;
30829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30830 if (!SWIG_IsOK(res1
)) {
30831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (bool)(arg1
)->DeleteAllItems();
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30849 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
= 0;
30851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 char * kwnames
[] = {
30861 (char *) "self",(char *) "col", NULL
30864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30869 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30871 if (!SWIG_IsOK(ecode2
)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30874 arg2
= static_cast< int >(val2
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30890 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30891 PyObject
*resultobj
= 0;
30892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30896 PyObject
*swig_obj
[1] ;
30898 if (!args
) SWIG_fail
;
30899 swig_obj
[0] = args
;
30900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30904 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (bool)(arg1
)->DeleteAllColumns();
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30920 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30925 PyObject
*swig_obj
[1] ;
30927 if (!args
) SWIG_fail
;
30928 swig_obj
[0] = args
;
30929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 (arg1
)->ClearAll();
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_Py_Void();
30947 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
= 0;
30949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 PyObject
* obj1
= 0 ;
30957 char * kwnames
[] = {
30958 (char *) "self",(char *) "item", NULL
30961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30963 if (!SWIG_IsOK(res1
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30968 if (!SWIG_IsOK(ecode2
)) {
30969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30971 arg2
= static_cast< long >(val2
);
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 (arg1
)->EditLabel(arg2
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_Py_Void();
30985 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
= 0;
30987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 char * kwnames
[] = {
30997 (char *) "self",(char *) "item", NULL
31000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31002 if (!SWIG_IsOK(res1
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31005 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31007 if (!SWIG_IsOK(ecode2
)) {
31008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31010 arg2
= static_cast< long >(val2
);
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31026 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
= 0;
31028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31030 wxString
*arg3
= 0 ;
31031 bool arg4
= (bool) false ;
31037 bool temp3
= false ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 PyObject
* obj2
= 0 ;
31043 PyObject
* obj3
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31055 if (!SWIG_IsOK(ecode2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31058 arg2
= static_cast< long >(val2
);
31060 arg3
= wxString_in_helper(obj2
);
31061 if (arg3
== NULL
) SWIG_fail
;
31065 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31066 if (!SWIG_IsOK(ecode4
)) {
31067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31069 arg4
= static_cast< bool >(val4
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_From_long(static_cast< long >(result
));
31092 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
= 0;
31094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 PyObject
* obj2
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "start",(char *) "data", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31116 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31117 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31118 if (!SWIG_IsOK(ecode2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31121 arg2
= static_cast< long >(val2
);
31122 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31123 if (!SWIG_IsOK(ecode3
)) {
31124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31126 arg3
= static_cast< long >(val3
);
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_From_long(static_cast< long >(result
));
31140 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
= 0;
31142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31144 wxPoint
*arg3
= 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 PyObject
* obj2
= 0 ;
31157 PyObject
* obj3
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31169 if (!SWIG_IsOK(ecode2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31172 arg2
= static_cast< long >(val2
);
31175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31177 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31178 if (!SWIG_IsOK(ecode4
)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31181 arg4
= static_cast< int >(val4
);
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= SWIG_From_long(static_cast< long >(result
));
31195 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
= 0;
31197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31198 wxPoint
*arg2
= 0 ;
31205 int res3
= SWIG_TMPOBJ
;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "self",(char *) "point", NULL
31213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31215 if (!SWIG_IsOK(res1
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31218 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= SWIG_From_long(static_cast< long >(result
));
31230 if (SWIG_IsTmpObj(res3
)) {
31231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31233 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31242 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
= 0;
31244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31245 wxPoint
*arg2
= 0 ;
31247 long *arg4
= (long *) 0 ;
31253 int res3
= SWIG_TMPOBJ
;
31255 int res4
= SWIG_TMPOBJ
;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 char * kwnames
[] = {
31259 (char *) "self",(char *) "point", NULL
31264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31266 if (!SWIG_IsOK(res1
)) {
31267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_From_long(static_cast< long >(result
));
31281 if (SWIG_IsTmpObj(res3
)) {
31282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31284 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31287 if (SWIG_IsTmpObj(res4
)) {
31288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31290 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31299 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
= 0;
31301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31302 wxListItem
*arg2
= 0 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 char * kwnames
[] = {
31311 (char *) "self",(char *) "info", NULL
31314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31319 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31321 if (!SWIG_IsOK(res2
)) {
31322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31327 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= (long)(arg1
)->InsertItem(*arg2
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= SWIG_From_long(static_cast< long >(result
));
31341 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
= 0;
31343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31345 wxString
*arg3
= 0 ;
31346 int arg4
= (int) -1 ;
31352 bool temp3
= false ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 PyObject
* obj2
= 0 ;
31358 PyObject
* obj3
= 0 ;
31359 char * kwnames
[] = {
31360 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31370 if (!SWIG_IsOK(ecode2
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31373 arg2
= static_cast< long >(val2
);
31375 arg3
= wxString_in_helper(obj2
);
31376 if (arg3
== NULL
) SWIG_fail
;
31380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31381 if (!SWIG_IsOK(ecode4
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31384 arg4
= static_cast< int >(val4
);
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= SWIG_From_long(static_cast< long >(result
));
31407 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
= 0;
31409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 PyObject
* obj2
= 0 ;
31422 char * kwnames
[] = {
31423 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31433 if (!SWIG_IsOK(ecode2
)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31436 arg2
= static_cast< long >(val2
);
31437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31438 if (!SWIG_IsOK(ecode3
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31441 arg3
= static_cast< int >(val3
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= SWIG_From_long(static_cast< long >(result
));
31455 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31456 PyObject
*resultobj
= 0;
31457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31459 wxString
*arg3
= 0 ;
31466 bool temp3
= false ;
31469 PyObject
* obj0
= 0 ;
31470 PyObject
* obj1
= 0 ;
31471 PyObject
* obj2
= 0 ;
31472 PyObject
* obj3
= 0 ;
31473 char * kwnames
[] = {
31474 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31479 if (!SWIG_IsOK(res1
)) {
31480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31482 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31483 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31484 if (!SWIG_IsOK(ecode2
)) {
31485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31487 arg2
= static_cast< long >(val2
);
31489 arg3
= wxString_in_helper(obj2
);
31490 if (arg3
== NULL
) SWIG_fail
;
31493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31494 if (!SWIG_IsOK(ecode4
)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31497 arg4
= static_cast< int >(val4
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_From_long(static_cast< long >(result
));
31519 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31520 PyObject
*resultobj
= 0;
31521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31523 wxListItem
*arg3
= 0 ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 PyObject
* obj2
= 0 ;
31534 char * kwnames
[] = {
31535 (char *) "self",(char *) "col",(char *) "info", NULL
31538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31540 if (!SWIG_IsOK(res1
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31545 if (!SWIG_IsOK(ecode2
)) {
31546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31548 arg2
= static_cast< long >(val2
);
31549 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31550 if (!SWIG_IsOK(res3
)) {
31551 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31556 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= SWIG_From_long(static_cast< long >(result
));
31570 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
= 0;
31572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31574 wxString
*arg3
= 0 ;
31575 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31576 int arg5
= (int) -1 ;
31582 bool temp3
= false ;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 PyObject
* obj2
= 0 ;
31590 PyObject
* obj3
= 0 ;
31591 PyObject
* obj4
= 0 ;
31592 char * kwnames
[] = {
31593 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31598 if (!SWIG_IsOK(res1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31603 if (!SWIG_IsOK(ecode2
)) {
31604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31606 arg2
= static_cast< long >(val2
);
31608 arg3
= wxString_in_helper(obj2
);
31609 if (arg3
== NULL
) SWIG_fail
;
31613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31614 if (!SWIG_IsOK(ecode4
)) {
31615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31617 arg4
= static_cast< int >(val4
);
31620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31621 if (!SWIG_IsOK(ecode5
)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31624 arg5
= static_cast< int >(val5
);
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 resultobj
= SWIG_From_long(static_cast< long >(result
));
31647 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
= 0;
31649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31655 PyObject
* obj0
= 0 ;
31656 PyObject
* obj1
= 0 ;
31657 char * kwnames
[] = {
31658 (char *) "self",(char *) "count", NULL
31661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31663 if (!SWIG_IsOK(res1
)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31668 if (!SWIG_IsOK(ecode2
)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31671 arg2
= static_cast< long >(val2
);
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 (arg1
)->SetItemCount(arg2
);
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= SWIG_Py_Void();
31685 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
= 0;
31687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31697 PyObject
* obj0
= 0 ;
31698 PyObject
* obj1
= 0 ;
31699 PyObject
* obj2
= 0 ;
31700 char * kwnames
[] = {
31701 (char *) "self",(char *) "dx",(char *) "dy", NULL
31704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31706 if (!SWIG_IsOK(res1
)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31711 if (!SWIG_IsOK(ecode2
)) {
31712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31714 arg2
= static_cast< int >(val2
);
31715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31716 if (!SWIG_IsOK(ecode3
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31719 arg3
= static_cast< int >(val3
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31735 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
= 0;
31737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31739 wxColour
*arg3
= 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 PyObject
* obj2
= 0 ;
31748 char * kwnames
[] = {
31749 (char *) "self",(char *) "item",(char *) "col", NULL
31752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31754 if (!SWIG_IsOK(res1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31757 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31759 if (!SWIG_IsOK(ecode2
)) {
31760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31762 arg2
= static_cast< long >(val2
);
31765 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_Py_Void();
31780 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 char * kwnames
[] = {
31792 (char *) "self",(char *) "item", NULL
31795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31797 if (!SWIG_IsOK(res1
)) {
31798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31800 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31801 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31802 if (!SWIG_IsOK(ecode2
)) {
31803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31805 arg2
= static_cast< long >(val2
);
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31819 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
= 0;
31821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31823 wxColour
*arg3
= 0 ;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 PyObject
* obj2
= 0 ;
31832 char * kwnames
[] = {
31833 (char *) "self",(char *) "item",(char *) "col", NULL
31836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31841 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31843 if (!SWIG_IsOK(ecode2
)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31846 arg2
= static_cast< long >(val2
);
31849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_Py_Void();
31864 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
= 0;
31866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 char * kwnames
[] = {
31876 (char *) "self",(char *) "item", NULL
31879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31881 if (!SWIG_IsOK(res1
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31886 if (!SWIG_IsOK(ecode2
)) {
31887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31889 arg2
= static_cast< long >(val2
);
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31903 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 PyObject
* obj2
= 0 ;
31917 char * kwnames
[] = {
31918 (char *) "self",(char *) "item",(char *) "f", NULL
31921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31923 if (!SWIG_IsOK(res1
)) {
31924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31926 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31927 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31928 if (!SWIG_IsOK(ecode2
)) {
31929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31931 arg2
= static_cast< long >(val2
);
31932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31933 if (!SWIG_IsOK(res3
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31939 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31942 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= SWIG_Py_Void();
31953 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
= 0;
31955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 char * kwnames
[] = {
31965 (char *) "self",(char *) "item", NULL
31968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31970 if (!SWIG_IsOK(res1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31973 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31975 if (!SWIG_IsOK(ecode2
)) {
31976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31978 arg2
= static_cast< long >(val2
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31992 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31995 PyObject
*arg2
= (PyObject
*) 0 ;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "func", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32027 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32028 PyObject
*resultobj
= 0;
32029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32030 wxWindow
*result
= 0 ;
32033 PyObject
*swig_obj
[1] ;
32035 if (!args
) SWIG_fail
;
32036 swig_obj
[0] = args
;
32037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32038 if (!SWIG_IsOK(res1
)) {
32039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32041 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= wxPyMake_wxObject(result
, 0);
32057 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32060 SwigValueWrapper
<wxVisualAttributes
> result
;
32063 PyObject
* obj0
= 0 ;
32064 char * kwnames
[] = {
32065 (char *) "variant", NULL
32068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32070 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32071 if (!SWIG_IsOK(ecode1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32074 arg1
= static_cast< wxWindowVariant
>(val1
);
32077 if (!wxPyCheckForApp()) SWIG_fail
;
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32090 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32094 return SWIG_Py_Void();
32097 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32098 return SWIG_Python_InitShadowInstance(args
);
32101 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
= 0;
32103 wxWindow
*arg1
= (wxWindow
*) 0 ;
32104 int arg2
= (int) -1 ;
32105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32109 long arg5
= (long) wxLC_REPORT
;
32110 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32111 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32112 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32113 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32114 wxListView
*result
= 0 ;
32125 bool temp7
= false ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 PyObject
* obj2
= 0 ;
32129 PyObject
* obj3
= 0 ;
32130 PyObject
* obj4
= 0 ;
32131 PyObject
* obj5
= 0 ;
32132 PyObject
* obj6
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32142 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32145 if (!SWIG_IsOK(ecode2
)) {
32146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32148 arg2
= static_cast< int >(val2
);
32153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32159 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32163 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32164 if (!SWIG_IsOK(ecode5
)) {
32165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32167 arg5
= static_cast< long >(val5
);
32170 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32171 if (!SWIG_IsOK(res6
)) {
32172 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32177 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32181 arg7
= wxString_in_helper(obj6
);
32182 if (arg7
== NULL
) SWIG_fail
;
32187 if (!wxPyCheckForApp()) SWIG_fail
;
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32208 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32209 PyObject
*resultobj
= 0;
32210 wxListView
*result
= 0 ;
32212 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32214 if (!wxPyCheckForApp()) SWIG_fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (wxListView
*)new wxListView();
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32227 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32228 PyObject
*resultobj
= 0;
32229 wxListView
*arg1
= (wxListView
*) 0 ;
32230 wxWindow
*arg2
= (wxWindow
*) 0 ;
32231 int arg3
= (int) -1 ;
32232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32236 long arg6
= (long) wxLC_REPORT
;
32237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32239 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32254 bool temp8
= false ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 PyObject
* obj2
= 0 ;
32258 PyObject
* obj3
= 0 ;
32259 PyObject
* obj4
= 0 ;
32260 PyObject
* obj5
= 0 ;
32261 PyObject
* obj6
= 0 ;
32262 PyObject
* obj7
= 0 ;
32263 char * kwnames
[] = {
32264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32269 if (!SWIG_IsOK(res1
)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32272 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32274 if (!SWIG_IsOK(res2
)) {
32275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32280 if (!SWIG_IsOK(ecode3
)) {
32281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32283 arg3
= static_cast< int >(val3
);
32288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32298 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32299 if (!SWIG_IsOK(ecode6
)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32302 arg6
= static_cast< long >(val6
);
32305 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32306 if (!SWIG_IsOK(res7
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32312 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32316 arg8
= wxString_in_helper(obj7
);
32317 if (arg8
== NULL
) SWIG_fail
;
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32344 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
= 0;
32346 wxListView
*arg1
= (wxListView
*) 0 ;
32348 bool arg3
= (bool) true ;
32355 PyObject
* obj0
= 0 ;
32356 PyObject
* obj1
= 0 ;
32357 PyObject
* obj2
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "self",(char *) "n",(char *) "on", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32367 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32368 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32369 if (!SWIG_IsOK(ecode2
)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32372 arg2
= static_cast< long >(val2
);
32374 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32375 if (!SWIG_IsOK(ecode3
)) {
32376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32378 arg3
= static_cast< bool >(val3
);
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 (arg1
)->Select(arg2
,arg3
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_Py_Void();
32393 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
= 0;
32395 wxListView
*arg1
= (wxListView
*) 0 ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 char * kwnames
[] = {
32404 (char *) "self",(char *) "index", NULL
32407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32409 if (!SWIG_IsOK(res1
)) {
32410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32412 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32413 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32414 if (!SWIG_IsOK(ecode2
)) {
32415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32417 arg2
= static_cast< long >(val2
);
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 (arg1
)->Focus(arg2
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= SWIG_Py_Void();
32431 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32432 PyObject
*resultobj
= 0;
32433 wxListView
*arg1
= (wxListView
*) 0 ;
32437 PyObject
*swig_obj
[1] ;
32439 if (!args
) SWIG_fail
;
32440 swig_obj
[0] = args
;
32441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32442 if (!SWIG_IsOK(res1
)) {
32443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32445 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= SWIG_From_long(static_cast< long >(result
));
32459 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
= 0;
32461 wxListView
*arg1
= (wxListView
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 PyObject
* obj1
= 0 ;
32470 char * kwnames
[] = {
32471 (char *) "self",(char *) "item", NULL
32474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32479 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32481 if (!SWIG_IsOK(ecode2
)) {
32482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32484 arg2
= static_cast< long >(val2
);
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= SWIG_From_long(static_cast< long >(result
));
32498 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32499 PyObject
*resultobj
= 0;
32500 wxListView
*arg1
= (wxListView
*) 0 ;
32504 PyObject
*swig_obj
[1] ;
32506 if (!args
) SWIG_fail
;
32507 swig_obj
[0] = args
;
32508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32509 if (!SWIG_IsOK(res1
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32512 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= SWIG_From_long(static_cast< long >(result
));
32526 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
= 0;
32528 wxListView
*arg1
= (wxListView
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 char * kwnames
[] = {
32538 (char *) "self",(char *) "index", NULL
32541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32543 if (!SWIG_IsOK(res1
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32546 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32547 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32548 if (!SWIG_IsOK(ecode2
)) {
32549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32551 arg2
= static_cast< long >(val2
);
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= (bool)(arg1
)->IsSelected(arg2
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32567 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 wxListView
*arg1
= (wxListView
*) 0 ;
32578 PyObject
* obj0
= 0 ;
32579 PyObject
* obj1
= 0 ;
32580 PyObject
* obj2
= 0 ;
32581 char * kwnames
[] = {
32582 (char *) "self",(char *) "col",(char *) "image", NULL
32585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32587 if (!SWIG_IsOK(res1
)) {
32588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32590 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32592 if (!SWIG_IsOK(ecode2
)) {
32593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32595 arg2
= static_cast< int >(val2
);
32596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32597 if (!SWIG_IsOK(ecode3
)) {
32598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32600 arg3
= static_cast< int >(val3
);
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 (arg1
)->SetColumnImage(arg2
,arg3
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_Py_Void();
32614 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
= 0;
32616 wxListView
*arg1
= (wxListView
*) 0 ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 char * kwnames
[] = {
32625 (char *) "self",(char *) "col", NULL
32628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32630 if (!SWIG_IsOK(res1
)) {
32631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32633 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32635 if (!SWIG_IsOK(ecode2
)) {
32636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32638 arg2
= static_cast< int >(val2
);
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 (arg1
)->ClearColumnImage(arg2
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= SWIG_Py_Void();
32652 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32655 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32656 return SWIG_Py_Void();
32659 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32660 return SWIG_Python_InitShadowInstance(args
);
32663 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32664 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32669 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32670 PyObject
*pyobj
= 0;
32674 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32676 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32683 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 PyObject
*resultobj
= 0;
32685 wxTreeItemId
*result
= 0 ;
32687 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 result
= (wxTreeItemId
*)new wxTreeItemId();
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32701 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32702 PyObject
*resultobj
= 0;
32703 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32706 PyObject
*swig_obj
[1] ;
32708 if (!args
) SWIG_fail
;
32709 swig_obj
[0] = args
;
32710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32711 if (!SWIG_IsOK(res1
)) {
32712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32714 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32722 resultobj
= SWIG_Py_Void();
32729 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32730 PyObject
*resultobj
= 0;
32731 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32735 PyObject
*swig_obj
[1] ;
32737 if (!args
) SWIG_fail
;
32738 swig_obj
[0] = args
;
32739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32743 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32759 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
= 0;
32761 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32762 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32768 PyObject
* obj0
= 0 ;
32769 PyObject
* obj1
= 0 ;
32770 char * kwnames
[] = {
32771 (char *) "self",(char *) "other", NULL
32774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32776 if (!SWIG_IsOK(res1
)) {
32777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32779 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32781 if (!SWIG_IsOK(res2
)) {
32782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32784 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32800 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
= 0;
32802 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32803 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32809 PyObject
* obj0
= 0 ;
32810 PyObject
* obj1
= 0 ;
32811 char * kwnames
[] = {
32812 (char *) "self",(char *) "other", NULL
32815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32817 if (!SWIG_IsOK(res1
)) {
32818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32820 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32822 if (!SWIG_IsOK(res2
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32825 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32841 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32842 PyObject
*resultobj
= 0;
32843 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32844 void *arg2
= (void *) 0 ;
32848 PyObject
*swig_obj
[2] ;
32850 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32852 if (!SWIG_IsOK(res1
)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32855 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32856 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32857 if (!SWIG_IsOK(res2
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32860 if (arg1
) (arg1
)->m_pItem
= arg2
;
32862 resultobj
= SWIG_Py_Void();
32869 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32870 PyObject
*resultobj
= 0;
32871 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32875 PyObject
*swig_obj
[1] ;
32877 if (!args
) SWIG_fail
;
32878 swig_obj
[0] = args
;
32879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32880 if (!SWIG_IsOK(res1
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32883 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32884 result
= (void *) ((arg1
)->m_pItem
);
32885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32892 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32896 return SWIG_Py_Void();
32899 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32900 return SWIG_Python_InitShadowInstance(args
);
32903 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
= 0;
32905 PyObject
*arg1
= (PyObject
*) NULL
;
32906 wxPyTreeItemData
*result
= 0 ;
32907 PyObject
* obj0
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "obj", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32929 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32930 PyObject
*resultobj
= 0;
32931 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32934 PyObject
*swig_obj
[1] ;
32936 if (!args
) SWIG_fail
;
32937 swig_obj
[0] = args
;
32938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32942 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_Py_Void();
32957 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32958 PyObject
*resultobj
= 0;
32959 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32960 PyObject
*result
= 0 ;
32963 PyObject
*swig_obj
[1] ;
32965 if (!args
) SWIG_fail
;
32966 swig_obj
[0] = args
;
32967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32971 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 result
= (PyObject
*)(arg1
)->GetData();
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= result
;
32985 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
= 0;
32987 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32988 PyObject
*arg2
= (PyObject
*) 0 ;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char * kwnames
[] = {
32994 (char *) "self",(char *) "obj", NULL
32997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33002 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 (arg1
)->SetData(arg2
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33018 PyObject
*resultobj
= 0;
33019 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33020 wxTreeItemId
*result
= 0 ;
33023 PyObject
*swig_obj
[1] ;
33025 if (!args
) SWIG_fail
;
33026 swig_obj
[0] = args
;
33027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33031 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33036 result
= (wxTreeItemId
*) &_result_ref
;
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33048 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
= 0;
33050 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33051 wxTreeItemId
*arg2
= 0 ;
33056 PyObject
* obj0
= 0 ;
33057 PyObject
* obj1
= 0 ;
33058 char * kwnames
[] = {
33059 (char *) "self",(char *) "id", NULL
33062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33067 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33069 if (!SWIG_IsOK(res2
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33075 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_Py_Void();
33089 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33090 PyObject
*resultobj
= 0;
33091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33094 PyObject
*swig_obj
[1] ;
33096 if (!args
) SWIG_fail
;
33097 swig_obj
[0] = args
;
33098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33099 if (!SWIG_IsOK(res1
)) {
33100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33102 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 wxPyTreeItemData_Destroy(arg1
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 resultobj
= SWIG_Py_Void();
33116 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33119 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33120 return SWIG_Py_Void();
33123 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33124 return SWIG_Python_InitShadowInstance(args
);
33127 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33130 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33131 if (!SWIG_IsOK(res
)) {
33132 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33137 wxTreeItemId
* temp
;
33138 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33139 wxNullTreeItemId
= *temp
;
33140 if (SWIG_IsNewObj(res
)) delete temp
;
33149 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33150 PyObject
*pyobj
= 0;
33152 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33157 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33158 PyObject
*resultobj
= 0;
33159 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33160 int arg2
= (int) 0 ;
33161 wxTreeEvent
*result
= 0 ;
33167 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33169 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33170 if (!SWIG_IsOK(ecode1
)) {
33171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33173 arg1
= static_cast< wxEventType
>(val1
);
33176 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33177 if (!SWIG_IsOK(ecode2
)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33180 arg2
= static_cast< int >(val2
);
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33195 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33196 PyObject
*resultobj
= 0;
33198 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33199 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33200 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33201 wxTreeEvent
*result
= 0 ;
33209 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33210 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33211 if (!SWIG_IsOK(ecode1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33214 arg1
= static_cast< wxEventType
>(val1
);
33215 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33216 if (!SWIG_IsOK(res2
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33219 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33221 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33222 if (!SWIG_IsOK(res3
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33228 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33243 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33247 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33249 if ((argc
>= 0) && (argc
<= 2)) {
33254 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33255 _v
= SWIG_CheckState(res
);
33258 if (!_v
) goto check_1
;
33260 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33264 if ((argc
>= 2) && (argc
<= 3)) {
33265 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33269 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33274 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33275 PyObject
*resultobj
= 0;
33276 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33277 wxTreeItemId result
;
33280 PyObject
*swig_obj
[1] ;
33282 if (!args
) SWIG_fail
;
33283 swig_obj
[0] = args
;
33284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33288 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33292 wxPyEndAllowThreads(__tstate
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33295 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33302 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33303 PyObject
*resultobj
= 0;
33304 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33305 wxTreeItemId
*arg2
= 0 ;
33310 PyObject
* obj0
= 0 ;
33311 PyObject
* obj1
= 0 ;
33312 char * kwnames
[] = {
33313 (char *) "self",(char *) "item", NULL
33316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33318 if (!SWIG_IsOK(res1
)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33321 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33323 if (!SWIG_IsOK(res2
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33329 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_Py_Void();
33343 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33344 PyObject
*resultobj
= 0;
33345 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33346 wxTreeItemId result
;
33349 PyObject
*swig_obj
[1] ;
33351 if (!args
) SWIG_fail
;
33352 swig_obj
[0] = args
;
33353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33357 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33371 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33372 PyObject
*resultobj
= 0;
33373 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33374 wxTreeItemId
*arg2
= 0 ;
33379 PyObject
* obj0
= 0 ;
33380 PyObject
* obj1
= 0 ;
33381 char * kwnames
[] = {
33382 (char *) "self",(char *) "item", NULL
33385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33387 if (!SWIG_IsOK(res1
)) {
33388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33390 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33392 if (!SWIG_IsOK(res2
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= SWIG_Py_Void();
33412 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33413 PyObject
*resultobj
= 0;
33414 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33418 PyObject
*swig_obj
[1] ;
33420 if (!args
) SWIG_fail
;
33421 swig_obj
[0] = args
;
33422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33423 if (!SWIG_IsOK(res1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33426 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33440 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
= 0;
33442 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33443 wxPoint
*arg2
= 0 ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 char * kwnames
[] = {
33450 (char *) "self",(char *) "pt", NULL
33453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33455 if (!SWIG_IsOK(res1
)) {
33456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33458 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_Py_Void();
33476 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33477 PyObject
*resultobj
= 0;
33478 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33479 wxKeyEvent
*result
= 0 ;
33482 PyObject
*swig_obj
[1] ;
33484 if (!args
) SWIG_fail
;
33485 swig_obj
[0] = args
;
33486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33487 if (!SWIG_IsOK(res1
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33490 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33495 result
= (wxKeyEvent
*) &_result_ref
;
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33507 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 PyObject
*resultobj
= 0;
33509 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33513 PyObject
*swig_obj
[1] ;
33515 if (!args
) SWIG_fail
;
33516 swig_obj
[0] = args
;
33517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33521 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_From_int(static_cast< int >(result
));
33535 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
= 0;
33537 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33538 wxKeyEvent
*arg2
= 0 ;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 char * kwnames
[] = {
33546 (char *) "self",(char *) "evt", NULL
33549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33551 if (!SWIG_IsOK(res1
)) {
33552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33554 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33556 if (!SWIG_IsOK(res2
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33562 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= SWIG_Py_Void();
33576 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33577 PyObject
*resultobj
= 0;
33578 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33579 wxString
*result
= 0 ;
33582 PyObject
*swig_obj
[1] ;
33584 if (!args
) SWIG_fail
;
33585 swig_obj
[0] = args
;
33586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33587 if (!SWIG_IsOK(res1
)) {
33588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33590 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33595 result
= (wxString
*) &_result_ref
;
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33602 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33604 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33613 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33616 wxString
*arg2
= 0 ;
33619 bool temp2
= false ;
33620 PyObject
* obj0
= 0 ;
33621 PyObject
* obj1
= 0 ;
33622 char * kwnames
[] = {
33623 (char *) "self",(char *) "label", NULL
33626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33628 if (!SWIG_IsOK(res1
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33631 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33633 arg2
= wxString_in_helper(obj1
);
33634 if (arg2
== NULL
) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 (arg1
)->SetLabel((wxString
const &)*arg2
);
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33643 resultobj
= SWIG_Py_Void();
33658 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33659 PyObject
*resultobj
= 0;
33660 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33664 PyObject
*swig_obj
[1] ;
33666 if (!args
) SWIG_fail
;
33667 swig_obj
[0] = args
;
33668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33672 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33676 wxPyEndAllowThreads(__tstate
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33688 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33689 PyObject
*resultobj
= 0;
33690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 char * kwnames
[] = {
33699 (char *) "self",(char *) "editCancelled", NULL
33702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33704 if (!SWIG_IsOK(res1
)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33707 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33709 if (!SWIG_IsOK(ecode2
)) {
33710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33712 arg2
= static_cast< bool >(val2
);
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 (arg1
)->SetEditCanceled(arg2
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= SWIG_Py_Void();
33726 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
= 0;
33728 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33729 wxString
*arg2
= 0 ;
33732 bool temp2
= false ;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 char * kwnames
[] = {
33736 (char *) "self",(char *) "toolTip", NULL
33739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33744 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33746 arg2
= wxString_in_helper(obj1
);
33747 if (arg2
== NULL
) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= SWIG_Py_Void();
33771 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33772 PyObject
*resultobj
= 0;
33773 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33777 PyObject
*swig_obj
[1] ;
33779 if (!args
) SWIG_fail
;
33780 swig_obj
[0] = args
;
33781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33785 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 result
= (arg1
)->GetToolTip();
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33805 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33808 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33809 return SWIG_Py_Void();
33812 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33813 return SWIG_Python_InitShadowInstance(args
);
33816 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
= 0;
33818 wxWindow
*arg1
= (wxWindow
*) 0 ;
33819 int arg2
= (int) -1 ;
33820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33824 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33825 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33826 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33827 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33829 wxPyTreeCtrl
*result
= 0 ;
33840 bool temp7
= false ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 PyObject
* obj2
= 0 ;
33844 PyObject
* obj3
= 0 ;
33845 PyObject
* obj4
= 0 ;
33846 PyObject
* obj5
= 0 ;
33847 PyObject
* obj6
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33860 if (!SWIG_IsOK(ecode2
)) {
33861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33863 arg2
= static_cast< int >(val2
);
33868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33878 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33879 if (!SWIG_IsOK(ecode5
)) {
33880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33882 arg5
= static_cast< long >(val5
);
33885 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33886 if (!SWIG_IsOK(res6
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33892 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33896 arg7
= wxString_in_helper(obj6
);
33897 if (arg7
== NULL
) SWIG_fail
;
33902 if (!wxPyCheckForApp()) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33905 wxPyEndAllowThreads(__tstate
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33923 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33924 PyObject
*resultobj
= 0;
33925 wxPyTreeCtrl
*result
= 0 ;
33927 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33929 if (!wxPyCheckForApp()) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33942 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
= 0;
33944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33945 wxWindow
*arg2
= (wxWindow
*) 0 ;
33946 int arg3
= (int) -1 ;
33947 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33948 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33949 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33950 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33951 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33952 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33953 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33954 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33969 bool temp8
= false ;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 PyObject
* obj2
= 0 ;
33973 PyObject
* obj3
= 0 ;
33974 PyObject
* obj4
= 0 ;
33975 PyObject
* obj5
= 0 ;
33976 PyObject
* obj6
= 0 ;
33977 PyObject
* obj7
= 0 ;
33978 char * kwnames
[] = {
33979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33984 if (!SWIG_IsOK(res1
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33989 if (!SWIG_IsOK(res2
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33995 if (!SWIG_IsOK(ecode3
)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33998 arg3
= static_cast< int >(val3
);
34003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34013 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34014 if (!SWIG_IsOK(ecode6
)) {
34015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34017 arg6
= static_cast< long >(val6
);
34020 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34021 if (!SWIG_IsOK(res7
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34027 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34031 arg8
= wxString_in_helper(obj7
);
34032 if (arg8
== NULL
) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34059 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
= 0;
34061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34062 PyObject
*arg2
= (PyObject
*) 0 ;
34063 PyObject
*arg3
= (PyObject
*) 0 ;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34068 PyObject
* obj2
= 0 ;
34069 char * kwnames
[] = {
34070 (char *) "self",(char *) "self",(char *) "_class", NULL
34073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34075 if (!SWIG_IsOK(res1
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= SWIG_Py_Void();
34094 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34095 PyObject
*resultobj
= 0;
34096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34097 unsigned int result
;
34100 PyObject
*swig_obj
[1] ;
34102 if (!args
) SWIG_fail
;
34103 swig_obj
[0] = args
;
34104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34122 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34123 PyObject
*resultobj
= 0;
34124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34125 unsigned int result
;
34128 PyObject
*swig_obj
[1] ;
34130 if (!args
) SWIG_fail
;
34131 swig_obj
[0] = args
;
34132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34150 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
= 0;
34152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34153 unsigned int arg2
;
34156 unsigned int val2
;
34158 PyObject
* obj0
= 0 ;
34159 PyObject
* obj1
= 0 ;
34160 char * kwnames
[] = {
34161 (char *) "self",(char *) "indent", NULL
34164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34166 if (!SWIG_IsOK(res1
)) {
34167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34169 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34170 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34171 if (!SWIG_IsOK(ecode2
)) {
34172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34174 arg2
= static_cast< unsigned int >(val2
);
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 (arg1
)->SetIndent(arg2
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= SWIG_Py_Void();
34188 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34189 PyObject
*resultobj
= 0;
34190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34191 unsigned int result
;
34194 PyObject
*swig_obj
[1] ;
34196 if (!args
) SWIG_fail
;
34197 swig_obj
[0] = args
;
34198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34199 if (!SWIG_IsOK(res1
)) {
34200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34205 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34216 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
= 0;
34218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34219 unsigned int arg2
;
34222 unsigned int val2
;
34224 PyObject
* obj0
= 0 ;
34225 PyObject
* obj1
= 0 ;
34226 char * kwnames
[] = {
34227 (char *) "self",(char *) "spacing", NULL
34230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34232 if (!SWIG_IsOK(res1
)) {
34233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34235 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34236 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34237 if (!SWIG_IsOK(ecode2
)) {
34238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34240 arg2
= static_cast< unsigned int >(val2
);
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 (arg1
)->SetSpacing(arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_Py_Void();
34254 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34257 wxImageList
*result
= 0 ;
34260 PyObject
*swig_obj
[1] ;
34262 if (!args
) SWIG_fail
;
34263 swig_obj
[0] = args
;
34264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34268 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34272 wxPyEndAllowThreads(__tstate
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34284 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34285 PyObject
*resultobj
= 0;
34286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34287 wxImageList
*result
= 0 ;
34290 PyObject
*swig_obj
[1] ;
34292 if (!args
) SWIG_fail
;
34293 swig_obj
[0] = args
;
34294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34314 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
= 0;
34316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34317 wxImageList
*arg2
= (wxImageList
*) 0 ;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 char * kwnames
[] = {
34325 (char *) "self",(char *) "imageList", NULL
34328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34330 if (!SWIG_IsOK(res1
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34335 if (!SWIG_IsOK(res2
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34338 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetImageList(arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_Py_Void();
34352 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34355 wxImageList
*arg2
= (wxImageList
*) 0 ;
34360 PyObject
* obj0
= 0 ;
34361 PyObject
* obj1
= 0 ;
34362 char * kwnames
[] = {
34363 (char *) "self",(char *) "imageList", NULL
34366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34368 if (!SWIG_IsOK(res1
)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34373 if (!SWIG_IsOK(res2
)) {
34374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34376 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 (arg1
)->SetStateImageList(arg2
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_Py_Void();
34390 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
= 0;
34392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34393 wxImageList
*arg2
= (wxImageList
*) 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char * kwnames
[] = {
34400 (char *) "self",(char *) "imageList", NULL
34403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34405 if (!SWIG_IsOK(res1
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34409 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34410 if (!SWIG_IsOK(res2
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 (arg1
)->AssignImageList(arg2
);
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= SWIG_Py_Void();
34426 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34427 PyObject
*resultobj
= 0;
34428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34429 wxImageList
*arg2
= (wxImageList
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 char * kwnames
[] = {
34436 (char *) "self",(char *) "imageList", NULL
34439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34441 if (!SWIG_IsOK(res1
)) {
34442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34444 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34445 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34446 if (!SWIG_IsOK(res2
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 (arg1
)->AssignStateImageList(arg2
);
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_Py_Void();
34462 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
= 0;
34464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34465 wxTreeItemId
*arg2
= 0 ;
34471 PyObject
* obj0
= 0 ;
34472 PyObject
* obj1
= 0 ;
34473 char * kwnames
[] = {
34474 (char *) "self",(char *) "item", NULL
34477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34479 if (!SWIG_IsOK(res1
)) {
34480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34484 if (!SWIG_IsOK(res2
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34490 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34510 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34513 wxTreeItemId
*arg2
= 0 ;
34514 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34522 PyObject
* obj0
= 0 ;
34523 PyObject
* obj1
= 0 ;
34524 PyObject
* obj2
= 0 ;
34525 char * kwnames
[] = {
34526 (char *) "self",(char *) "item",(char *) "which", NULL
34529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34531 if (!SWIG_IsOK(res1
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34534 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34536 if (!SWIG_IsOK(res2
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34542 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34545 if (!SWIG_IsOK(ecode3
)) {
34546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34548 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34552 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34553 wxPyEndAllowThreads(__tstate
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= SWIG_From_int(static_cast< int >(result
));
34563 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
= 0;
34565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34566 wxTreeItemId
*arg2
= 0 ;
34567 wxPyTreeItemData
*result
= 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 char * kwnames
[] = {
34575 (char *) "self",(char *) "item", NULL
34578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",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_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34585 if (!SWIG_IsOK(res2
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34591 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34605 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= 0;
34607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34608 wxTreeItemId
*arg2
= 0 ;
34609 PyObject
*result
= 0 ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "item", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34627 if (!SWIG_IsOK(res2
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= result
;
34647 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
= 0;
34649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34650 wxTreeItemId
*arg2
= 0 ;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char * kwnames
[] = {
34659 (char *) "self",(char *) "item", NULL
34662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34667 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34669 if (!SWIG_IsOK(res2
)) {
34670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34675 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34682 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34689 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
= 0;
34691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34692 wxTreeItemId
*arg2
= 0 ;
34698 PyObject
* obj0
= 0 ;
34699 PyObject
* obj1
= 0 ;
34700 char * kwnames
[] = {
34701 (char *) "self",(char *) "item", NULL
34704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34706 if (!SWIG_IsOK(res1
)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34711 if (!SWIG_IsOK(res2
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34717 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34731 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34734 wxTreeItemId
*arg2
= 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 char * kwnames
[] = {
34743 (char *) "self",(char *) "item", NULL
34746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34748 if (!SWIG_IsOK(res1
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34753 if (!SWIG_IsOK(res2
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34773 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34776 wxTreeItemId
*arg2
= 0 ;
34777 wxString
*arg3
= 0 ;
34782 bool temp3
= false ;
34783 PyObject
* obj0
= 0 ;
34784 PyObject
* obj1
= 0 ;
34785 PyObject
* obj2
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "item",(char *) "text", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemText" "', 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_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34805 arg3
= wxString_in_helper(obj2
);
34806 if (arg3
== NULL
) SWIG_fail
;
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= SWIG_Py_Void();
34830 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34833 wxTreeItemId
*arg2
= 0 ;
34835 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34844 PyObject
* obj0
= 0 ;
34845 PyObject
* obj1
= 0 ;
34846 PyObject
* obj2
= 0 ;
34847 PyObject
* obj3
= 0 ;
34848 char * kwnames
[] = {
34849 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34854 if (!SWIG_IsOK(res1
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34857 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34859 if (!SWIG_IsOK(res2
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34865 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34867 if (!SWIG_IsOK(ecode3
)) {
34868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34870 arg3
= static_cast< int >(val3
);
34872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34873 if (!SWIG_IsOK(ecode4
)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34876 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_Py_Void();
34891 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34894 wxTreeItemId
*arg2
= 0 ;
34895 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34901 PyObject
* obj0
= 0 ;
34902 PyObject
* obj1
= 0 ;
34903 PyObject
* obj2
= 0 ;
34904 char * kwnames
[] = {
34905 (char *) "self",(char *) "item",(char *) "data", NULL
34908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34910 if (!SWIG_IsOK(res1
)) {
34911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34913 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34915 if (!SWIG_IsOK(res2
)) {
34916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34921 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34922 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34923 if (!SWIG_IsOK(res3
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_Py_Void();
34939 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
= 0;
34941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34942 wxTreeItemId
*arg2
= 0 ;
34943 PyObject
*arg3
= (PyObject
*) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 PyObject
* obj2
= 0 ;
34951 char * kwnames
[] = {
34952 (char *) "self",(char *) "item",(char *) "obj", NULL
34955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34957 if (!SWIG_IsOK(res1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34962 if (!SWIG_IsOK(res2
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34972 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= SWIG_Py_Void();
34983 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
= 0;
34985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34986 wxTreeItemId
*arg2
= 0 ;
34987 bool arg3
= (bool) true ;
34994 PyObject
* obj0
= 0 ;
34995 PyObject
* obj1
= 0 ;
34996 PyObject
* obj2
= 0 ;
34997 char * kwnames
[] = {
34998 (char *) "self",(char *) "item",(char *) "has", NULL
35001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35003 if (!SWIG_IsOK(res1
)) {
35004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35008 if (!SWIG_IsOK(res2
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35016 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35017 if (!SWIG_IsOK(ecode3
)) {
35018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35020 arg3
= static_cast< bool >(val3
);
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35028 resultobj
= SWIG_Py_Void();
35035 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
= 0;
35037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35038 wxTreeItemId
*arg2
= 0 ;
35039 bool arg3
= (bool) true ;
35046 PyObject
* obj0
= 0 ;
35047 PyObject
* obj1
= 0 ;
35048 PyObject
* obj2
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "item",(char *) "bold", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35060 if (!SWIG_IsOK(res2
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35066 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35068 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35069 if (!SWIG_IsOK(ecode3
)) {
35070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35072 arg3
= static_cast< bool >(val3
);
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= SWIG_Py_Void();
35087 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35090 wxTreeItemId
*arg2
= 0 ;
35091 bool arg3
= (bool) true ;
35098 PyObject
* obj0
= 0 ;
35099 PyObject
* obj1
= 0 ;
35100 PyObject
* obj2
= 0 ;
35101 char * kwnames
[] = {
35102 (char *) "self",(char *) "item",(char *) "highlight", NULL
35105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35107 if (!SWIG_IsOK(res1
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35112 if (!SWIG_IsOK(res2
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35118 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35120 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35121 if (!SWIG_IsOK(ecode3
)) {
35122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35124 arg3
= static_cast< bool >(val3
);
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_Py_Void();
35139 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
= 0;
35141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35142 wxTreeItemId
*arg2
= 0 ;
35143 wxColour
*arg3
= 0 ;
35149 PyObject
* obj0
= 0 ;
35150 PyObject
* obj1
= 0 ;
35151 PyObject
* obj2
= 0 ;
35152 char * kwnames
[] = {
35153 (char *) "self",(char *) "item",(char *) "col", NULL
35156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35158 if (!SWIG_IsOK(res1
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35161 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35163 if (!SWIG_IsOK(res2
)) {
35164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35169 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35172 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35176 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= SWIG_Py_Void();
35187 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
= 0;
35189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35190 wxTreeItemId
*arg2
= 0 ;
35191 wxColour
*arg3
= 0 ;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 PyObject
* obj2
= 0 ;
35200 char * kwnames
[] = {
35201 (char *) "self",(char *) "item",(char *) "col", NULL
35204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35211 if (!SWIG_IsOK(res2
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35217 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35220 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 resultobj
= SWIG_Py_Void();
35235 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
= 0;
35237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35238 wxTreeItemId
*arg2
= 0 ;
35246 PyObject
* obj0
= 0 ;
35247 PyObject
* obj1
= 0 ;
35248 PyObject
* obj2
= 0 ;
35249 char * kwnames
[] = {
35250 (char *) "self",(char *) "item",(char *) "font", NULL
35253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35255 if (!SWIG_IsOK(res1
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35258 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35260 if (!SWIG_IsOK(res2
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35266 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35267 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35268 if (!SWIG_IsOK(res3
)) {
35269 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35274 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35281 resultobj
= SWIG_Py_Void();
35288 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
= 0;
35290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35291 wxTreeItemId
*arg2
= 0 ;
35297 PyObject
* obj0
= 0 ;
35298 PyObject
* obj1
= 0 ;
35299 char * kwnames
[] = {
35300 (char *) "self",(char *) "item", NULL
35303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35305 if (!SWIG_IsOK(res1
)) {
35306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35308 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35310 if (!SWIG_IsOK(res2
)) {
35311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35316 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35319 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35332 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35333 PyObject
*resultobj
= 0;
35334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35335 wxTreeItemId
*arg2
= 0 ;
35341 PyObject
* obj0
= 0 ;
35342 PyObject
* obj1
= 0 ;
35343 char * kwnames
[] = {
35344 (char *) "self",(char *) "item", NULL
35347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35349 if (!SWIG_IsOK(res1
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35354 if (!SWIG_IsOK(res2
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35360 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35363 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35364 wxPyEndAllowThreads(__tstate
);
35365 if (PyErr_Occurred()) SWIG_fail
;
35368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35376 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
= 0;
35378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35379 wxTreeItemId
*arg2
= 0 ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 char * kwnames
[] = {
35388 (char *) "self",(char *) "item", NULL
35391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35396 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35398 if (!SWIG_IsOK(res2
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35404 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35420 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
= 0;
35422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35423 wxTreeItemId
*arg2
= 0 ;
35429 PyObject
* obj0
= 0 ;
35430 PyObject
* obj1
= 0 ;
35431 char * kwnames
[] = {
35432 (char *) "self",(char *) "item", NULL
35435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35437 if (!SWIG_IsOK(res1
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35440 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35442 if (!SWIG_IsOK(res2
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35448 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35451 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35464 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35465 PyObject
*resultobj
= 0;
35466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35467 wxTreeItemId
*arg2
= 0 ;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 char * kwnames
[] = {
35476 (char *) "self",(char *) "item", NULL
35479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35481 if (!SWIG_IsOK(res1
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35484 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35486 if (!SWIG_IsOK(res2
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35492 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35508 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35509 PyObject
*resultobj
= 0;
35510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35514 PyObject
*swig_obj
[1] ;
35516 if (!args
) SWIG_fail
;
35517 swig_obj
[0] = args
;
35518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35519 if (!SWIG_IsOK(res1
)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35522 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35538 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
= 0;
35540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35541 wxTreeItemId
*arg2
= 0 ;
35542 bool arg3
= (bool) true ;
35550 PyObject
* obj0
= 0 ;
35551 PyObject
* obj1
= 0 ;
35552 PyObject
* obj2
= 0 ;
35553 char * kwnames
[] = {
35554 (char *) "self",(char *) "item",(char *) "recursively", NULL
35557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35559 if (!SWIG_IsOK(res1
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35564 if (!SWIG_IsOK(res2
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35572 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35573 if (!SWIG_IsOK(ecode3
)) {
35574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35576 arg3
= static_cast< bool >(val3
);
35579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35580 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35591 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35592 PyObject
*resultobj
= 0;
35593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35594 wxTreeItemId result
;
35597 PyObject
*swig_obj
[1] ;
35599 if (!args
) SWIG_fail
;
35600 swig_obj
[0] = args
;
35601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35602 if (!SWIG_IsOK(res1
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35619 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35620 PyObject
*resultobj
= 0;
35621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35622 wxTreeItemId result
;
35625 PyObject
*swig_obj
[1] ;
35627 if (!args
) SWIG_fail
;
35628 swig_obj
[0] = args
;
35629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35647 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35648 PyObject
*resultobj
= 0;
35649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35650 PyObject
*result
= 0 ;
35653 PyObject
*swig_obj
[1] ;
35655 if (!args
) SWIG_fail
;
35656 swig_obj
[0] = args
;
35657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= result
;
35675 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35678 wxTreeItemId
*arg2
= 0 ;
35679 wxTreeItemId result
;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char * kwnames
[] = {
35687 (char *) "self",(char *) "item", NULL
35690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35692 if (!SWIG_IsOK(res1
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35695 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35697 if (!SWIG_IsOK(res2
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35703 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
= 0;
35719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35720 wxTreeItemId
*arg2
= 0 ;
35721 PyObject
*result
= 0 ;
35726 PyObject
* obj0
= 0 ;
35727 PyObject
* obj1
= 0 ;
35728 char * kwnames
[] = {
35729 (char *) "self",(char *) "item", NULL
35732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35734 if (!SWIG_IsOK(res1
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35739 if (!SWIG_IsOK(res2
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35749 wxPyEndAllowThreads(__tstate
);
35750 if (PyErr_Occurred()) SWIG_fail
;
35752 resultobj
= result
;
35759 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
= 0;
35761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35762 wxTreeItemId
*arg2
= 0 ;
35763 void *arg3
= (void *) 0 ;
35764 PyObject
*result
= 0 ;
35770 PyObject
* obj0
= 0 ;
35771 PyObject
* obj1
= 0 ;
35772 PyObject
* obj2
= 0 ;
35773 char * kwnames
[] = {
35774 (char *) "self",(char *) "item",(char *) "cookie", NULL
35777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35779 if (!SWIG_IsOK(res1
)) {
35780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35782 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35784 if (!SWIG_IsOK(res2
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35791 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35792 if (!SWIG_IsOK(res3
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= result
;
35808 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
= 0;
35810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35811 wxTreeItemId
*arg2
= 0 ;
35812 wxTreeItemId result
;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 char * kwnames
[] = {
35820 (char *) "self",(char *) "item", NULL
35823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35825 if (!SWIG_IsOK(res1
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35830 if (!SWIG_IsOK(res2
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35850 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35853 wxTreeItemId
*arg2
= 0 ;
35854 wxTreeItemId result
;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char * kwnames
[] = {
35862 (char *) "self",(char *) "item", NULL
35865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35867 if (!SWIG_IsOK(res1
)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35872 if (!SWIG_IsOK(res2
)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35892 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35893 PyObject
*resultobj
= 0;
35894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35895 wxTreeItemId
*arg2
= 0 ;
35896 wxTreeItemId result
;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "item", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35914 if (!SWIG_IsOK(res2
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35934 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35935 PyObject
*resultobj
= 0;
35936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35937 wxTreeItemId result
;
35940 PyObject
*swig_obj
[1] ;
35942 if (!args
) SWIG_fail
;
35943 swig_obj
[0] = args
;
35944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35945 if (!SWIG_IsOK(res1
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35948 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35962 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
= 0;
35964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35965 wxTreeItemId
*arg2
= 0 ;
35966 wxTreeItemId result
;
35971 PyObject
* obj0
= 0 ;
35972 PyObject
* obj1
= 0 ;
35973 char * kwnames
[] = {
35974 (char *) "self",(char *) "item", NULL
35977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35979 if (!SWIG_IsOK(res1
)) {
35980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35984 if (!SWIG_IsOK(res2
)) {
35985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
= 0;
36006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36007 wxTreeItemId
*arg2
= 0 ;
36008 wxTreeItemId result
;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 char * kwnames
[] = {
36016 (char *) "self",(char *) "item", NULL
36019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36021 if (!SWIG_IsOK(res1
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36026 if (!SWIG_IsOK(res2
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
= 0;
36048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36049 wxString
*arg2
= 0 ;
36050 int arg3
= (int) -1 ;
36051 int arg4
= (int) -1 ;
36052 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36053 wxTreeItemId result
;
36056 bool temp2
= false ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 PyObject
* obj2
= 0 ;
36065 PyObject
* obj3
= 0 ;
36066 PyObject
* obj4
= 0 ;
36067 char * kwnames
[] = {
36068 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36073 if (!SWIG_IsOK(res1
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36076 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36078 arg2
= wxString_in_helper(obj1
);
36079 if (arg2
== NULL
) SWIG_fail
;
36083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36084 if (!SWIG_IsOK(ecode3
)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36087 arg3
= static_cast< int >(val3
);
36090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36091 if (!SWIG_IsOK(ecode4
)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36094 arg4
= static_cast< int >(val4
);
36097 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36098 if (!SWIG_IsOK(res5
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36123 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36126 wxTreeItemId
*arg2
= 0 ;
36127 wxString
*arg3
= 0 ;
36128 int arg4
= (int) -1 ;
36129 int arg5
= (int) -1 ;
36130 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36131 wxTreeItemId result
;
36136 bool temp3
= false ;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36144 PyObject
* obj2
= 0 ;
36145 PyObject
* obj3
= 0 ;
36146 PyObject
* obj4
= 0 ;
36147 PyObject
* obj5
= 0 ;
36148 char * kwnames
[] = {
36149 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36154 if (!SWIG_IsOK(res1
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36157 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36159 if (!SWIG_IsOK(res2
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36165 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36167 arg3
= wxString_in_helper(obj2
);
36168 if (arg3
== NULL
) SWIG_fail
;
36172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36173 if (!SWIG_IsOK(ecode4
)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36176 arg4
= static_cast< int >(val4
);
36179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36180 if (!SWIG_IsOK(ecode5
)) {
36181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36183 arg5
= static_cast< int >(val5
);
36186 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36187 if (!SWIG_IsOK(res6
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36212 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36213 PyObject
*resultobj
= 0;
36214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36215 wxTreeItemId
*arg2
= 0 ;
36216 wxTreeItemId
*arg3
= 0 ;
36217 wxString
*arg4
= 0 ;
36218 int arg5
= (int) -1 ;
36219 int arg6
= (int) -1 ;
36220 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36221 wxTreeItemId result
;
36228 bool temp4
= false ;
36234 PyObject
* obj0
= 0 ;
36235 PyObject
* obj1
= 0 ;
36236 PyObject
* obj2
= 0 ;
36237 PyObject
* obj3
= 0 ;
36238 PyObject
* obj4
= 0 ;
36239 PyObject
* obj5
= 0 ;
36240 PyObject
* obj6
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36252 if (!SWIG_IsOK(res2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36258 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36260 if (!SWIG_IsOK(res3
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36266 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36268 arg4
= wxString_in_helper(obj3
);
36269 if (arg4
== NULL
) SWIG_fail
;
36273 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36274 if (!SWIG_IsOK(ecode5
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36277 arg5
= static_cast< int >(val5
);
36280 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36281 if (!SWIG_IsOK(ecode6
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36284 arg6
= static_cast< int >(val6
);
36287 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36288 if (!SWIG_IsOK(res7
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36318 wxString
*arg4
= 0 ;
36319 int arg5
= (int) -1 ;
36320 int arg6
= (int) -1 ;
36321 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36322 wxTreeItemId result
;
36329 bool temp4
= false ;
36335 PyObject
* obj0
= 0 ;
36336 PyObject
* obj1
= 0 ;
36337 PyObject
* obj2
= 0 ;
36338 PyObject
* obj3
= 0 ;
36339 PyObject
* obj4
= 0 ;
36340 PyObject
* obj5
= 0 ;
36341 PyObject
* obj6
= 0 ;
36342 char * kwnames
[] = {
36343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36353 if (!SWIG_IsOK(res2
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36359 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36360 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36361 if (!SWIG_IsOK(ecode3
)) {
36362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36364 arg3
= static_cast< size_t >(val3
);
36366 arg4
= wxString_in_helper(obj3
);
36367 if (arg4
== NULL
) SWIG_fail
;
36371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36372 if (!SWIG_IsOK(ecode5
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36375 arg5
= static_cast< int >(val5
);
36378 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36379 if (!SWIG_IsOK(ecode6
)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36382 arg6
= static_cast< int >(val6
);
36385 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36386 if (!SWIG_IsOK(res7
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36411 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36412 PyObject
*resultobj
= 0;
36413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36414 wxTreeItemId
*arg2
= 0 ;
36415 wxString
*arg3
= 0 ;
36416 int arg4
= (int) -1 ;
36417 int arg5
= (int) -1 ;
36418 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36419 wxTreeItemId result
;
36424 bool temp3
= false ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 PyObject
* obj2
= 0 ;
36433 PyObject
* obj3
= 0 ;
36434 PyObject
* obj4
= 0 ;
36435 PyObject
* obj5
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36442 if (!SWIG_IsOK(res1
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36445 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36447 if (!SWIG_IsOK(res2
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36453 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36455 arg3
= wxString_in_helper(obj2
);
36456 if (arg3
== NULL
) SWIG_fail
;
36460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36461 if (!SWIG_IsOK(ecode4
)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36464 arg4
= static_cast< int >(val4
);
36467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36468 if (!SWIG_IsOK(ecode5
)) {
36469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36471 arg5
= static_cast< int >(val5
);
36474 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36475 if (!SWIG_IsOK(res6
)) {
36476 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36482 wxPyEndAllowThreads(__tstate
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36485 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36500 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
= 0;
36502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36503 wxTreeItemId
*arg2
= 0 ;
36508 PyObject
* obj0
= 0 ;
36509 PyObject
* obj1
= 0 ;
36510 char * kwnames
[] = {
36511 (char *) "self",(char *) "item", NULL
36514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36516 if (!SWIG_IsOK(res1
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36521 if (!SWIG_IsOK(res2
)) {
36522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36527 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36530 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36531 wxPyEndAllowThreads(__tstate
);
36532 if (PyErr_Occurred()) SWIG_fail
;
36534 resultobj
= SWIG_Py_Void();
36541 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
= 0;
36543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36544 wxTreeItemId
*arg2
= 0 ;
36549 PyObject
* obj0
= 0 ;
36550 PyObject
* obj1
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "self",(char *) "item", NULL
36555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36562 if (!SWIG_IsOK(res2
)) {
36563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36568 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36571 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36572 wxPyEndAllowThreads(__tstate
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36575 resultobj
= SWIG_Py_Void();
36582 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36583 PyObject
*resultobj
= 0;
36584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36587 PyObject
*swig_obj
[1] ;
36589 if (!args
) SWIG_fail
;
36590 swig_obj
[0] = args
;
36591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 (arg1
)->DeleteAllItems();
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= SWIG_Py_Void();
36609 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
= 0;
36611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36612 wxTreeItemId
*arg2
= 0 ;
36617 PyObject
* obj0
= 0 ;
36618 PyObject
* obj1
= 0 ;
36619 char * kwnames
[] = {
36620 (char *) "self",(char *) "item", NULL
36623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36625 if (!SWIG_IsOK(res1
)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36628 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36630 if (!SWIG_IsOK(res2
)) {
36631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36636 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 resultobj
= SWIG_Py_Void();
36650 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
= 0;
36652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36653 wxTreeItemId
*arg2
= 0 ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 char * kwnames
[] = {
36661 (char *) "self",(char *) "item", NULL
36664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36666 if (!SWIG_IsOK(res1
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36671 if (!SWIG_IsOK(res2
)) {
36672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36684 resultobj
= SWIG_Py_Void();
36691 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36692 PyObject
*resultobj
= 0;
36693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36696 PyObject
*swig_obj
[1] ;
36698 if (!args
) SWIG_fail
;
36699 swig_obj
[0] = args
;
36700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36701 if (!SWIG_IsOK(res1
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36704 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->ExpandAll();
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_Py_Void();
36718 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
= 0;
36720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36721 wxTreeItemId
*arg2
= 0 ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 char * kwnames
[] = {
36729 (char *) "self",(char *) "item", NULL
36732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36734 if (!SWIG_IsOK(res1
)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36739 if (!SWIG_IsOK(res2
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36749 wxPyEndAllowThreads(__tstate
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36752 resultobj
= SWIG_Py_Void();
36759 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36760 PyObject
*resultobj
= 0;
36761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36762 wxTreeItemId
*arg2
= 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char * kwnames
[] = {
36770 (char *) "self",(char *) "item", NULL
36773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36775 if (!SWIG_IsOK(res1
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36778 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36780 if (!SWIG_IsOK(res2
)) {
36781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36786 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36789 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 resultobj
= SWIG_Py_Void();
36800 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36801 PyObject
*resultobj
= 0;
36802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36805 PyObject
*swig_obj
[1] ;
36807 if (!args
) SWIG_fail
;
36808 swig_obj
[0] = args
;
36809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36810 if (!SWIG_IsOK(res1
)) {
36811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36816 (arg1
)->CollapseAll();
36817 wxPyEndAllowThreads(__tstate
);
36818 if (PyErr_Occurred()) SWIG_fail
;
36820 resultobj
= SWIG_Py_Void();
36827 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36828 PyObject
*resultobj
= 0;
36829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36830 wxTreeItemId
*arg2
= 0 ;
36835 PyObject
* obj0
= 0 ;
36836 PyObject
* obj1
= 0 ;
36837 char * kwnames
[] = {
36838 (char *) "self",(char *) "item", NULL
36841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36843 if (!SWIG_IsOK(res1
)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36848 if (!SWIG_IsOK(res2
)) {
36849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36854 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36857 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36858 wxPyEndAllowThreads(__tstate
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36861 resultobj
= SWIG_Py_Void();
36868 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36869 PyObject
*resultobj
= 0;
36870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36871 wxTreeItemId
*arg2
= 0 ;
36876 PyObject
* obj0
= 0 ;
36877 PyObject
* obj1
= 0 ;
36878 char * kwnames
[] = {
36879 (char *) "self",(char *) "item", NULL
36882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36884 if (!SWIG_IsOK(res1
)) {
36885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36887 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36889 if (!SWIG_IsOK(res2
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36895 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 resultobj
= SWIG_Py_Void();
36909 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36910 PyObject
*resultobj
= 0;
36911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36914 PyObject
*swig_obj
[1] ;
36916 if (!args
) SWIG_fail
;
36917 swig_obj
[0] = args
;
36918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36919 if (!SWIG_IsOK(res1
)) {
36920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 (arg1
)->Unselect();
36926 wxPyEndAllowThreads(__tstate
);
36927 if (PyErr_Occurred()) SWIG_fail
;
36929 resultobj
= SWIG_Py_Void();
36936 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36937 PyObject
*resultobj
= 0;
36938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36939 wxTreeItemId
*arg2
= 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 char * kwnames
[] = {
36947 (char *) "self",(char *) "item", NULL
36950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36952 if (!SWIG_IsOK(res1
)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36955 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36957 if (!SWIG_IsOK(res2
)) {
36958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36963 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36966 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_Py_Void();
36977 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36978 PyObject
*resultobj
= 0;
36979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36982 PyObject
*swig_obj
[1] ;
36984 if (!args
) SWIG_fail
;
36985 swig_obj
[0] = args
;
36986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36987 if (!SWIG_IsOK(res1
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 (arg1
)->UnselectAll();
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36997 resultobj
= SWIG_Py_Void();
37004 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37005 PyObject
*resultobj
= 0;
37006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37007 wxTreeItemId
*arg2
= 0 ;
37008 bool arg3
= (bool) true ;
37015 PyObject
* obj0
= 0 ;
37016 PyObject
* obj1
= 0 ;
37017 PyObject
* obj2
= 0 ;
37018 char * kwnames
[] = {
37019 (char *) "self",(char *) "item",(char *) "select", NULL
37022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37024 if (!SWIG_IsOK(res1
)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37027 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37029 if (!SWIG_IsOK(res2
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37035 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37037 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37038 if (!SWIG_IsOK(ecode3
)) {
37039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37041 arg3
= static_cast< bool >(val3
);
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37049 resultobj
= SWIG_Py_Void();
37056 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37057 PyObject
*resultobj
= 0;
37058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37059 wxTreeItemId
*arg2
= 0 ;
37064 PyObject
* obj0
= 0 ;
37065 PyObject
* obj1
= 0 ;
37066 char * kwnames
[] = {
37067 (char *) "self",(char *) "item", NULL
37070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37072 if (!SWIG_IsOK(res1
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37077 if (!SWIG_IsOK(res2
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37087 wxPyEndAllowThreads(__tstate
);
37088 if (PyErr_Occurred()) SWIG_fail
;
37090 resultobj
= SWIG_Py_Void();
37097 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37098 PyObject
*resultobj
= 0;
37099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37100 wxTreeItemId
*arg2
= 0 ;
37105 PyObject
* obj0
= 0 ;
37106 PyObject
* obj1
= 0 ;
37107 char * kwnames
[] = {
37108 (char *) "self",(char *) "item", NULL
37111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37113 if (!SWIG_IsOK(res1
)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37116 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37118 if (!SWIG_IsOK(res2
)) {
37119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37124 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37127 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= SWIG_Py_Void();
37138 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
= 0;
37140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37141 wxTreeItemId
*arg2
= 0 ;
37146 PyObject
* obj0
= 0 ;
37147 PyObject
* obj1
= 0 ;
37148 char * kwnames
[] = {
37149 (char *) "self",(char *) "item", NULL
37152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37157 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37159 if (!SWIG_IsOK(res2
)) {
37160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37165 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 resultobj
= SWIG_Py_Void();
37179 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
= 0;
37181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37182 wxTreeItemId
*arg2
= 0 ;
37187 PyObject
* obj0
= 0 ;
37188 PyObject
* obj1
= 0 ;
37189 char * kwnames
[] = {
37190 (char *) "self",(char *) "item", NULL
37193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37195 if (!SWIG_IsOK(res1
)) {
37196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37200 if (!SWIG_IsOK(res2
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37209 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37213 resultobj
= SWIG_Py_Void();
37220 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37221 PyObject
*resultobj
= 0;
37222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37223 wxTextCtrl
*result
= 0 ;
37226 PyObject
*swig_obj
[1] ;
37228 if (!args
) SWIG_fail
;
37229 swig_obj
[0] = args
;
37230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37231 if (!SWIG_IsOK(res1
)) {
37232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37234 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37237 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= wxPyMake_wxObject(result
, 0);
37250 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
= 0;
37252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37253 wxTreeItemId
*arg2
= 0 ;
37258 PyObject
* obj0
= 0 ;
37259 PyObject
* obj1
= 0 ;
37260 char * kwnames
[] = {
37261 (char *) "self",(char *) "item", NULL
37264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37266 if (!SWIG_IsOK(res1
)) {
37267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37269 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37271 if (!SWIG_IsOK(res2
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37277 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37281 wxPyEndAllowThreads(__tstate
);
37282 if (PyErr_Occurred()) SWIG_fail
;
37284 resultobj
= SWIG_Py_Void();
37291 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37292 PyObject
*resultobj
= 0;
37293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37294 wxPoint
*arg2
= 0 ;
37296 wxTreeItemId result
;
37301 int res3
= SWIG_TMPOBJ
;
37302 PyObject
* obj0
= 0 ;
37303 PyObject
* obj1
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "point", NULL
37309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37311 if (!SWIG_IsOK(res1
)) {
37312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37314 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37326 if (SWIG_IsTmpObj(res3
)) {
37327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37329 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37338 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
= 0;
37340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37341 wxTreeItemId
*arg2
= 0 ;
37342 bool arg3
= (bool) false ;
37343 PyObject
*result
= 0 ;
37350 PyObject
* obj0
= 0 ;
37351 PyObject
* obj1
= 0 ;
37352 PyObject
* obj2
= 0 ;
37353 char * kwnames
[] = {
37354 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37359 if (!SWIG_IsOK(res1
)) {
37360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37362 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37364 if (!SWIG_IsOK(res2
)) {
37365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37370 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37372 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37373 if (!SWIG_IsOK(ecode3
)) {
37374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37376 arg3
= static_cast< bool >(val3
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37384 resultobj
= result
;
37391 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
= 0;
37393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37394 SwigValueWrapper
<wxVisualAttributes
> result
;
37397 PyObject
* obj0
= 0 ;
37398 char * kwnames
[] = {
37399 (char *) "variant", NULL
37402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37405 if (!SWIG_IsOK(ecode1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37408 arg1
= static_cast< wxWindowVariant
>(val1
);
37411 if (!wxPyCheckForApp()) SWIG_fail
;
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37424 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
= 0;
37426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37432 PyObject
* obj0
= 0 ;
37433 PyObject
* obj1
= 0 ;
37434 char * kwnames
[] = {
37435 (char *) "self",(char *) "q", NULL
37438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37440 if (!SWIG_IsOK(res1
)) {
37441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37444 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37445 if (!SWIG_IsOK(ecode2
)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37448 arg2
= static_cast< bool >(val2
);
37450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37451 (arg1
)->SetQuickBestSize(arg2
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_Py_Void();
37462 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37463 PyObject
*resultobj
= 0;
37464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37468 PyObject
*swig_obj
[1] ;
37470 if (!args
) SWIG_fail
;
37471 swig_obj
[0] = args
;
37472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37473 if (!SWIG_IsOK(res1
)) {
37474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37476 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37479 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37480 wxPyEndAllowThreads(__tstate
);
37481 if (PyErr_Occurred()) SWIG_fail
;
37484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37492 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37496 return SWIG_Py_Void();
37499 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37500 return SWIG_Python_InitShadowInstance(args
);
37503 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37504 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37509 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37510 PyObject
*pyobj
= 0;
37514 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37516 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37523 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxWindow
*arg1
= (wxWindow
*) 0 ;
37526 int arg2
= (int) (int)-1 ;
37527 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37533 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37534 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37536 int arg8
= (int) 0 ;
37537 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37539 wxGenericDirCtrl
*result
= 0 ;
37544 bool temp3
= false ;
37549 bool temp7
= false ;
37552 bool temp9
= false ;
37553 PyObject
* obj0
= 0 ;
37554 PyObject
* obj1
= 0 ;
37555 PyObject
* obj2
= 0 ;
37556 PyObject
* obj3
= 0 ;
37557 PyObject
* obj4
= 0 ;
37558 PyObject
* obj5
= 0 ;
37559 PyObject
* obj6
= 0 ;
37560 PyObject
* obj7
= 0 ;
37561 PyObject
* obj8
= 0 ;
37562 char * kwnames
[] = {
37563 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37568 if (!SWIG_IsOK(res1
)) {
37569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37574 if (!SWIG_IsOK(ecode2
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37577 arg2
= static_cast< int >(val2
);
37581 arg3
= wxString_in_helper(obj2
);
37582 if (arg3
== NULL
) SWIG_fail
;
37589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37599 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37600 if (!SWIG_IsOK(ecode6
)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37603 arg6
= static_cast< long >(val6
);
37607 arg7
= wxString_in_helper(obj6
);
37608 if (arg7
== NULL
) SWIG_fail
;
37613 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37614 if (!SWIG_IsOK(ecode8
)) {
37615 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37617 arg8
= static_cast< int >(val8
);
37621 arg9
= wxString_in_helper(obj8
);
37622 if (arg9
== NULL
) SWIG_fail
;
37627 if (!wxPyCheckForApp()) SWIG_fail
;
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37630 wxPyEndAllowThreads(__tstate
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37664 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37665 PyObject
*resultobj
= 0;
37666 wxGenericDirCtrl
*result
= 0 ;
37668 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37670 if (!wxPyCheckForApp()) SWIG_fail
;
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37673 wxPyEndAllowThreads(__tstate
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37683 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37684 PyObject
*resultobj
= 0;
37685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37686 wxWindow
*arg2
= (wxWindow
*) 0 ;
37687 int arg3
= (int) (int)-1 ;
37688 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37689 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37690 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37691 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37692 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37693 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37694 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37695 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37696 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37697 int arg9
= (int) 0 ;
37698 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37699 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37707 bool temp4
= false ;
37712 bool temp8
= false ;
37715 bool temp10
= false ;
37716 PyObject
* obj0
= 0 ;
37717 PyObject
* obj1
= 0 ;
37718 PyObject
* obj2
= 0 ;
37719 PyObject
* obj3
= 0 ;
37720 PyObject
* obj4
= 0 ;
37721 PyObject
* obj5
= 0 ;
37722 PyObject
* obj6
= 0 ;
37723 PyObject
* obj7
= 0 ;
37724 PyObject
* obj8
= 0 ;
37725 PyObject
* obj9
= 0 ;
37726 char * kwnames
[] = {
37727 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37735 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37737 if (!SWIG_IsOK(res2
)) {
37738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37743 if (!SWIG_IsOK(ecode3
)) {
37744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37746 arg3
= static_cast< int >(val3
);
37750 arg4
= wxString_in_helper(obj3
);
37751 if (arg4
== NULL
) SWIG_fail
;
37758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37764 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37768 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37769 if (!SWIG_IsOK(ecode7
)) {
37770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37772 arg7
= static_cast< long >(val7
);
37776 arg8
= wxString_in_helper(obj7
);
37777 if (arg8
== NULL
) SWIG_fail
;
37782 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37783 if (!SWIG_IsOK(ecode9
)) {
37784 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37786 arg9
= static_cast< int >(val9
);
37790 arg10
= wxString_in_helper(obj9
);
37791 if (arg10
== NULL
) SWIG_fail
;
37796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37798 wxPyEndAllowThreads(__tstate
);
37799 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37834 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37835 PyObject
*resultobj
= 0;
37836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37837 wxString
*arg2
= 0 ;
37841 bool temp2
= false ;
37842 PyObject
* obj0
= 0 ;
37843 PyObject
* obj1
= 0 ;
37844 char * kwnames
[] = {
37845 (char *) "self",(char *) "path", NULL
37848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37850 if (!SWIG_IsOK(res1
)) {
37851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37853 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37855 arg2
= wxString_in_helper(obj1
);
37856 if (arg2
== NULL
) SWIG_fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37882 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37883 PyObject
*resultobj
= 0;
37884 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37885 wxString
*arg2
= 0 ;
37889 bool temp2
= false ;
37890 PyObject
* obj0
= 0 ;
37891 PyObject
* obj1
= 0 ;
37892 char * kwnames
[] = {
37893 (char *) "self",(char *) "path", NULL
37896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37898 if (!SWIG_IsOK(res1
)) {
37899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37901 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37903 arg2
= wxString_in_helper(obj1
);
37904 if (arg2
== NULL
) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37910 wxPyEndAllowThreads(__tstate
);
37911 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37930 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37931 PyObject
*resultobj
= 0;
37932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37936 PyObject
*swig_obj
[1] ;
37938 if (!args
) SWIG_fail
;
37939 swig_obj
[0] = args
;
37940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37941 if (!SWIG_IsOK(res1
)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37944 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37964 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37965 PyObject
*resultobj
= 0;
37966 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37967 wxString
*arg2
= 0 ;
37970 bool temp2
= false ;
37971 PyObject
* obj0
= 0 ;
37972 PyObject
* obj1
= 0 ;
37973 char * kwnames
[] = {
37974 (char *) "self",(char *) "path", NULL
37977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37979 if (!SWIG_IsOK(res1
)) {
37980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37982 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37984 arg2
= wxString_in_helper(obj1
);
37985 if (arg2
== NULL
) SWIG_fail
;
37989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37990 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37994 resultobj
= SWIG_Py_Void();
38009 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38010 PyObject
*resultobj
= 0;
38011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38015 PyObject
*swig_obj
[1] ;
38017 if (!args
) SWIG_fail
;
38018 swig_obj
[0] = args
;
38019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38020 if (!SWIG_IsOK(res1
)) {
38021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38023 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38043 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38044 PyObject
*resultobj
= 0;
38045 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38049 PyObject
*swig_obj
[1] ;
38051 if (!args
) SWIG_fail
;
38052 swig_obj
[0] = args
;
38053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38057 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38077 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38080 wxString
*arg2
= 0 ;
38083 bool temp2
= false ;
38084 PyObject
* obj0
= 0 ;
38085 PyObject
* obj1
= 0 ;
38086 char * kwnames
[] = {
38087 (char *) "self",(char *) "path", NULL
38090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38095 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38097 arg2
= wxString_in_helper(obj1
);
38098 if (arg2
== NULL
) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 (arg1
)->SetPath((wxString
const &)*arg2
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= SWIG_Py_Void();
38122 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38123 PyObject
*resultobj
= 0;
38124 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "show", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38141 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38142 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38143 if (!SWIG_IsOK(ecode2
)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38146 arg2
= static_cast< bool >(val2
);
38148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38149 (arg1
)->ShowHidden(arg2
);
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= SWIG_Py_Void();
38160 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38161 PyObject
*resultobj
= 0;
38162 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38166 PyObject
*swig_obj
[1] ;
38168 if (!args
) SWIG_fail
;
38169 swig_obj
[0] = args
;
38170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38171 if (!SWIG_IsOK(res1
)) {
38172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38174 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 result
= (bool)(arg1
)->GetShowHidden();
38178 wxPyEndAllowThreads(__tstate
);
38179 if (PyErr_Occurred()) SWIG_fail
;
38182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38190 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38191 PyObject
*resultobj
= 0;
38192 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38196 PyObject
*swig_obj
[1] ;
38198 if (!args
) SWIG_fail
;
38199 swig_obj
[0] = args
;
38200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38201 if (!SWIG_IsOK(res1
)) {
38202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38204 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38207 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38224 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38225 PyObject
*resultobj
= 0;
38226 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38227 wxString
*arg2
= 0 ;
38230 bool temp2
= false ;
38231 PyObject
* obj0
= 0 ;
38232 PyObject
* obj1
= 0 ;
38233 char * kwnames
[] = {
38234 (char *) "self",(char *) "filter", NULL
38237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38239 if (!SWIG_IsOK(res1
)) {
38240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38242 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38244 arg2
= wxString_in_helper(obj1
);
38245 if (arg2
== NULL
) SWIG_fail
;
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 (arg1
)->SetFilter((wxString
const &)*arg2
);
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38254 resultobj
= SWIG_Py_Void();
38269 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38270 PyObject
*resultobj
= 0;
38271 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38275 PyObject
*swig_obj
[1] ;
38277 if (!args
) SWIG_fail
;
38278 swig_obj
[0] = args
;
38279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38280 if (!SWIG_IsOK(res1
)) {
38281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38283 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= SWIG_From_int(static_cast< int >(result
));
38297 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
= 0;
38299 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38305 PyObject
* obj0
= 0 ;
38306 PyObject
* obj1
= 0 ;
38307 char * kwnames
[] = {
38308 (char *) "self",(char *) "n", NULL
38311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38313 if (!SWIG_IsOK(res1
)) {
38314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38316 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38318 if (!SWIG_IsOK(ecode2
)) {
38319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38321 arg2
= static_cast< int >(val2
);
38323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38324 (arg1
)->SetFilterIndex(arg2
);
38325 wxPyEndAllowThreads(__tstate
);
38326 if (PyErr_Occurred()) SWIG_fail
;
38328 resultobj
= SWIG_Py_Void();
38335 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38336 PyObject
*resultobj
= 0;
38337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38338 wxTreeItemId result
;
38341 PyObject
*swig_obj
[1] ;
38343 if (!args
) SWIG_fail
;
38344 swig_obj
[0] = args
;
38345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38346 if (!SWIG_IsOK(res1
)) {
38347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38349 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38352 result
= (arg1
)->GetRootId();
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38363 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38364 PyObject
*resultobj
= 0;
38365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38366 wxPyTreeCtrl
*result
= 0 ;
38369 PyObject
*swig_obj
[1] ;
38371 if (!args
) SWIG_fail
;
38372 swig_obj
[0] = args
;
38373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38374 if (!SWIG_IsOK(res1
)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38380 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38385 resultobj
= wxPyMake_wxObject(result
, 0);
38393 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38394 PyObject
*resultobj
= 0;
38395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38396 wxDirFilterListCtrl
*result
= 0 ;
38399 PyObject
*swig_obj
[1] ;
38401 if (!args
) SWIG_fail
;
38402 swig_obj
[0] = args
;
38403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38404 if (!SWIG_IsOK(res1
)) {
38405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38407 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38410 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38421 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38422 PyObject
*resultobj
= 0;
38423 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38424 wxTreeItemId arg2
;
38425 wxString
*arg3
= 0 ;
38427 wxTreeItemId result
;
38432 bool temp3
= false ;
38434 int res4
= SWIG_TMPOBJ
;
38435 PyObject
* obj0
= 0 ;
38436 PyObject
* obj1
= 0 ;
38437 PyObject
* obj2
= 0 ;
38438 char * kwnames
[] = {
38439 (char *) "self",(char *) "parentId",(char *) "path", NULL
38443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38445 if (!SWIG_IsOK(res1
)) {
38446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38448 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38451 if (!SWIG_IsOK(res2
)) {
38452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38457 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38459 if (SWIG_IsNewObj(res2
)) delete temp
;
38463 arg3
= wxString_in_helper(obj2
);
38464 if (arg3
== NULL
) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38474 if (SWIG_IsTmpObj(res4
)) {
38475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38477 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38494 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38495 PyObject
*resultobj
= 0;
38496 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38499 PyObject
*swig_obj
[1] ;
38501 if (!args
) SWIG_fail
;
38502 swig_obj
[0] = args
;
38503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38504 if (!SWIG_IsOK(res1
)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38507 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 (arg1
)->DoResize();
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 resultobj
= SWIG_Py_Void();
38521 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38522 PyObject
*resultobj
= 0;
38523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38526 PyObject
*swig_obj
[1] ;
38528 if (!args
) SWIG_fail
;
38529 swig_obj
[0] = args
;
38530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38531 if (!SWIG_IsOK(res1
)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38534 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38537 (arg1
)->ReCreateTree();
38538 wxPyEndAllowThreads(__tstate
);
38539 if (PyErr_Occurred()) SWIG_fail
;
38541 resultobj
= SWIG_Py_Void();
38548 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38551 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38552 return SWIG_Py_Void();
38555 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38556 return SWIG_Python_InitShadowInstance(args
);
38559 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38560 PyObject
*resultobj
= 0;
38561 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38562 int arg2
= (int) (int)-1 ;
38563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38567 long arg5
= (long) 0 ;
38568 wxDirFilterListCtrl
*result
= 0 ;
38577 PyObject
* obj0
= 0 ;
38578 PyObject
* obj1
= 0 ;
38579 PyObject
* obj2
= 0 ;
38580 PyObject
* obj3
= 0 ;
38581 PyObject
* obj4
= 0 ;
38582 char * kwnames
[] = {
38583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38591 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38594 if (!SWIG_IsOK(ecode2
)) {
38595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38597 arg2
= static_cast< int >(val2
);
38602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38613 if (!SWIG_IsOK(ecode5
)) {
38614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38616 arg5
= static_cast< long >(val5
);
38619 if (!wxPyCheckForApp()) SWIG_fail
;
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38632 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38633 PyObject
*resultobj
= 0;
38634 wxDirFilterListCtrl
*result
= 0 ;
38636 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38638 if (!wxPyCheckForApp()) SWIG_fail
;
38639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38640 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38651 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38652 PyObject
*resultobj
= 0;
38653 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38654 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38655 int arg3
= (int) (int)-1 ;
38656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38660 long arg6
= (long) 0 ;
38672 PyObject
* obj0
= 0 ;
38673 PyObject
* obj1
= 0 ;
38674 PyObject
* obj2
= 0 ;
38675 PyObject
* obj3
= 0 ;
38676 PyObject
* obj4
= 0 ;
38677 PyObject
* obj5
= 0 ;
38678 char * kwnames
[] = {
38679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38684 if (!SWIG_IsOK(res1
)) {
38685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38687 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38689 if (!SWIG_IsOK(res2
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38692 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38695 if (!SWIG_IsOK(ecode3
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38698 arg3
= static_cast< int >(val3
);
38703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38713 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38714 if (!SWIG_IsOK(ecode6
)) {
38715 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38717 arg6
= static_cast< long >(val6
);
38720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38734 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38735 PyObject
*resultobj
= 0;
38736 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38737 wxString
*arg2
= 0 ;
38741 bool temp2
= false ;
38744 PyObject
* obj0
= 0 ;
38745 PyObject
* obj1
= 0 ;
38746 PyObject
* obj2
= 0 ;
38747 char * kwnames
[] = {
38748 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38753 if (!SWIG_IsOK(res1
)) {
38754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38756 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38758 arg2
= wxString_in_helper(obj1
);
38759 if (arg2
== NULL
) SWIG_fail
;
38762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38763 if (!SWIG_IsOK(ecode3
)) {
38764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38766 arg3
= static_cast< int >(val3
);
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 resultobj
= SWIG_Py_Void();
38788 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38792 return SWIG_Py_Void();
38795 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38796 return SWIG_Python_InitShadowInstance(args
);
38799 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38800 PyObject
*resultobj
= 0;
38801 wxWindow
*arg1
= (wxWindow
*) 0 ;
38802 int arg2
= (int) (int)-1 ;
38803 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38804 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38805 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38806 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38807 long arg5
= (long) 0 ;
38808 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38809 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38810 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38812 wxPyControl
*result
= 0 ;
38823 bool temp7
= false ;
38824 PyObject
* obj0
= 0 ;
38825 PyObject
* obj1
= 0 ;
38826 PyObject
* obj2
= 0 ;
38827 PyObject
* obj3
= 0 ;
38828 PyObject
* obj4
= 0 ;
38829 PyObject
* obj5
= 0 ;
38830 PyObject
* obj6
= 0 ;
38831 char * kwnames
[] = {
38832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38837 if (!SWIG_IsOK(res1
)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38843 if (!SWIG_IsOK(ecode2
)) {
38844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38846 arg2
= static_cast< int >(val2
);
38851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38861 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38862 if (!SWIG_IsOK(ecode5
)) {
38863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38865 arg5
= static_cast< long >(val5
);
38868 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38869 if (!SWIG_IsOK(res6
)) {
38870 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38875 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38879 arg7
= wxString_in_helper(obj6
);
38880 if (arg7
== NULL
) SWIG_fail
;
38885 if (!wxPyCheckForApp()) SWIG_fail
;
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38906 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38907 PyObject
*resultobj
= 0;
38908 wxPyControl
*result
= 0 ;
38910 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38912 if (!wxPyCheckForApp()) SWIG_fail
;
38913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 result
= (wxPyControl
*)new wxPyControl();
38915 wxPyEndAllowThreads(__tstate
);
38916 if (PyErr_Occurred()) SWIG_fail
;
38918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38925 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38926 PyObject
*resultobj
= 0;
38927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38928 PyObject
*arg2
= (PyObject
*) 0 ;
38929 PyObject
*arg3
= (PyObject
*) 0 ;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38934 PyObject
* obj2
= 0 ;
38935 char * kwnames
[] = {
38936 (char *) "self",(char *) "self",(char *) "_class", NULL
38939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38941 if (!SWIG_IsOK(res1
)) {
38942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38944 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38949 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38950 wxPyEndAllowThreads(__tstate
);
38951 if (PyErr_Occurred()) SWIG_fail
;
38953 resultobj
= SWIG_Py_Void();
38960 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38961 PyObject
*resultobj
= 0;
38962 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38963 wxDC
*arg2
= (wxDC
*) 0 ;
38969 PyObject
* obj0
= 0 ;
38970 PyObject
* obj1
= 0 ;
38971 char * kwnames
[] = {
38972 (char *) "self",(char *) "dc", NULL
38975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38977 if (!SWIG_IsOK(res1
)) {
38978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38980 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38982 if (!SWIG_IsOK(res2
)) {
38983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38985 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39001 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39002 PyObject
*resultobj
= 0;
39003 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39018 PyObject
* obj0
= 0 ;
39019 PyObject
* obj1
= 0 ;
39020 PyObject
* obj2
= 0 ;
39021 PyObject
* obj3
= 0 ;
39022 PyObject
* obj4
= 0 ;
39023 char * kwnames
[] = {
39024 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39029 if (!SWIG_IsOK(res1
)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39032 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39034 if (!SWIG_IsOK(ecode2
)) {
39035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39037 arg2
= static_cast< int >(val2
);
39038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39039 if (!SWIG_IsOK(ecode3
)) {
39040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39042 arg3
= static_cast< int >(val3
);
39043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39044 if (!SWIG_IsOK(ecode4
)) {
39045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39047 arg4
= static_cast< int >(val4
);
39048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39049 if (!SWIG_IsOK(ecode5
)) {
39050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39052 arg5
= static_cast< int >(val5
);
39054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39055 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39056 wxPyEndAllowThreads(__tstate
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= SWIG_Py_Void();
39066 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39067 PyObject
*resultobj
= 0;
39068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39073 int arg6
= (int) wxSIZE_AUTO
;
39086 PyObject
* obj0
= 0 ;
39087 PyObject
* obj1
= 0 ;
39088 PyObject
* obj2
= 0 ;
39089 PyObject
* obj3
= 0 ;
39090 PyObject
* obj4
= 0 ;
39091 PyObject
* obj5
= 0 ;
39092 char * kwnames
[] = {
39093 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39098 if (!SWIG_IsOK(res1
)) {
39099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39101 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39103 if (!SWIG_IsOK(ecode2
)) {
39104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39106 arg2
= static_cast< int >(val2
);
39107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39108 if (!SWIG_IsOK(ecode3
)) {
39109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39111 arg3
= static_cast< int >(val3
);
39112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39113 if (!SWIG_IsOK(ecode4
)) {
39114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39116 arg4
= static_cast< int >(val4
);
39117 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39118 if (!SWIG_IsOK(ecode5
)) {
39119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39121 arg5
= static_cast< int >(val5
);
39123 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39124 if (!SWIG_IsOK(ecode6
)) {
39125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39127 arg6
= static_cast< int >(val6
);
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39132 wxPyEndAllowThreads(__tstate
);
39133 if (PyErr_Occurred()) SWIG_fail
;
39135 resultobj
= SWIG_Py_Void();
39142 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39143 PyObject
*resultobj
= 0;
39144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39153 PyObject
* obj0
= 0 ;
39154 PyObject
* obj1
= 0 ;
39155 PyObject
* obj2
= 0 ;
39156 char * kwnames
[] = {
39157 (char *) "self",(char *) "width",(char *) "height", NULL
39160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39162 if (!SWIG_IsOK(res1
)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39165 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39167 if (!SWIG_IsOK(ecode2
)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39170 arg2
= static_cast< int >(val2
);
39171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39172 if (!SWIG_IsOK(ecode3
)) {
39173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39175 arg3
= static_cast< int >(val3
);
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 (arg1
)->DoSetClientSize(arg2
,arg3
);
39179 wxPyEndAllowThreads(__tstate
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39182 resultobj
= SWIG_Py_Void();
39189 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39190 PyObject
*resultobj
= 0;
39191 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 PyObject
* obj2
= 0 ;
39203 char * kwnames
[] = {
39204 (char *) "self",(char *) "x",(char *) "y", NULL
39207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39209 if (!SWIG_IsOK(res1
)) {
39210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39212 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39214 if (!SWIG_IsOK(ecode2
)) {
39215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39217 arg2
= static_cast< int >(val2
);
39218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39219 if (!SWIG_IsOK(ecode3
)) {
39220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39222 arg3
= static_cast< int >(val3
);
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39226 wxPyEndAllowThreads(__tstate
);
39227 if (PyErr_Occurred()) SWIG_fail
;
39229 resultobj
= SWIG_Py_Void();
39236 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39237 PyObject
*resultobj
= 0;
39238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39239 int *arg2
= (int *) 0 ;
39240 int *arg3
= (int *) 0 ;
39244 int res2
= SWIG_TMPOBJ
;
39246 int res3
= SWIG_TMPOBJ
;
39247 PyObject
*swig_obj
[1] ;
39251 if (!args
) SWIG_fail
;
39252 swig_obj
[0] = args
;
39253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39254 if (!SWIG_IsOK(res1
)) {
39255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39257 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39264 resultobj
= SWIG_Py_Void();
39265 if (SWIG_IsTmpObj(res2
)) {
39266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39268 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39271 if (SWIG_IsTmpObj(res3
)) {
39272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39274 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39283 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39284 PyObject
*resultobj
= 0;
39285 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39286 int *arg2
= (int *) 0 ;
39287 int *arg3
= (int *) 0 ;
39291 int res2
= SWIG_TMPOBJ
;
39293 int res3
= SWIG_TMPOBJ
;
39294 PyObject
*swig_obj
[1] ;
39298 if (!args
) SWIG_fail
;
39299 swig_obj
[0] = args
;
39300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39301 if (!SWIG_IsOK(res1
)) {
39302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39304 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 resultobj
= SWIG_Py_Void();
39312 if (SWIG_IsTmpObj(res2
)) {
39313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39315 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39318 if (SWIG_IsTmpObj(res3
)) {
39319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39321 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39330 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39331 PyObject
*resultobj
= 0;
39332 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39333 int *arg2
= (int *) 0 ;
39334 int *arg3
= (int *) 0 ;
39338 int res2
= SWIG_TMPOBJ
;
39340 int res3
= SWIG_TMPOBJ
;
39341 PyObject
*swig_obj
[1] ;
39345 if (!args
) SWIG_fail
;
39346 swig_obj
[0] = args
;
39347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39348 if (!SWIG_IsOK(res1
)) {
39349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39351 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39358 resultobj
= SWIG_Py_Void();
39359 if (SWIG_IsTmpObj(res2
)) {
39360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39362 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39365 if (SWIG_IsTmpObj(res3
)) {
39366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39368 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39377 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39378 PyObject
*resultobj
= 0;
39379 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39383 PyObject
*swig_obj
[1] ;
39385 if (!args
) SWIG_fail
;
39386 swig_obj
[0] = args
;
39387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39388 if (!SWIG_IsOK(res1
)) {
39389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39391 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39394 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39405 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39406 PyObject
*resultobj
= 0;
39407 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39411 PyObject
*swig_obj
[1] ;
39413 if (!args
) SWIG_fail
;
39414 swig_obj
[0] = args
;
39415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39416 if (!SWIG_IsOK(res1
)) {
39417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39419 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39433 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39434 PyObject
*resultobj
= 0;
39435 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39436 SwigValueWrapper
<wxVisualAttributes
> result
;
39439 PyObject
*swig_obj
[1] ;
39441 if (!args
) SWIG_fail
;
39442 swig_obj
[0] = args
;
39443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39444 if (!SWIG_IsOK(res1
)) {
39445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39447 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 result
= (arg1
)->GetDefaultAttributes();
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39461 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39462 PyObject
*resultobj
= 0;
39463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39466 PyObject
*swig_obj
[1] ;
39468 if (!args
) SWIG_fail
;
39469 swig_obj
[0] = args
;
39470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39471 if (!SWIG_IsOK(res1
)) {
39472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39474 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39477 (arg1
)->OnInternalIdle();
39478 wxPyEndAllowThreads(__tstate
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39481 resultobj
= SWIG_Py_Void();
39488 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39492 return SWIG_Py_Void();
39495 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39496 return SWIG_Python_InitShadowInstance(args
);
39499 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39500 PyObject
*resultobj
= 0;
39501 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39502 int arg2
= (int) 0 ;
39503 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39504 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39505 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39506 wxHelpEvent
*result
= 0 ;
39514 PyObject
* obj0
= 0 ;
39515 PyObject
* obj1
= 0 ;
39516 PyObject
* obj2
= 0 ;
39517 PyObject
* obj3
= 0 ;
39518 char * kwnames
[] = {
39519 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39525 if (!SWIG_IsOK(ecode1
)) {
39526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39528 arg1
= static_cast< wxEventType
>(val1
);
39531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39532 if (!SWIG_IsOK(ecode2
)) {
39533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39535 arg2
= static_cast< int >(val2
);
39540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39544 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39545 if (!SWIG_IsOK(ecode4
)) {
39546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39548 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39552 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39563 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39564 PyObject
*resultobj
= 0;
39565 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39569 PyObject
*swig_obj
[1] ;
39571 if (!args
) SWIG_fail
;
39572 swig_obj
[0] = args
;
39573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39574 if (!SWIG_IsOK(res1
)) {
39575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39577 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39580 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39581 wxPyEndAllowThreads(__tstate
);
39582 if (PyErr_Occurred()) SWIG_fail
;
39584 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39591 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39592 PyObject
*resultobj
= 0;
39593 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39594 wxPoint
*arg2
= 0 ;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 char * kwnames
[] = {
39601 (char *) "self",(char *) "pos", NULL
39604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39606 if (!SWIG_IsOK(res1
)) {
39607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39609 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= SWIG_Py_Void();
39627 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39628 PyObject
*resultobj
= 0;
39629 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39630 wxString
*result
= 0 ;
39633 PyObject
*swig_obj
[1] ;
39635 if (!args
) SWIG_fail
;
39636 swig_obj
[0] = args
;
39637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39638 if (!SWIG_IsOK(res1
)) {
39639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39641 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39645 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39646 result
= (wxString
*) &_result_ref
;
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39664 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39665 PyObject
*resultobj
= 0;
39666 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39667 wxString
*arg2
= 0 ;
39670 bool temp2
= false ;
39671 PyObject
* obj0
= 0 ;
39672 PyObject
* obj1
= 0 ;
39673 char * kwnames
[] = {
39674 (char *) "self",(char *) "link", NULL
39677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39679 if (!SWIG_IsOK(res1
)) {
39680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39682 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39684 arg2
= wxString_in_helper(obj1
);
39685 if (arg2
== NULL
) SWIG_fail
;
39689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39690 (arg1
)->SetLink((wxString
const &)*arg2
);
39691 wxPyEndAllowThreads(__tstate
);
39692 if (PyErr_Occurred()) SWIG_fail
;
39694 resultobj
= SWIG_Py_Void();
39709 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39710 PyObject
*resultobj
= 0;
39711 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39712 wxString
*result
= 0 ;
39715 PyObject
*swig_obj
[1] ;
39717 if (!args
) SWIG_fail
;
39718 swig_obj
[0] = args
;
39719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39720 if (!SWIG_IsOK(res1
)) {
39721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39723 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39728 result
= (wxString
*) &_result_ref
;
39730 wxPyEndAllowThreads(__tstate
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39746 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
= 0;
39748 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39749 wxString
*arg2
= 0 ;
39752 bool temp2
= false ;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 char * kwnames
[] = {
39756 (char *) "self",(char *) "target", NULL
39759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39761 if (!SWIG_IsOK(res1
)) {
39762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39764 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39766 arg2
= wxString_in_helper(obj1
);
39767 if (arg2
== NULL
) SWIG_fail
;
39771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39772 (arg1
)->SetTarget((wxString
const &)*arg2
);
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 resultobj
= SWIG_Py_Void();
39791 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39792 PyObject
*resultobj
= 0;
39793 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39794 wxHelpEvent::Origin result
;
39797 PyObject
*swig_obj
[1] ;
39799 if (!args
) SWIG_fail
;
39800 swig_obj
[0] = args
;
39801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39802 if (!SWIG_IsOK(res1
)) {
39803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39805 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39809 wxPyEndAllowThreads(__tstate
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 resultobj
= SWIG_From_int(static_cast< int >(result
));
39819 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
= 0;
39821 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39822 wxHelpEvent::Origin arg2
;
39827 PyObject
* obj0
= 0 ;
39828 PyObject
* obj1
= 0 ;
39829 char * kwnames
[] = {
39830 (char *) "self",(char *) "origin", NULL
39833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39835 if (!SWIG_IsOK(res1
)) {
39836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39838 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39840 if (!SWIG_IsOK(ecode2
)) {
39841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39843 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 (arg1
)->SetOrigin(arg2
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= SWIG_Py_Void();
39857 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39860 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39861 return SWIG_Py_Void();
39864 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39865 return SWIG_Python_InitShadowInstance(args
);
39868 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39869 PyObject
*resultobj
= 0;
39870 wxWindow
*arg1
= (wxWindow
*) NULL
;
39871 bool arg2
= (bool) true ;
39872 wxContextHelp
*result
= 0 ;
39877 PyObject
* obj0
= 0 ;
39878 PyObject
* obj1
= 0 ;
39879 char * kwnames
[] = {
39880 (char *) "window",(char *) "doNow", NULL
39883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39886 if (!SWIG_IsOK(res1
)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39892 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39893 if (!SWIG_IsOK(ecode2
)) {
39894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39896 arg2
= static_cast< bool >(val2
);
39899 if (!wxPyCheckForApp()) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39912 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39913 PyObject
*resultobj
= 0;
39914 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39917 PyObject
*swig_obj
[1] ;
39919 if (!args
) SWIG_fail
;
39920 swig_obj
[0] = args
;
39921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39922 if (!SWIG_IsOK(res1
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39925 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39930 wxPyEndAllowThreads(__tstate
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39933 resultobj
= SWIG_Py_Void();
39940 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39941 PyObject
*resultobj
= 0;
39942 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39943 wxWindow
*arg2
= (wxWindow
*) NULL
;
39949 PyObject
* obj0
= 0 ;
39950 PyObject
* obj1
= 0 ;
39951 char * kwnames
[] = {
39952 (char *) "self",(char *) "window", NULL
39955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39957 if (!SWIG_IsOK(res1
)) {
39958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39960 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39963 if (!SWIG_IsOK(res2
)) {
39964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39970 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39983 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39984 PyObject
*resultobj
= 0;
39985 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39989 PyObject
*swig_obj
[1] ;
39991 if (!args
) SWIG_fail
;
39992 swig_obj
[0] = args
;
39993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39994 if (!SWIG_IsOK(res1
)) {
39995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39997 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40000 result
= (bool)(arg1
)->EndContextHelp();
40001 wxPyEndAllowThreads(__tstate
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40013 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40016 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40017 return SWIG_Py_Void();
40020 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40021 return SWIG_Python_InitShadowInstance(args
);
40024 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
= 0;
40026 wxWindow
*arg1
= (wxWindow
*) 0 ;
40027 int arg2
= (int) wxID_CONTEXT_HELP
;
40028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40032 long arg5
= (long) wxBU_AUTODRAW
;
40033 wxContextHelpButton
*result
= 0 ;
40042 PyObject
* obj0
= 0 ;
40043 PyObject
* obj1
= 0 ;
40044 PyObject
* obj2
= 0 ;
40045 PyObject
* obj3
= 0 ;
40046 PyObject
* obj4
= 0 ;
40047 char * kwnames
[] = {
40048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40053 if (!SWIG_IsOK(res1
)) {
40054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40059 if (!SWIG_IsOK(ecode2
)) {
40060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40062 arg2
= static_cast< int >(val2
);
40067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40073 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40077 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40078 if (!SWIG_IsOK(ecode5
)) {
40079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40081 arg5
= static_cast< long >(val5
);
40084 if (!wxPyCheckForApp()) SWIG_fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40097 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40100 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40101 return SWIG_Py_Void();
40104 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40105 return SWIG_Python_InitShadowInstance(args
);
40108 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40109 PyObject
*resultobj
= 0;
40110 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40113 PyObject
*swig_obj
[1] ;
40115 if (!args
) SWIG_fail
;
40116 swig_obj
[0] = args
;
40117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40118 if (!SWIG_IsOK(res1
)) {
40119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40121 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40126 wxPyEndAllowThreads(__tstate
);
40127 if (PyErr_Occurred()) SWIG_fail
;
40129 resultobj
= SWIG_Py_Void();
40136 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40137 PyObject
*resultobj
= 0;
40138 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40139 wxHelpProvider
*result
= 0 ;
40141 PyObject
* obj0
= 0 ;
40142 char * kwnames
[] = {
40143 (char *) "helpProvider", NULL
40146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40147 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40148 if (!SWIG_IsOK(res1
)) {
40149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40154 wxPyEndAllowThreads(__tstate
);
40155 if (PyErr_Occurred()) SWIG_fail
;
40157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40164 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40165 PyObject
*resultobj
= 0;
40166 wxHelpProvider
*result
= 0 ;
40168 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40172 wxPyEndAllowThreads(__tstate
);
40173 if (PyErr_Occurred()) SWIG_fail
;
40175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40182 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40183 PyObject
*resultobj
= 0;
40184 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40185 wxWindow
*arg2
= (wxWindow
*) 0 ;
40191 PyObject
* obj0
= 0 ;
40192 PyObject
* obj1
= 0 ;
40193 char * kwnames
[] = {
40194 (char *) "self",(char *) "window", NULL
40197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40199 if (!SWIG_IsOK(res1
)) {
40200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40202 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40204 if (!SWIG_IsOK(res2
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40210 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40211 wxPyEndAllowThreads(__tstate
);
40212 if (PyErr_Occurred()) SWIG_fail
;
40216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40227 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40228 PyObject
*resultobj
= 0;
40229 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40230 wxWindow
*arg2
= (wxWindow
*) 0 ;
40236 PyObject
* obj0
= 0 ;
40237 PyObject
* obj1
= 0 ;
40238 char * kwnames
[] = {
40239 (char *) "self",(char *) "window", NULL
40242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40244 if (!SWIG_IsOK(res1
)) {
40245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40247 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40249 if (!SWIG_IsOK(res2
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 result
= (bool)(arg1
)->ShowHelp(arg2
);
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40268 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40269 PyObject
*resultobj
= 0;
40270 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40271 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40272 wxPoint
*arg3
= 0 ;
40273 wxHelpEvent::Origin arg4
;
40282 PyObject
* obj0
= 0 ;
40283 PyObject
* obj1
= 0 ;
40284 PyObject
* obj2
= 0 ;
40285 PyObject
* obj3
= 0 ;
40286 char * kwnames
[] = {
40287 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40292 if (!SWIG_IsOK(res1
)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40295 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40297 if (!SWIG_IsOK(res2
)) {
40298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40300 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40306 if (!SWIG_IsOK(ecode4
)) {
40307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40309 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40325 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
= 0;
40327 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40328 wxWindow
*arg2
= (wxWindow
*) 0 ;
40329 wxString
*arg3
= 0 ;
40334 bool temp3
= false ;
40335 PyObject
* obj0
= 0 ;
40336 PyObject
* obj1
= 0 ;
40337 PyObject
* obj2
= 0 ;
40338 char * kwnames
[] = {
40339 (char *) "self",(char *) "window",(char *) "text", NULL
40342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40344 if (!SWIG_IsOK(res1
)) {
40345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40347 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40349 if (!SWIG_IsOK(res2
)) {
40350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40354 arg3
= wxString_in_helper(obj2
);
40355 if (arg3
== NULL
) SWIG_fail
;
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40364 resultobj
= SWIG_Py_Void();
40379 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40380 PyObject
*resultobj
= 0;
40381 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40383 wxString
*arg3
= 0 ;
40388 bool temp3
= false ;
40389 PyObject
* obj0
= 0 ;
40390 PyObject
* obj1
= 0 ;
40391 PyObject
* obj2
= 0 ;
40392 char * kwnames
[] = {
40393 (char *) "self",(char *) "id",(char *) "text", NULL
40396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40398 if (!SWIG_IsOK(res1
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40401 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40403 if (!SWIG_IsOK(ecode2
)) {
40404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40406 arg2
= static_cast< int >(val2
);
40408 arg3
= wxString_in_helper(obj2
);
40409 if (arg3
== NULL
) SWIG_fail
;
40413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40414 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40415 wxPyEndAllowThreads(__tstate
);
40416 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= SWIG_Py_Void();
40433 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40434 PyObject
*resultobj
= 0;
40435 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40436 wxWindow
*arg2
= (wxWindow
*) 0 ;
40441 PyObject
* obj0
= 0 ;
40442 PyObject
* obj1
= 0 ;
40443 char * kwnames
[] = {
40444 (char *) "self",(char *) "window", NULL
40447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40449 if (!SWIG_IsOK(res1
)) {
40450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40452 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40454 if (!SWIG_IsOK(res2
)) {
40455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 (arg1
)->RemoveHelp(arg2
);
40461 wxPyEndAllowThreads(__tstate
);
40462 if (PyErr_Occurred()) SWIG_fail
;
40464 resultobj
= SWIG_Py_Void();
40471 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40472 PyObject
*resultobj
= 0;
40473 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40476 PyObject
*swig_obj
[1] ;
40478 if (!args
) SWIG_fail
;
40479 swig_obj
[0] = args
;
40480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40481 if (!SWIG_IsOK(res1
)) {
40482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40484 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40487 wxHelpProvider_Destroy(arg1
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= SWIG_Py_Void();
40498 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40501 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40502 return SWIG_Py_Void();
40505 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40506 PyObject
*resultobj
= 0;
40507 wxSimpleHelpProvider
*result
= 0 ;
40509 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40523 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40526 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40527 return SWIG_Py_Void();
40530 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40531 return SWIG_Python_InitShadowInstance(args
);
40534 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40535 PyObject
*resultobj
= 0;
40536 wxBitmap
*arg1
= 0 ;
40537 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40538 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40539 wxGenericDragImage
*result
= 0 ;
40544 PyObject
* obj0
= 0 ;
40545 PyObject
* obj1
= 0 ;
40546 char * kwnames
[] = {
40547 (char *) "image",(char *) "cursor", NULL
40550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40551 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40552 if (!SWIG_IsOK(res1
)) {
40553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40558 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40561 if (!SWIG_IsOK(res2
)) {
40562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40567 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40570 if (!wxPyCheckForApp()) SWIG_fail
;
40571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40572 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40583 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40584 PyObject
*resultobj
= 0;
40586 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40587 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40588 wxGenericDragImage
*result
= 0 ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 char * kwnames
[] = {
40596 (char *) "image",(char *) "cursor", NULL
40599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40600 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40601 if (!SWIG_IsOK(res1
)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40607 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40610 if (!SWIG_IsOK(res2
)) {
40611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40616 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40619 if (!wxPyCheckForApp()) SWIG_fail
;
40620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40621 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40622 wxPyEndAllowThreads(__tstate
);
40623 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40632 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40633 PyObject
*resultobj
= 0;
40634 wxString
*arg1
= 0 ;
40635 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40636 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40637 wxGenericDragImage
*result
= 0 ;
40638 bool temp1
= false ;
40641 PyObject
* obj0
= 0 ;
40642 PyObject
* obj1
= 0 ;
40643 char * kwnames
[] = {
40644 (char *) "str",(char *) "cursor", NULL
40647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40649 arg1
= wxString_in_helper(obj0
);
40650 if (arg1
== NULL
) SWIG_fail
;
40654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40655 if (!SWIG_IsOK(res2
)) {
40656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40661 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40664 if (!wxPyCheckForApp()) SWIG_fail
;
40665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40666 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40667 wxPyEndAllowThreads(__tstate
);
40668 if (PyErr_Occurred()) SWIG_fail
;
40670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40685 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40686 PyObject
*resultobj
= 0;
40687 wxPyTreeCtrl
*arg1
= 0 ;
40688 wxTreeItemId
*arg2
= 0 ;
40689 wxGenericDragImage
*result
= 0 ;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 char * kwnames
[] = {
40697 (char *) "treeCtrl",(char *) "id", NULL
40700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40701 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40702 if (!SWIG_IsOK(res1
)) {
40703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40708 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40710 if (!SWIG_IsOK(res2
)) {
40711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40716 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40718 if (!wxPyCheckForApp()) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40731 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
= 0;
40733 wxPyListCtrl
*arg1
= 0 ;
40735 wxGenericDragImage
*result
= 0 ;
40740 PyObject
* obj0
= 0 ;
40741 PyObject
* obj1
= 0 ;
40742 char * kwnames
[] = {
40743 (char *) "listCtrl",(char *) "id", NULL
40746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40747 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40748 if (!SWIG_IsOK(res1
)) {
40749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40756 if (!SWIG_IsOK(ecode2
)) {
40757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40759 arg2
= static_cast< long >(val2
);
40761 if (!wxPyCheckForApp()) SWIG_fail
;
40762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40763 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40764 wxPyEndAllowThreads(__tstate
);
40765 if (PyErr_Occurred()) SWIG_fail
;
40767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40774 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40775 PyObject
*resultobj
= 0;
40776 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40779 PyObject
*swig_obj
[1] ;
40781 if (!args
) SWIG_fail
;
40782 swig_obj
[0] = args
;
40783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40784 if (!SWIG_IsOK(res1
)) {
40785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40787 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 wxPyEndAllowThreads(__tstate
);
40793 if (PyErr_Occurred()) SWIG_fail
;
40795 resultobj
= SWIG_Py_Void();
40802 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40803 PyObject
*resultobj
= 0;
40804 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40805 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40810 PyObject
* obj0
= 0 ;
40811 PyObject
* obj1
= 0 ;
40812 char * kwnames
[] = {
40813 (char *) "self",(char *) "bitmap", NULL
40816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40818 if (!SWIG_IsOK(res1
)) {
40819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40821 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40823 if (!SWIG_IsOK(res2
)) {
40824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40829 (arg1
)->SetBackingBitmap(arg2
);
40830 wxPyEndAllowThreads(__tstate
);
40831 if (PyErr_Occurred()) SWIG_fail
;
40833 resultobj
= SWIG_Py_Void();
40840 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
= 0;
40842 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40843 wxPoint
*arg2
= 0 ;
40844 wxWindow
*arg3
= (wxWindow
*) 0 ;
40845 bool arg4
= (bool) false ;
40846 wxRect
*arg5
= (wxRect
*) NULL
;
40857 PyObject
* obj0
= 0 ;
40858 PyObject
* obj1
= 0 ;
40859 PyObject
* obj2
= 0 ;
40860 PyObject
* obj3
= 0 ;
40861 PyObject
* obj4
= 0 ;
40862 char * kwnames
[] = {
40863 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40868 if (!SWIG_IsOK(res1
)) {
40869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40871 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40876 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40877 if (!SWIG_IsOK(res3
)) {
40878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40880 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40882 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40883 if (!SWIG_IsOK(ecode4
)) {
40884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40886 arg4
= static_cast< bool >(val4
);
40889 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40890 if (!SWIG_IsOK(res5
)) {
40891 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40893 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40897 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40910 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40911 PyObject
*resultobj
= 0;
40912 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40913 wxPoint
*arg2
= 0 ;
40914 wxWindow
*arg3
= (wxWindow
*) 0 ;
40915 wxWindow
*arg4
= (wxWindow
*) 0 ;
40924 PyObject
* obj0
= 0 ;
40925 PyObject
* obj1
= 0 ;
40926 PyObject
* obj2
= 0 ;
40927 PyObject
* obj3
= 0 ;
40928 char * kwnames
[] = {
40929 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40934 if (!SWIG_IsOK(res1
)) {
40935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40937 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40942 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40943 if (!SWIG_IsOK(res3
)) {
40944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40946 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40947 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40948 if (!SWIG_IsOK(res4
)) {
40949 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40951 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40954 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40955 wxPyEndAllowThreads(__tstate
);
40956 if (PyErr_Occurred()) SWIG_fail
;
40959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40967 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40968 PyObject
*resultobj
= 0;
40969 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40973 PyObject
*swig_obj
[1] ;
40975 if (!args
) SWIG_fail
;
40976 swig_obj
[0] = args
;
40977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40978 if (!SWIG_IsOK(res1
)) {
40979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40981 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40984 result
= (bool)(arg1
)->EndDrag();
40985 wxPyEndAllowThreads(__tstate
);
40986 if (PyErr_Occurred()) SWIG_fail
;
40989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40997 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40998 PyObject
*resultobj
= 0;
40999 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41000 wxPoint
*arg2
= 0 ;
41005 PyObject
* obj0
= 0 ;
41006 PyObject
* obj1
= 0 ;
41007 char * kwnames
[] = {
41008 (char *) "self",(char *) "pt", NULL
41011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41013 if (!SWIG_IsOK(res1
)) {
41014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41016 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41023 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41036 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41037 PyObject
*resultobj
= 0;
41038 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41042 PyObject
*swig_obj
[1] ;
41044 if (!args
) SWIG_fail
;
41045 swig_obj
[0] = args
;
41046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41047 if (!SWIG_IsOK(res1
)) {
41048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41050 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41053 result
= (bool)(arg1
)->Show();
41054 wxPyEndAllowThreads(__tstate
);
41055 if (PyErr_Occurred()) SWIG_fail
;
41058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41066 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41067 PyObject
*resultobj
= 0;
41068 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41072 PyObject
*swig_obj
[1] ;
41074 if (!args
) SWIG_fail
;
41075 swig_obj
[0] = args
;
41076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41077 if (!SWIG_IsOK(res1
)) {
41078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41080 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41083 result
= (bool)(arg1
)->Hide();
41084 wxPyEndAllowThreads(__tstate
);
41085 if (PyErr_Occurred()) SWIG_fail
;
41088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41096 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41097 PyObject
*resultobj
= 0;
41098 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41099 wxPoint
*arg2
= 0 ;
41104 PyObject
* obj0
= 0 ;
41105 PyObject
* obj1
= 0 ;
41106 char * kwnames
[] = {
41107 (char *) "self",(char *) "pos", NULL
41110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41112 if (!SWIG_IsOK(res1
)) {
41113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41115 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41122 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41123 wxPyEndAllowThreads(__tstate
);
41124 if (PyErr_Occurred()) SWIG_fail
;
41126 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41133 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41134 PyObject
*resultobj
= 0;
41135 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41137 wxPoint
*arg3
= 0 ;
41144 PyObject
* obj0
= 0 ;
41145 PyObject
* obj1
= 0 ;
41146 PyObject
* obj2
= 0 ;
41147 char * kwnames
[] = {
41148 (char *) "self",(char *) "dc",(char *) "pos", NULL
41151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41153 if (!SWIG_IsOK(res1
)) {
41154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41156 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41158 if (!SWIG_IsOK(res2
)) {
41159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41164 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41171 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41172 wxPyEndAllowThreads(__tstate
);
41173 if (PyErr_Occurred()) SWIG_fail
;
41176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41184 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41185 PyObject
*resultobj
= 0;
41186 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41188 wxMemoryDC
*arg3
= 0 ;
41200 PyObject
* obj0
= 0 ;
41201 PyObject
* obj1
= 0 ;
41202 PyObject
* obj2
= 0 ;
41203 PyObject
* obj3
= 0 ;
41204 PyObject
* obj4
= 0 ;
41205 char * kwnames
[] = {
41206 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41211 if (!SWIG_IsOK(res1
)) {
41212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41214 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41216 if (!SWIG_IsOK(res2
)) {
41217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41222 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41223 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41224 if (!SWIG_IsOK(res3
)) {
41225 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41230 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41233 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41237 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41241 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41242 wxPyEndAllowThreads(__tstate
);
41243 if (PyErr_Occurred()) SWIG_fail
;
41246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41254 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41255 PyObject
*resultobj
= 0;
41256 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41257 wxPoint
*arg2
= 0 ;
41258 wxPoint
*arg3
= 0 ;
41270 PyObject
* obj0
= 0 ;
41271 PyObject
* obj1
= 0 ;
41272 PyObject
* obj2
= 0 ;
41273 PyObject
* obj3
= 0 ;
41274 PyObject
* obj4
= 0 ;
41275 char * kwnames
[] = {
41276 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41281 if (!SWIG_IsOK(res1
)) {
41282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41284 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41293 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41294 if (!SWIG_IsOK(ecode4
)) {
41295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41297 arg4
= static_cast< bool >(val4
);
41298 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41299 if (!SWIG_IsOK(ecode5
)) {
41300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41302 arg5
= static_cast< bool >(val5
);
41304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41305 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41306 wxPyEndAllowThreads(__tstate
);
41307 if (PyErr_Occurred()) SWIG_fail
;
41310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41318 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41321 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41322 return SWIG_Py_Void();
41325 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41326 return SWIG_Python_InitShadowInstance(args
);
41329 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41330 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41335 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41336 PyObject
*pyobj
= 0;
41340 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41342 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41349 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41350 PyObject
*resultobj
= 0;
41351 wxWindow
*arg1
= (wxWindow
*) 0 ;
41352 int arg2
= (int) -1 ;
41353 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41354 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41359 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41360 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41361 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41362 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41363 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41364 wxDatePickerCtrl
*result
= 0 ;
41377 bool temp8
= false ;
41378 PyObject
* obj0
= 0 ;
41379 PyObject
* obj1
= 0 ;
41380 PyObject
* obj2
= 0 ;
41381 PyObject
* obj3
= 0 ;
41382 PyObject
* obj4
= 0 ;
41383 PyObject
* obj5
= 0 ;
41384 PyObject
* obj6
= 0 ;
41385 PyObject
* obj7
= 0 ;
41386 char * kwnames
[] = {
41387 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41392 if (!SWIG_IsOK(res1
)) {
41393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41395 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41398 if (!SWIG_IsOK(ecode2
)) {
41399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41401 arg2
= static_cast< int >(val2
);
41404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41405 if (!SWIG_IsOK(res3
)) {
41406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41411 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41426 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41427 if (!SWIG_IsOK(ecode6
)) {
41428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41430 arg6
= static_cast< long >(val6
);
41433 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41434 if (!SWIG_IsOK(res7
)) {
41435 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41440 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41444 arg8
= wxString_in_helper(obj7
);
41445 if (arg8
== NULL
) SWIG_fail
;
41450 if (!wxPyCheckForApp()) SWIG_fail
;
41451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41452 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41453 wxPyEndAllowThreads(__tstate
);
41454 if (PyErr_Occurred()) SWIG_fail
;
41456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41471 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41472 PyObject
*resultobj
= 0;
41473 wxDatePickerCtrl
*result
= 0 ;
41475 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41477 if (!wxPyCheckForApp()) SWIG_fail
;
41478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41479 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41490 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41491 PyObject
*resultobj
= 0;
41492 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41493 wxWindow
*arg2
= (wxWindow
*) 0 ;
41494 int arg3
= (int) -1 ;
41495 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41496 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41501 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41504 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41521 bool temp9
= false ;
41522 PyObject
* obj0
= 0 ;
41523 PyObject
* obj1
= 0 ;
41524 PyObject
* obj2
= 0 ;
41525 PyObject
* obj3
= 0 ;
41526 PyObject
* obj4
= 0 ;
41527 PyObject
* obj5
= 0 ;
41528 PyObject
* obj6
= 0 ;
41529 PyObject
* obj7
= 0 ;
41530 PyObject
* obj8
= 0 ;
41531 char * kwnames
[] = {
41532 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41537 if (!SWIG_IsOK(res1
)) {
41538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41540 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41542 if (!SWIG_IsOK(res2
)) {
41543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41545 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41548 if (!SWIG_IsOK(ecode3
)) {
41549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41551 arg3
= static_cast< int >(val3
);
41554 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41555 if (!SWIG_IsOK(res4
)) {
41556 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41561 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41576 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41577 if (!SWIG_IsOK(ecode7
)) {
41578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41580 arg7
= static_cast< long >(val7
);
41583 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41584 if (!SWIG_IsOK(res8
)) {
41585 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41590 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41594 arg9
= wxString_in_helper(obj8
);
41595 if (arg9
== NULL
) SWIG_fail
;
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41602 wxPyEndAllowThreads(__tstate
);
41603 if (PyErr_Occurred()) SWIG_fail
;
41606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41622 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41623 PyObject
*resultobj
= 0;
41624 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41625 wxDateTime
*arg2
= 0 ;
41630 PyObject
* obj0
= 0 ;
41631 PyObject
* obj1
= 0 ;
41632 char * kwnames
[] = {
41633 (char *) "self",(char *) "dt", NULL
41636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41638 if (!SWIG_IsOK(res1
)) {
41639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41641 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41643 if (!SWIG_IsOK(res2
)) {
41644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41649 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41652 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41653 wxPyEndAllowThreads(__tstate
);
41654 if (PyErr_Occurred()) SWIG_fail
;
41656 resultobj
= SWIG_Py_Void();
41663 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41664 PyObject
*resultobj
= 0;
41665 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41669 PyObject
*swig_obj
[1] ;
41671 if (!args
) SWIG_fail
;
41672 swig_obj
[0] = args
;
41673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41674 if (!SWIG_IsOK(res1
)) {
41675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41677 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41680 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41681 wxPyEndAllowThreads(__tstate
);
41682 if (PyErr_Occurred()) SWIG_fail
;
41684 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41691 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41692 PyObject
*resultobj
= 0;
41693 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41694 wxDateTime
*arg2
= 0 ;
41695 wxDateTime
*arg3
= 0 ;
41702 PyObject
* obj0
= 0 ;
41703 PyObject
* obj1
= 0 ;
41704 PyObject
* obj2
= 0 ;
41705 char * kwnames
[] = {
41706 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41711 if (!SWIG_IsOK(res1
)) {
41712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41714 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41716 if (!SWIG_IsOK(res2
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41722 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41724 if (!SWIG_IsOK(res3
)) {
41725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41730 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41733 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41734 wxPyEndAllowThreads(__tstate
);
41735 if (PyErr_Occurred()) SWIG_fail
;
41737 resultobj
= SWIG_Py_Void();
41744 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41745 PyObject
*resultobj
= 0;
41746 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41750 PyObject
*swig_obj
[1] ;
41752 if (!args
) SWIG_fail
;
41753 swig_obj
[0] = args
;
41754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41755 if (!SWIG_IsOK(res1
)) {
41756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41758 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41761 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41765 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41772 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41773 PyObject
*resultobj
= 0;
41774 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41778 PyObject
*swig_obj
[1] ;
41780 if (!args
) SWIG_fail
;
41781 swig_obj
[0] = args
;
41782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41783 if (!SWIG_IsOK(res1
)) {
41784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41786 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41789 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41790 wxPyEndAllowThreads(__tstate
);
41791 if (PyErr_Occurred()) SWIG_fail
;
41793 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41800 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41803 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41804 return SWIG_Py_Void();
41807 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41808 return SWIG_Python_InitShadowInstance(args
);
41811 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41812 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41817 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41818 PyObject
*pyobj
= 0;
41822 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41824 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41831 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41832 PyObject
*resultobj
= 0;
41833 wxWindow
*arg1
= (wxWindow
*) 0 ;
41835 wxString
*arg3
= 0 ;
41836 wxString
*arg4
= 0 ;
41837 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41838 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41839 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41840 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41841 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41842 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41844 wxHyperlinkCtrl
*result
= 0 ;
41849 bool temp3
= false ;
41850 bool temp4
= false ;
41855 bool temp8
= false ;
41856 PyObject
* obj0
= 0 ;
41857 PyObject
* obj1
= 0 ;
41858 PyObject
* obj2
= 0 ;
41859 PyObject
* obj3
= 0 ;
41860 PyObject
* obj4
= 0 ;
41861 PyObject
* obj5
= 0 ;
41862 PyObject
* obj6
= 0 ;
41863 PyObject
* obj7
= 0 ;
41864 char * kwnames
[] = {
41865 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41870 if (!SWIG_IsOK(res1
)) {
41871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41875 if (!SWIG_IsOK(ecode2
)) {
41876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41878 arg2
= static_cast< int >(val2
);
41880 arg3
= wxString_in_helper(obj2
);
41881 if (arg3
== NULL
) SWIG_fail
;
41885 arg4
= wxString_in_helper(obj3
);
41886 if (arg4
== NULL
) SWIG_fail
;
41892 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41898 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41902 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41903 if (!SWIG_IsOK(ecode7
)) {
41904 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41906 arg7
= static_cast< long >(val7
);
41910 arg8
= wxString_in_helper(obj7
);
41911 if (arg8
== NULL
) SWIG_fail
;
41916 if (!wxPyCheckForApp()) SWIG_fail
;
41917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41918 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41919 wxPyEndAllowThreads(__tstate
);
41920 if (PyErr_Occurred()) SWIG_fail
;
41922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41953 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41954 PyObject
*resultobj
= 0;
41955 wxHyperlinkCtrl
*result
= 0 ;
41957 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41959 if (!wxPyCheckForApp()) SWIG_fail
;
41960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41961 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41962 wxPyEndAllowThreads(__tstate
);
41963 if (PyErr_Occurred()) SWIG_fail
;
41965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41972 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41973 PyObject
*resultobj
= 0;
41974 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41975 wxWindow
*arg2
= (wxWindow
*) 0 ;
41977 wxString
*arg4
= 0 ;
41978 wxString
*arg5
= 0 ;
41979 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41980 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41981 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41982 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41983 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41984 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41993 bool temp4
= false ;
41994 bool temp5
= false ;
41999 bool temp9
= false ;
42000 PyObject
* obj0
= 0 ;
42001 PyObject
* obj1
= 0 ;
42002 PyObject
* obj2
= 0 ;
42003 PyObject
* obj3
= 0 ;
42004 PyObject
* obj4
= 0 ;
42005 PyObject
* obj5
= 0 ;
42006 PyObject
* obj6
= 0 ;
42007 PyObject
* obj7
= 0 ;
42008 PyObject
* obj8
= 0 ;
42009 char * kwnames
[] = {
42010 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42015 if (!SWIG_IsOK(res1
)) {
42016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42018 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42020 if (!SWIG_IsOK(res2
)) {
42021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42025 if (!SWIG_IsOK(ecode3
)) {
42026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42028 arg3
= static_cast< int >(val3
);
42030 arg4
= wxString_in_helper(obj3
);
42031 if (arg4
== NULL
) SWIG_fail
;
42035 arg5
= wxString_in_helper(obj4
);
42036 if (arg5
== NULL
) SWIG_fail
;
42042 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42048 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42052 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42053 if (!SWIG_IsOK(ecode8
)) {
42054 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42056 arg8
= static_cast< long >(val8
);
42060 arg9
= wxString_in_helper(obj8
);
42061 if (arg9
== NULL
) SWIG_fail
;
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42068 wxPyEndAllowThreads(__tstate
);
42069 if (PyErr_Occurred()) SWIG_fail
;
42072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42104 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42105 PyObject
*resultobj
= 0;
42106 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42110 PyObject
*swig_obj
[1] ;
42112 if (!args
) SWIG_fail
;
42113 swig_obj
[0] = args
;
42114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42115 if (!SWIG_IsOK(res1
)) {
42116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42118 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42121 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42122 wxPyEndAllowThreads(__tstate
);
42123 if (PyErr_Occurred()) SWIG_fail
;
42125 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42132 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42133 PyObject
*resultobj
= 0;
42134 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42135 wxColour
*arg2
= 0 ;
42139 PyObject
* obj0
= 0 ;
42140 PyObject
* obj1
= 0 ;
42141 char * kwnames
[] = {
42142 (char *) "self",(char *) "colour", NULL
42145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42147 if (!SWIG_IsOK(res1
)) {
42148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42150 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42157 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42158 wxPyEndAllowThreads(__tstate
);
42159 if (PyErr_Occurred()) SWIG_fail
;
42161 resultobj
= SWIG_Py_Void();
42168 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42169 PyObject
*resultobj
= 0;
42170 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42174 PyObject
*swig_obj
[1] ;
42176 if (!args
) SWIG_fail
;
42177 swig_obj
[0] = args
;
42178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42179 if (!SWIG_IsOK(res1
)) {
42180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42182 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42185 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42186 wxPyEndAllowThreads(__tstate
);
42187 if (PyErr_Occurred()) SWIG_fail
;
42189 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42196 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42197 PyObject
*resultobj
= 0;
42198 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42199 wxColour
*arg2
= 0 ;
42203 PyObject
* obj0
= 0 ;
42204 PyObject
* obj1
= 0 ;
42205 char * kwnames
[] = {
42206 (char *) "self",(char *) "colour", NULL
42209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42211 if (!SWIG_IsOK(res1
)) {
42212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42214 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42221 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42222 wxPyEndAllowThreads(__tstate
);
42223 if (PyErr_Occurred()) SWIG_fail
;
42225 resultobj
= SWIG_Py_Void();
42232 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42233 PyObject
*resultobj
= 0;
42234 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42238 PyObject
*swig_obj
[1] ;
42240 if (!args
) SWIG_fail
;
42241 swig_obj
[0] = args
;
42242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42243 if (!SWIG_IsOK(res1
)) {
42244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42246 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42250 wxPyEndAllowThreads(__tstate
);
42251 if (PyErr_Occurred()) SWIG_fail
;
42253 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42260 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42261 PyObject
*resultobj
= 0;
42262 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42263 wxColour
*arg2
= 0 ;
42267 PyObject
* obj0
= 0 ;
42268 PyObject
* obj1
= 0 ;
42269 char * kwnames
[] = {
42270 (char *) "self",(char *) "colour", NULL
42273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42275 if (!SWIG_IsOK(res1
)) {
42276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42278 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42285 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42286 wxPyEndAllowThreads(__tstate
);
42287 if (PyErr_Occurred()) SWIG_fail
;
42289 resultobj
= SWIG_Py_Void();
42296 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42297 PyObject
*resultobj
= 0;
42298 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42302 PyObject
*swig_obj
[1] ;
42304 if (!args
) SWIG_fail
;
42305 swig_obj
[0] = args
;
42306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42307 if (!SWIG_IsOK(res1
)) {
42308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42310 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42313 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42314 wxPyEndAllowThreads(__tstate
);
42315 if (PyErr_Occurred()) SWIG_fail
;
42319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42330 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42331 PyObject
*resultobj
= 0;
42332 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42333 wxString
*arg2
= 0 ;
42336 bool temp2
= false ;
42337 PyObject
* obj0
= 0 ;
42338 PyObject
* obj1
= 0 ;
42339 char * kwnames
[] = {
42340 (char *) "self",(char *) "url", NULL
42343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42345 if (!SWIG_IsOK(res1
)) {
42346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42348 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42350 arg2
= wxString_in_helper(obj1
);
42351 if (arg2
== NULL
) SWIG_fail
;
42355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42356 (arg1
)->SetURL((wxString
const &)*arg2
);
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42360 resultobj
= SWIG_Py_Void();
42375 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42376 PyObject
*resultobj
= 0;
42377 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42378 bool arg2
= (bool) true ;
42383 PyObject
* obj0
= 0 ;
42384 PyObject
* obj1
= 0 ;
42385 char * kwnames
[] = {
42386 (char *) "self",(char *) "visited", NULL
42389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42391 if (!SWIG_IsOK(res1
)) {
42392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42394 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42397 if (!SWIG_IsOK(ecode2
)) {
42398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42400 arg2
= static_cast< bool >(val2
);
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 (arg1
)->SetVisited(arg2
);
42405 wxPyEndAllowThreads(__tstate
);
42406 if (PyErr_Occurred()) SWIG_fail
;
42408 resultobj
= SWIG_Py_Void();
42415 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42416 PyObject
*resultobj
= 0;
42417 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42421 PyObject
*swig_obj
[1] ;
42423 if (!args
) SWIG_fail
;
42424 swig_obj
[0] = args
;
42425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42426 if (!SWIG_IsOK(res1
)) {
42427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42429 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42432 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42433 wxPyEndAllowThreads(__tstate
);
42434 if (PyErr_Occurred()) SWIG_fail
;
42437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42445 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42448 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42449 return SWIG_Py_Void();
42452 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42453 return SWIG_Python_InitShadowInstance(args
);
42456 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42457 PyObject
*resultobj
= 0;
42458 wxObject
*arg1
= (wxObject
*) 0 ;
42460 wxString
*arg3
= 0 ;
42461 wxHyperlinkEvent
*result
= 0 ;
42466 bool temp3
= false ;
42467 PyObject
* obj0
= 0 ;
42468 PyObject
* obj1
= 0 ;
42469 PyObject
* obj2
= 0 ;
42470 char * kwnames
[] = {
42471 (char *) "generator",(char *) "id",(char *) "url", NULL
42474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42476 if (!SWIG_IsOK(res1
)) {
42477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42479 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42481 if (!SWIG_IsOK(ecode2
)) {
42482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42484 arg2
= static_cast< int >(val2
);
42486 arg3
= wxString_in_helper(obj2
);
42487 if (arg3
== NULL
) SWIG_fail
;
42491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42492 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42493 wxPyEndAllowThreads(__tstate
);
42494 if (PyErr_Occurred()) SWIG_fail
;
42496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42511 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42512 PyObject
*resultobj
= 0;
42513 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42517 PyObject
*swig_obj
[1] ;
42519 if (!args
) SWIG_fail
;
42520 swig_obj
[0] = args
;
42521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42522 if (!SWIG_IsOK(res1
)) {
42523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42525 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42528 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42529 wxPyEndAllowThreads(__tstate
);
42530 if (PyErr_Occurred()) SWIG_fail
;
42534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42545 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42546 PyObject
*resultobj
= 0;
42547 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42548 wxString
*arg2
= 0 ;
42551 bool temp2
= false ;
42552 PyObject
* obj0
= 0 ;
42553 PyObject
* obj1
= 0 ;
42554 char * kwnames
[] = {
42555 (char *) "self",(char *) "url", NULL
42558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42560 if (!SWIG_IsOK(res1
)) {
42561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42563 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42565 arg2
= wxString_in_helper(obj1
);
42566 if (arg2
== NULL
) SWIG_fail
;
42570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42571 (arg1
)->SetURL((wxString
const &)*arg2
);
42572 wxPyEndAllowThreads(__tstate
);
42573 if (PyErr_Occurred()) SWIG_fail
;
42575 resultobj
= SWIG_Py_Void();
42590 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42593 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42594 return SWIG_Py_Void();
42597 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42598 return SWIG_Python_InitShadowInstance(args
);
42601 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42602 PyObject
*resultobj
= 0;
42603 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42604 wxWindow
*arg2
= (wxWindow
*) 0 ;
42606 wxString
const &arg4_defvalue
= wxEmptyString
;
42607 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42608 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42609 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42610 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42611 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42612 long arg7
= (long) 0 ;
42613 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42614 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42615 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42616 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42624 bool temp4
= false ;
42631 bool temp9
= false ;
42632 PyObject
* obj0
= 0 ;
42633 PyObject
* obj1
= 0 ;
42634 PyObject
* obj2
= 0 ;
42635 PyObject
* obj3
= 0 ;
42636 PyObject
* obj4
= 0 ;
42637 PyObject
* obj5
= 0 ;
42638 PyObject
* obj6
= 0 ;
42639 PyObject
* obj7
= 0 ;
42640 PyObject
* obj8
= 0 ;
42641 char * kwnames
[] = {
42642 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42647 if (!SWIG_IsOK(res1
)) {
42648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42650 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42652 if (!SWIG_IsOK(res2
)) {
42653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42657 if (!SWIG_IsOK(ecode3
)) {
42658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42660 arg3
= static_cast< int >(val3
);
42663 arg4
= wxString_in_helper(obj3
);
42664 if (arg4
== NULL
) SWIG_fail
;
42671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42681 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42682 if (!SWIG_IsOK(ecode7
)) {
42683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42685 arg7
= static_cast< long >(val7
);
42688 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42689 if (!SWIG_IsOK(res8
)) {
42690 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42695 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42699 arg9
= wxString_in_helper(obj8
);
42700 if (arg9
== NULL
) SWIG_fail
;
42705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42706 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42707 wxPyEndAllowThreads(__tstate
);
42708 if (PyErr_Occurred()) SWIG_fail
;
42711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42735 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42736 PyObject
*resultobj
= 0;
42737 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42743 PyObject
* obj0
= 0 ;
42744 PyObject
* obj1
= 0 ;
42745 char * kwnames
[] = {
42746 (char *) "self",(char *) "newmargin", NULL
42749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42751 if (!SWIG_IsOK(res1
)) {
42752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42754 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42756 if (!SWIG_IsOK(ecode2
)) {
42757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42759 arg2
= static_cast< int >(val2
);
42761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42762 (arg1
)->SetInternalMargin(arg2
);
42763 wxPyEndAllowThreads(__tstate
);
42764 if (PyErr_Occurred()) SWIG_fail
;
42766 resultobj
= SWIG_Py_Void();
42773 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42774 PyObject
*resultobj
= 0;
42775 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42779 PyObject
*swig_obj
[1] ;
42781 if (!args
) SWIG_fail
;
42782 swig_obj
[0] = args
;
42783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42784 if (!SWIG_IsOK(res1
)) {
42785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42787 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42790 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42791 wxPyEndAllowThreads(__tstate
);
42792 if (PyErr_Occurred()) SWIG_fail
;
42794 resultobj
= SWIG_From_int(static_cast< int >(result
));
42801 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42802 PyObject
*resultobj
= 0;
42803 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42809 PyObject
* obj0
= 0 ;
42810 PyObject
* obj1
= 0 ;
42811 char * kwnames
[] = {
42812 (char *) "self",(char *) "prop", NULL
42815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42817 if (!SWIG_IsOK(res1
)) {
42818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42820 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42822 if (!SWIG_IsOK(ecode2
)) {
42823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42825 arg2
= static_cast< int >(val2
);
42827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42828 (arg1
)->SetTextCtrlProportion(arg2
);
42829 wxPyEndAllowThreads(__tstate
);
42830 if (PyErr_Occurred()) SWIG_fail
;
42832 resultobj
= SWIG_Py_Void();
42839 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42840 PyObject
*resultobj
= 0;
42841 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42845 PyObject
*swig_obj
[1] ;
42847 if (!args
) SWIG_fail
;
42848 swig_obj
[0] = args
;
42849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42850 if (!SWIG_IsOK(res1
)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42853 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42860 resultobj
= SWIG_From_int(static_cast< int >(result
));
42867 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42868 PyObject
*resultobj
= 0;
42869 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42875 PyObject
* obj0
= 0 ;
42876 PyObject
* obj1
= 0 ;
42877 char * kwnames
[] = {
42878 (char *) "self",(char *) "prop", NULL
42881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42883 if (!SWIG_IsOK(res1
)) {
42884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42886 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42888 if (!SWIG_IsOK(ecode2
)) {
42889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42891 arg2
= static_cast< int >(val2
);
42893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42894 (arg1
)->SetPickerCtrlProportion(arg2
);
42895 wxPyEndAllowThreads(__tstate
);
42896 if (PyErr_Occurred()) SWIG_fail
;
42898 resultobj
= SWIG_Py_Void();
42905 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42906 PyObject
*resultobj
= 0;
42907 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42911 PyObject
*swig_obj
[1] ;
42913 if (!args
) SWIG_fail
;
42914 swig_obj
[0] = args
;
42915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42916 if (!SWIG_IsOK(res1
)) {
42917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42919 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42922 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42923 wxPyEndAllowThreads(__tstate
);
42924 if (PyErr_Occurred()) SWIG_fail
;
42926 resultobj
= SWIG_From_int(static_cast< int >(result
));
42933 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42934 PyObject
*resultobj
= 0;
42935 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42939 PyObject
*swig_obj
[1] ;
42941 if (!args
) SWIG_fail
;
42942 swig_obj
[0] = args
;
42943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42944 if (!SWIG_IsOK(res1
)) {
42945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42947 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42950 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42951 wxPyEndAllowThreads(__tstate
);
42952 if (PyErr_Occurred()) SWIG_fail
;
42955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42963 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42964 PyObject
*resultobj
= 0;
42965 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42966 bool arg2
= (bool) true ;
42971 PyObject
* obj0
= 0 ;
42972 PyObject
* obj1
= 0 ;
42973 char * kwnames
[] = {
42974 (char *) "self",(char *) "grow", NULL
42977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42979 if (!SWIG_IsOK(res1
)) {
42980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42982 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42984 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42985 if (!SWIG_IsOK(ecode2
)) {
42986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42988 arg2
= static_cast< bool >(val2
);
42991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42992 (arg1
)->SetTextCtrlGrowable(arg2
);
42993 wxPyEndAllowThreads(__tstate
);
42994 if (PyErr_Occurred()) SWIG_fail
;
42996 resultobj
= SWIG_Py_Void();
43003 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43004 PyObject
*resultobj
= 0;
43005 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43009 PyObject
*swig_obj
[1] ;
43011 if (!args
) SWIG_fail
;
43012 swig_obj
[0] = args
;
43013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43014 if (!SWIG_IsOK(res1
)) {
43015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43017 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43020 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43021 wxPyEndAllowThreads(__tstate
);
43022 if (PyErr_Occurred()) SWIG_fail
;
43025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43033 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43034 PyObject
*resultobj
= 0;
43035 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43036 bool arg2
= (bool) true ;
43041 PyObject
* obj0
= 0 ;
43042 PyObject
* obj1
= 0 ;
43043 char * kwnames
[] = {
43044 (char *) "self",(char *) "grow", NULL
43047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43049 if (!SWIG_IsOK(res1
)) {
43050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43052 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43055 if (!SWIG_IsOK(ecode2
)) {
43056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43058 arg2
= static_cast< bool >(val2
);
43061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43062 (arg1
)->SetPickerCtrlGrowable(arg2
);
43063 wxPyEndAllowThreads(__tstate
);
43064 if (PyErr_Occurred()) SWIG_fail
;
43066 resultobj
= SWIG_Py_Void();
43073 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43074 PyObject
*resultobj
= 0;
43075 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43079 PyObject
*swig_obj
[1] ;
43081 if (!args
) SWIG_fail
;
43082 swig_obj
[0] = args
;
43083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43084 if (!SWIG_IsOK(res1
)) {
43085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43087 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43090 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43091 wxPyEndAllowThreads(__tstate
);
43092 if (PyErr_Occurred()) SWIG_fail
;
43095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43103 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43104 PyObject
*resultobj
= 0;
43105 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43106 wxTextCtrl
*result
= 0 ;
43109 PyObject
*swig_obj
[1] ;
43111 if (!args
) SWIG_fail
;
43112 swig_obj
[0] = args
;
43113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43114 if (!SWIG_IsOK(res1
)) {
43115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43117 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43120 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43125 resultobj
= wxPyMake_wxObject(result
, 0);
43133 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43134 PyObject
*resultobj
= 0;
43135 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43136 wxControl
*result
= 0 ;
43139 PyObject
*swig_obj
[1] ;
43141 if (!args
) SWIG_fail
;
43142 swig_obj
[0] = args
;
43143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43144 if (!SWIG_IsOK(res1
)) {
43145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43147 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43150 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43155 resultobj
= wxPyMake_wxObject(result
, 0);
43163 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43167 return SWIG_Py_Void();
43170 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43171 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43176 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43177 PyObject
*pyobj
= 0;
43181 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43183 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43190 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43191 PyObject
*resultobj
= 0;
43192 wxWindow
*arg1
= (wxWindow
*) 0 ;
43193 int arg2
= (int) -1 ;
43194 wxColour
const &arg3_defvalue
= *wxBLACK
;
43195 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43200 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43201 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43202 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43203 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43205 wxColourPickerCtrl
*result
= 0 ;
43217 bool temp8
= false ;
43218 PyObject
* obj0
= 0 ;
43219 PyObject
* obj1
= 0 ;
43220 PyObject
* obj2
= 0 ;
43221 PyObject
* obj3
= 0 ;
43222 PyObject
* obj4
= 0 ;
43223 PyObject
* obj5
= 0 ;
43224 PyObject
* obj6
= 0 ;
43225 PyObject
* obj7
= 0 ;
43226 char * kwnames
[] = {
43227 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43232 if (!SWIG_IsOK(res1
)) {
43233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43235 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43238 if (!SWIG_IsOK(ecode2
)) {
43239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43241 arg2
= static_cast< int >(val2
);
43246 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43262 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43263 if (!SWIG_IsOK(ecode6
)) {
43264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43266 arg6
= static_cast< long >(val6
);
43269 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43270 if (!SWIG_IsOK(res7
)) {
43271 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43276 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43280 arg8
= wxString_in_helper(obj7
);
43281 if (arg8
== NULL
) SWIG_fail
;
43286 if (!wxPyCheckForApp()) SWIG_fail
;
43287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43288 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43289 wxPyEndAllowThreads(__tstate
);
43290 if (PyErr_Occurred()) SWIG_fail
;
43292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43307 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43308 PyObject
*resultobj
= 0;
43309 wxColourPickerCtrl
*result
= 0 ;
43311 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43313 if (!wxPyCheckForApp()) SWIG_fail
;
43314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43315 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43316 wxPyEndAllowThreads(__tstate
);
43317 if (PyErr_Occurred()) SWIG_fail
;
43319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43326 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43327 PyObject
*resultobj
= 0;
43328 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43329 wxWindow
*arg2
= (wxWindow
*) 0 ;
43331 wxColour
const &arg4_defvalue
= *wxBLACK
;
43332 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43333 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43334 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43335 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43336 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43337 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43338 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43339 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43340 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43341 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43356 bool temp9
= false ;
43357 PyObject
* obj0
= 0 ;
43358 PyObject
* obj1
= 0 ;
43359 PyObject
* obj2
= 0 ;
43360 PyObject
* obj3
= 0 ;
43361 PyObject
* obj4
= 0 ;
43362 PyObject
* obj5
= 0 ;
43363 PyObject
* obj6
= 0 ;
43364 PyObject
* obj7
= 0 ;
43365 PyObject
* obj8
= 0 ;
43366 char * kwnames
[] = {
43367 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43372 if (!SWIG_IsOK(res1
)) {
43373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43375 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43377 if (!SWIG_IsOK(res2
)) {
43378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43380 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43382 if (!SWIG_IsOK(ecode3
)) {
43383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43385 arg3
= static_cast< int >(val3
);
43389 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43395 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43401 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43405 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43406 if (!SWIG_IsOK(ecode7
)) {
43407 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43409 arg7
= static_cast< long >(val7
);
43412 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43413 if (!SWIG_IsOK(res8
)) {
43414 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43419 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43423 arg9
= wxString_in_helper(obj8
);
43424 if (arg9
== NULL
) SWIG_fail
;
43429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43431 wxPyEndAllowThreads(__tstate
);
43432 if (PyErr_Occurred()) SWIG_fail
;
43435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43451 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43452 PyObject
*resultobj
= 0;
43453 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43457 PyObject
*swig_obj
[1] ;
43459 if (!args
) SWIG_fail
;
43460 swig_obj
[0] = args
;
43461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43462 if (!SWIG_IsOK(res1
)) {
43463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43465 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43468 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43469 wxPyEndAllowThreads(__tstate
);
43470 if (PyErr_Occurred()) SWIG_fail
;
43472 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43479 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43480 PyObject
*resultobj
= 0;
43481 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43482 wxColour
*arg2
= 0 ;
43486 PyObject
* obj0
= 0 ;
43487 PyObject
* obj1
= 0 ;
43488 char * kwnames
[] = {
43489 (char *) "self",(char *) "col", NULL
43492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43494 if (!SWIG_IsOK(res1
)) {
43495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43497 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43504 (arg1
)->SetColour((wxColour
const &)*arg2
);
43505 wxPyEndAllowThreads(__tstate
);
43506 if (PyErr_Occurred()) SWIG_fail
;
43508 resultobj
= SWIG_Py_Void();
43515 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43518 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43519 return SWIG_Py_Void();
43522 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43523 return SWIG_Python_InitShadowInstance(args
);
43526 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43527 PyObject
*resultobj
= 0;
43528 wxObject
*arg1
= (wxObject
*) 0 ;
43530 wxColour
*arg3
= 0 ;
43531 wxColourPickerEvent
*result
= 0 ;
43537 PyObject
* obj0
= 0 ;
43538 PyObject
* obj1
= 0 ;
43539 PyObject
* obj2
= 0 ;
43540 char * kwnames
[] = {
43541 (char *) "generator",(char *) "id",(char *) "col", NULL
43544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43546 if (!SWIG_IsOK(res1
)) {
43547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43549 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43551 if (!SWIG_IsOK(ecode2
)) {
43552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43554 arg2
= static_cast< int >(val2
);
43557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43561 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43562 wxPyEndAllowThreads(__tstate
);
43563 if (PyErr_Occurred()) SWIG_fail
;
43565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43572 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43573 PyObject
*resultobj
= 0;
43574 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43578 PyObject
*swig_obj
[1] ;
43580 if (!args
) SWIG_fail
;
43581 swig_obj
[0] = args
;
43582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43583 if (!SWIG_IsOK(res1
)) {
43584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43586 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43589 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43590 wxPyEndAllowThreads(__tstate
);
43591 if (PyErr_Occurred()) SWIG_fail
;
43593 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43600 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43601 PyObject
*resultobj
= 0;
43602 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43603 wxColour
*arg2
= 0 ;
43607 PyObject
* obj0
= 0 ;
43608 PyObject
* obj1
= 0 ;
43609 char * kwnames
[] = {
43610 (char *) "self",(char *) "c", NULL
43613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43615 if (!SWIG_IsOK(res1
)) {
43616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43618 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43625 (arg1
)->SetColour((wxColour
const &)*arg2
);
43626 wxPyEndAllowThreads(__tstate
);
43627 if (PyErr_Occurred()) SWIG_fail
;
43629 resultobj
= SWIG_Py_Void();
43636 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43639 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43640 return SWIG_Py_Void();
43643 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43644 return SWIG_Python_InitShadowInstance(args
);
43647 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43648 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43653 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43654 PyObject
*pyobj
= 0;
43658 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43660 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43667 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43668 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43673 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43674 PyObject
*pyobj
= 0;
43678 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43680 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43687 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43688 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43693 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43694 PyObject
*pyobj
= 0;
43698 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43700 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43707 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43708 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43713 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43714 PyObject
*pyobj
= 0;
43718 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43720 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43727 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43728 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43733 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43734 PyObject
*pyobj
= 0;
43738 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43740 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43747 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43748 PyObject
*resultobj
= 0;
43749 wxWindow
*arg1
= (wxWindow
*) 0 ;
43750 int arg2
= (int) -1 ;
43751 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43753 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43755 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43756 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43757 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43758 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43759 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43760 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43761 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43762 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43763 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43764 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43765 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43766 wxFilePickerCtrl
*result
= 0 ;
43771 bool temp3
= false ;
43772 bool temp4
= false ;
43773 bool temp5
= false ;
43780 bool temp10
= false ;
43781 PyObject
* obj0
= 0 ;
43782 PyObject
* obj1
= 0 ;
43783 PyObject
* obj2
= 0 ;
43784 PyObject
* obj3
= 0 ;
43785 PyObject
* obj4
= 0 ;
43786 PyObject
* obj5
= 0 ;
43787 PyObject
* obj6
= 0 ;
43788 PyObject
* obj7
= 0 ;
43789 PyObject
* obj8
= 0 ;
43790 PyObject
* obj9
= 0 ;
43791 char * kwnames
[] = {
43792 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43797 if (!SWIG_IsOK(res1
)) {
43798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43803 if (!SWIG_IsOK(ecode2
)) {
43804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43806 arg2
= static_cast< int >(val2
);
43810 arg3
= wxString_in_helper(obj2
);
43811 if (arg3
== NULL
) SWIG_fail
;
43817 arg4
= wxString_in_helper(obj3
);
43818 if (arg4
== NULL
) SWIG_fail
;
43824 arg5
= wxString_in_helper(obj4
);
43825 if (arg5
== NULL
) SWIG_fail
;
43832 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43838 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43842 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43843 if (!SWIG_IsOK(ecode8
)) {
43844 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43846 arg8
= static_cast< long >(val8
);
43849 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43850 if (!SWIG_IsOK(res9
)) {
43851 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43856 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43860 arg10
= wxString_in_helper(obj9
);
43861 if (arg10
== NULL
) SWIG_fail
;
43866 if (!wxPyCheckForApp()) SWIG_fail
;
43867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43868 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
);
43869 wxPyEndAllowThreads(__tstate
);
43870 if (PyErr_Occurred()) SWIG_fail
;
43872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43911 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43912 PyObject
*resultobj
= 0;
43913 wxFilePickerCtrl
*result
= 0 ;
43915 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43917 if (!wxPyCheckForApp()) SWIG_fail
;
43918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43919 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43920 wxPyEndAllowThreads(__tstate
);
43921 if (PyErr_Occurred()) SWIG_fail
;
43923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43930 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43931 PyObject
*resultobj
= 0;
43932 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43933 wxWindow
*arg2
= (wxWindow
*) 0 ;
43934 int arg3
= (int) -1 ;
43935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43937 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43938 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43939 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43940 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43941 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43942 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43943 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43944 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43945 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43946 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43947 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43948 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43949 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43957 bool temp4
= false ;
43958 bool temp5
= false ;
43959 bool temp6
= false ;
43966 bool temp11
= false ;
43967 PyObject
* obj0
= 0 ;
43968 PyObject
* obj1
= 0 ;
43969 PyObject
* obj2
= 0 ;
43970 PyObject
* obj3
= 0 ;
43971 PyObject
* obj4
= 0 ;
43972 PyObject
* obj5
= 0 ;
43973 PyObject
* obj6
= 0 ;
43974 PyObject
* obj7
= 0 ;
43975 PyObject
* obj8
= 0 ;
43976 PyObject
* obj9
= 0 ;
43977 PyObject
* obj10
= 0 ;
43978 char * kwnames
[] = {
43979 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43984 if (!SWIG_IsOK(res1
)) {
43985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43987 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43989 if (!SWIG_IsOK(res2
)) {
43990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43995 if (!SWIG_IsOK(ecode3
)) {
43996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43998 arg3
= static_cast< int >(val3
);
44002 arg4
= wxString_in_helper(obj3
);
44003 if (arg4
== NULL
) SWIG_fail
;
44009 arg5
= wxString_in_helper(obj4
);
44010 if (arg5
== NULL
) SWIG_fail
;
44016 arg6
= wxString_in_helper(obj5
);
44017 if (arg6
== NULL
) SWIG_fail
;
44024 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44030 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44034 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44035 if (!SWIG_IsOK(ecode9
)) {
44036 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44038 arg9
= static_cast< long >(val9
);
44041 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44042 if (!SWIG_IsOK(res10
)) {
44043 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44048 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44052 arg11
= wxString_in_helper(obj10
);
44053 if (arg11
== NULL
) SWIG_fail
;
44058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44059 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
);
44060 wxPyEndAllowThreads(__tstate
);
44061 if (PyErr_Occurred()) SWIG_fail
;
44064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44104 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44105 PyObject
*resultobj
= 0;
44106 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44110 PyObject
*swig_obj
[1] ;
44112 if (!args
) SWIG_fail
;
44113 swig_obj
[0] = args
;
44114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44115 if (!SWIG_IsOK(res1
)) {
44116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44118 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44121 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44122 wxPyEndAllowThreads(__tstate
);
44123 if (PyErr_Occurred()) SWIG_fail
;
44127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44138 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44139 PyObject
*resultobj
= 0;
44140 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44141 wxString
*arg2
= 0 ;
44144 bool temp2
= false ;
44145 PyObject
* obj0
= 0 ;
44146 PyObject
* obj1
= 0 ;
44147 char * kwnames
[] = {
44148 (char *) "self",(char *) "str", NULL
44151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44153 if (!SWIG_IsOK(res1
)) {
44154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44156 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44158 arg2
= wxString_in_helper(obj1
);
44159 if (arg2
== NULL
) SWIG_fail
;
44163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44164 (arg1
)->SetPath((wxString
const &)*arg2
);
44165 wxPyEndAllowThreads(__tstate
);
44166 if (PyErr_Occurred()) SWIG_fail
;
44168 resultobj
= SWIG_Py_Void();
44183 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44184 PyObject
*resultobj
= 0;
44185 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44186 wxString
*arg2
= 0 ;
44190 bool temp2
= false ;
44191 PyObject
* obj0
= 0 ;
44192 PyObject
* obj1
= 0 ;
44193 char * kwnames
[] = {
44194 (char *) "self",(char *) "path", NULL
44197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44199 if (!SWIG_IsOK(res1
)) {
44200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44202 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44204 arg2
= wxString_in_helper(obj1
);
44205 if (arg2
== NULL
) SWIG_fail
;
44209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44210 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44211 wxPyEndAllowThreads(__tstate
);
44212 if (PyErr_Occurred()) SWIG_fail
;
44215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44231 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44232 PyObject
*resultobj
= 0;
44233 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44237 PyObject
*swig_obj
[1] ;
44239 if (!args
) SWIG_fail
;
44240 swig_obj
[0] = args
;
44241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44242 if (!SWIG_IsOK(res1
)) {
44243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44245 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44248 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44249 wxPyEndAllowThreads(__tstate
);
44250 if (PyErr_Occurred()) SWIG_fail
;
44254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44265 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44268 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44269 return SWIG_Py_Void();
44272 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44273 return SWIG_Python_InitShadowInstance(args
);
44276 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44277 PyObject
*resultobj
= 0;
44278 wxWindow
*arg1
= (wxWindow
*) 0 ;
44279 int arg2
= (int) -1 ;
44280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44282 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44284 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44285 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44286 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44287 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44288 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44289 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44290 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44291 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44292 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44293 wxDirPickerCtrl
*result
= 0 ;
44298 bool temp3
= false ;
44299 bool temp4
= false ;
44306 bool temp9
= false ;
44307 PyObject
* obj0
= 0 ;
44308 PyObject
* obj1
= 0 ;
44309 PyObject
* obj2
= 0 ;
44310 PyObject
* obj3
= 0 ;
44311 PyObject
* obj4
= 0 ;
44312 PyObject
* obj5
= 0 ;
44313 PyObject
* obj6
= 0 ;
44314 PyObject
* obj7
= 0 ;
44315 PyObject
* obj8
= 0 ;
44316 char * kwnames
[] = {
44317 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44322 if (!SWIG_IsOK(res1
)) {
44323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44325 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44328 if (!SWIG_IsOK(ecode2
)) {
44329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44331 arg2
= static_cast< int >(val2
);
44335 arg3
= wxString_in_helper(obj2
);
44336 if (arg3
== NULL
) SWIG_fail
;
44342 arg4
= wxString_in_helper(obj3
);
44343 if (arg4
== NULL
) SWIG_fail
;
44350 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44356 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44360 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44361 if (!SWIG_IsOK(ecode7
)) {
44362 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44364 arg7
= static_cast< long >(val7
);
44367 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44368 if (!SWIG_IsOK(res8
)) {
44369 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44374 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44378 arg9
= wxString_in_helper(obj8
);
44379 if (arg9
== NULL
) SWIG_fail
;
44384 if (!wxPyCheckForApp()) SWIG_fail
;
44385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44386 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
);
44387 wxPyEndAllowThreads(__tstate
);
44388 if (PyErr_Occurred()) SWIG_fail
;
44390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44421 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44422 PyObject
*resultobj
= 0;
44423 wxDirPickerCtrl
*result
= 0 ;
44425 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44427 if (!wxPyCheckForApp()) SWIG_fail
;
44428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44429 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44430 wxPyEndAllowThreads(__tstate
);
44431 if (PyErr_Occurred()) SWIG_fail
;
44433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44440 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44441 PyObject
*resultobj
= 0;
44442 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44443 wxWindow
*arg2
= (wxWindow
*) 0 ;
44444 int arg3
= (int) -1 ;
44445 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44446 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44447 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44448 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44449 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44450 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44451 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44452 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44453 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44454 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44455 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44456 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44457 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44465 bool temp4
= false ;
44466 bool temp5
= false ;
44473 bool temp10
= false ;
44474 PyObject
* obj0
= 0 ;
44475 PyObject
* obj1
= 0 ;
44476 PyObject
* obj2
= 0 ;
44477 PyObject
* obj3
= 0 ;
44478 PyObject
* obj4
= 0 ;
44479 PyObject
* obj5
= 0 ;
44480 PyObject
* obj6
= 0 ;
44481 PyObject
* obj7
= 0 ;
44482 PyObject
* obj8
= 0 ;
44483 PyObject
* obj9
= 0 ;
44484 char * kwnames
[] = {
44485 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44490 if (!SWIG_IsOK(res1
)) {
44491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44493 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44495 if (!SWIG_IsOK(res2
)) {
44496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44501 if (!SWIG_IsOK(ecode3
)) {
44502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44504 arg3
= static_cast< int >(val3
);
44508 arg4
= wxString_in_helper(obj3
);
44509 if (arg4
== NULL
) SWIG_fail
;
44515 arg5
= wxString_in_helper(obj4
);
44516 if (arg5
== NULL
) SWIG_fail
;
44523 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44529 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44533 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44534 if (!SWIG_IsOK(ecode8
)) {
44535 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44537 arg8
= static_cast< long >(val8
);
44540 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44541 if (!SWIG_IsOK(res9
)) {
44542 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44547 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44551 arg10
= wxString_in_helper(obj9
);
44552 if (arg10
== NULL
) SWIG_fail
;
44557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44558 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
);
44559 wxPyEndAllowThreads(__tstate
);
44560 if (PyErr_Occurred()) SWIG_fail
;
44563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44595 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44596 PyObject
*resultobj
= 0;
44597 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44601 PyObject
*swig_obj
[1] ;
44603 if (!args
) SWIG_fail
;
44604 swig_obj
[0] = args
;
44605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44606 if (!SWIG_IsOK(res1
)) {
44607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44609 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44612 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44613 wxPyEndAllowThreads(__tstate
);
44614 if (PyErr_Occurred()) SWIG_fail
;
44618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44629 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44630 PyObject
*resultobj
= 0;
44631 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44632 wxString
*arg2
= 0 ;
44635 bool temp2
= false ;
44636 PyObject
* obj0
= 0 ;
44637 PyObject
* obj1
= 0 ;
44638 char * kwnames
[] = {
44639 (char *) "self",(char *) "str", NULL
44642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44644 if (!SWIG_IsOK(res1
)) {
44645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44647 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44649 arg2
= wxString_in_helper(obj1
);
44650 if (arg2
== NULL
) SWIG_fail
;
44654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44655 (arg1
)->SetPath((wxString
const &)*arg2
);
44656 wxPyEndAllowThreads(__tstate
);
44657 if (PyErr_Occurred()) SWIG_fail
;
44659 resultobj
= SWIG_Py_Void();
44674 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44675 PyObject
*resultobj
= 0;
44676 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44677 wxString
*arg2
= 0 ;
44681 bool temp2
= false ;
44682 PyObject
* obj0
= 0 ;
44683 PyObject
* obj1
= 0 ;
44684 char * kwnames
[] = {
44685 (char *) "self",(char *) "path", NULL
44688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44690 if (!SWIG_IsOK(res1
)) {
44691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44693 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44695 arg2
= wxString_in_helper(obj1
);
44696 if (arg2
== NULL
) SWIG_fail
;
44700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44701 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44702 wxPyEndAllowThreads(__tstate
);
44703 if (PyErr_Occurred()) SWIG_fail
;
44706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44722 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44723 PyObject
*resultobj
= 0;
44724 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44728 PyObject
*swig_obj
[1] ;
44730 if (!args
) SWIG_fail
;
44731 swig_obj
[0] = args
;
44732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44733 if (!SWIG_IsOK(res1
)) {
44734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44736 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44739 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44740 wxPyEndAllowThreads(__tstate
);
44741 if (PyErr_Occurred()) SWIG_fail
;
44745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44756 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44759 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44760 return SWIG_Py_Void();
44763 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44764 return SWIG_Python_InitShadowInstance(args
);
44767 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44768 PyObject
*resultobj
= 0;
44770 wxObject
*arg2
= (wxObject
*) 0 ;
44772 wxString
*arg4
= 0 ;
44773 wxFileDirPickerEvent
*result
= 0 ;
44780 bool temp4
= false ;
44781 PyObject
* obj0
= 0 ;
44782 PyObject
* obj1
= 0 ;
44783 PyObject
* obj2
= 0 ;
44784 PyObject
* obj3
= 0 ;
44785 char * kwnames
[] = {
44786 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44791 if (!SWIG_IsOK(ecode1
)) {
44792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44794 arg1
= static_cast< wxEventType
>(val1
);
44795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44796 if (!SWIG_IsOK(res2
)) {
44797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44799 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44801 if (!SWIG_IsOK(ecode3
)) {
44802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44804 arg3
= static_cast< int >(val3
);
44806 arg4
= wxString_in_helper(obj3
);
44807 if (arg4
== NULL
) SWIG_fail
;
44811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44812 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44813 wxPyEndAllowThreads(__tstate
);
44814 if (PyErr_Occurred()) SWIG_fail
;
44816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44831 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44832 PyObject
*resultobj
= 0;
44833 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44837 PyObject
*swig_obj
[1] ;
44839 if (!args
) SWIG_fail
;
44840 swig_obj
[0] = args
;
44841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44842 if (!SWIG_IsOK(res1
)) {
44843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44845 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44848 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44849 wxPyEndAllowThreads(__tstate
);
44850 if (PyErr_Occurred()) SWIG_fail
;
44854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44865 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44866 PyObject
*resultobj
= 0;
44867 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44868 wxString
*arg2
= 0 ;
44871 bool temp2
= false ;
44872 PyObject
* obj0
= 0 ;
44873 PyObject
* obj1
= 0 ;
44874 char * kwnames
[] = {
44875 (char *) "self",(char *) "p", NULL
44878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44880 if (!SWIG_IsOK(res1
)) {
44881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44883 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44885 arg2
= wxString_in_helper(obj1
);
44886 if (arg2
== NULL
) SWIG_fail
;
44890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44891 (arg1
)->SetPath((wxString
const &)*arg2
);
44892 wxPyEndAllowThreads(__tstate
);
44893 if (PyErr_Occurred()) SWIG_fail
;
44895 resultobj
= SWIG_Py_Void();
44910 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44913 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44914 return SWIG_Py_Void();
44917 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44918 return SWIG_Python_InitShadowInstance(args
);
44921 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44922 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44927 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44928 PyObject
*pyobj
= 0;
44932 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44934 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44941 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44942 PyObject
*resultobj
= 0;
44943 wxWindow
*arg1
= (wxWindow
*) 0 ;
44944 int arg2
= (int) -1 ;
44945 wxFont
const &arg3_defvalue
= wxNullFont
;
44946 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44947 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44948 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44949 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44950 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44951 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44952 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44953 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44954 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44956 wxFontPickerCtrl
*result
= 0 ;
44969 bool temp8
= false ;
44970 PyObject
* obj0
= 0 ;
44971 PyObject
* obj1
= 0 ;
44972 PyObject
* obj2
= 0 ;
44973 PyObject
* obj3
= 0 ;
44974 PyObject
* obj4
= 0 ;
44975 PyObject
* obj5
= 0 ;
44976 PyObject
* obj6
= 0 ;
44977 PyObject
* obj7
= 0 ;
44978 char * kwnames
[] = {
44979 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44984 if (!SWIG_IsOK(res1
)) {
44985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44990 if (!SWIG_IsOK(ecode2
)) {
44991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44993 arg2
= static_cast< int >(val2
);
44996 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44997 if (!SWIG_IsOK(res3
)) {
44998 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45003 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45019 if (!SWIG_IsOK(ecode6
)) {
45020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45022 arg6
= static_cast< long >(val6
);
45025 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45026 if (!SWIG_IsOK(res7
)) {
45027 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45032 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45036 arg8
= wxString_in_helper(obj7
);
45037 if (arg8
== NULL
) SWIG_fail
;
45042 if (!wxPyCheckForApp()) SWIG_fail
;
45043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45044 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45045 wxPyEndAllowThreads(__tstate
);
45046 if (PyErr_Occurred()) SWIG_fail
;
45048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45063 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45064 PyObject
*resultobj
= 0;
45065 wxFontPickerCtrl
*result
= 0 ;
45067 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45069 if (!wxPyCheckForApp()) SWIG_fail
;
45070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45071 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45072 wxPyEndAllowThreads(__tstate
);
45073 if (PyErr_Occurred()) SWIG_fail
;
45075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45082 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45083 PyObject
*resultobj
= 0;
45084 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45085 wxWindow
*arg2
= (wxWindow
*) 0 ;
45086 int arg3
= (int) -1 ;
45087 wxFont
const &arg4_defvalue
= wxNullFont
;
45088 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45089 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45090 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45091 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45092 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45093 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45094 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45095 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45096 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45097 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45113 bool temp9
= false ;
45114 PyObject
* obj0
= 0 ;
45115 PyObject
* obj1
= 0 ;
45116 PyObject
* obj2
= 0 ;
45117 PyObject
* obj3
= 0 ;
45118 PyObject
* obj4
= 0 ;
45119 PyObject
* obj5
= 0 ;
45120 PyObject
* obj6
= 0 ;
45121 PyObject
* obj7
= 0 ;
45122 PyObject
* obj8
= 0 ;
45123 char * kwnames
[] = {
45124 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45129 if (!SWIG_IsOK(res1
)) {
45130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45132 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45134 if (!SWIG_IsOK(res2
)) {
45135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45137 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45140 if (!SWIG_IsOK(ecode3
)) {
45141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45143 arg3
= static_cast< int >(val3
);
45146 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45147 if (!SWIG_IsOK(res4
)) {
45148 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45153 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45164 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45168 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45169 if (!SWIG_IsOK(ecode7
)) {
45170 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45172 arg7
= static_cast< long >(val7
);
45175 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45176 if (!SWIG_IsOK(res8
)) {
45177 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45182 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45186 arg9
= wxString_in_helper(obj8
);
45187 if (arg9
== NULL
) SWIG_fail
;
45192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45194 wxPyEndAllowThreads(__tstate
);
45195 if (PyErr_Occurred()) SWIG_fail
;
45198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45214 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45215 PyObject
*resultobj
= 0;
45216 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45220 PyObject
*swig_obj
[1] ;
45222 if (!args
) SWIG_fail
;
45223 swig_obj
[0] = args
;
45224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45225 if (!SWIG_IsOK(res1
)) {
45226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45228 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45231 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45232 wxPyEndAllowThreads(__tstate
);
45233 if (PyErr_Occurred()) SWIG_fail
;
45235 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45242 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45243 PyObject
*resultobj
= 0;
45244 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45250 PyObject
* obj0
= 0 ;
45251 PyObject
* obj1
= 0 ;
45252 char * kwnames
[] = {
45253 (char *) "self",(char *) "f", NULL
45256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45258 if (!SWIG_IsOK(res1
)) {
45259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45261 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45263 if (!SWIG_IsOK(res2
)) {
45264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45269 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45272 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45273 wxPyEndAllowThreads(__tstate
);
45274 if (PyErr_Occurred()) SWIG_fail
;
45276 resultobj
= SWIG_Py_Void();
45283 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45284 PyObject
*resultobj
= 0;
45285 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45286 unsigned int arg2
;
45289 unsigned int val2
;
45291 PyObject
* obj0
= 0 ;
45292 PyObject
* obj1
= 0 ;
45293 char * kwnames
[] = {
45294 (char *) "self",(char *) "max", NULL
45297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45299 if (!SWIG_IsOK(res1
)) {
45300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45302 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45304 if (!SWIG_IsOK(ecode2
)) {
45305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45307 arg2
= static_cast< unsigned int >(val2
);
45309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45310 (arg1
)->SetMaxPointSize(arg2
);
45311 wxPyEndAllowThreads(__tstate
);
45312 if (PyErr_Occurred()) SWIG_fail
;
45314 resultobj
= SWIG_Py_Void();
45321 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45322 PyObject
*resultobj
= 0;
45323 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45324 unsigned int result
;
45327 PyObject
*swig_obj
[1] ;
45329 if (!args
) SWIG_fail
;
45330 swig_obj
[0] = args
;
45331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45332 if (!SWIG_IsOK(res1
)) {
45333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45335 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45338 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45339 wxPyEndAllowThreads(__tstate
);
45340 if (PyErr_Occurred()) SWIG_fail
;
45342 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45349 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45352 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45353 return SWIG_Py_Void();
45356 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45357 return SWIG_Python_InitShadowInstance(args
);
45360 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45361 PyObject
*resultobj
= 0;
45362 wxObject
*arg1
= (wxObject
*) 0 ;
45365 wxFontPickerEvent
*result
= 0 ;
45372 PyObject
* obj0
= 0 ;
45373 PyObject
* obj1
= 0 ;
45374 PyObject
* obj2
= 0 ;
45375 char * kwnames
[] = {
45376 (char *) "generator",(char *) "id",(char *) "f", NULL
45379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45381 if (!SWIG_IsOK(res1
)) {
45382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45384 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45386 if (!SWIG_IsOK(ecode2
)) {
45387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45389 arg2
= static_cast< int >(val2
);
45390 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45391 if (!SWIG_IsOK(res3
)) {
45392 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45397 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45400 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45401 wxPyEndAllowThreads(__tstate
);
45402 if (PyErr_Occurred()) SWIG_fail
;
45404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45411 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45412 PyObject
*resultobj
= 0;
45413 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45417 PyObject
*swig_obj
[1] ;
45419 if (!args
) SWIG_fail
;
45420 swig_obj
[0] = args
;
45421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45422 if (!SWIG_IsOK(res1
)) {
45423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45425 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45428 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45429 wxPyEndAllowThreads(__tstate
);
45430 if (PyErr_Occurred()) SWIG_fail
;
45432 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45439 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45440 PyObject
*resultobj
= 0;
45441 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45447 PyObject
* obj0
= 0 ;
45448 PyObject
* obj1
= 0 ;
45449 char * kwnames
[] = {
45450 (char *) "self",(char *) "c", NULL
45453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45455 if (!SWIG_IsOK(res1
)) {
45456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45458 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45460 if (!SWIG_IsOK(res2
)) {
45461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45466 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45469 (arg1
)->SetFont((wxFont
const &)*arg2
);
45470 wxPyEndAllowThreads(__tstate
);
45471 if (PyErr_Occurred()) SWIG_fail
;
45473 resultobj
= SWIG_Py_Void();
45480 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45483 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45484 return SWIG_Py_Void();
45487 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45488 return SWIG_Python_InitShadowInstance(args
);
45491 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45492 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45497 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45498 PyObject
*pyobj
= 0;
45502 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45504 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45511 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45512 PyObject
*resultobj
= 0;
45513 wxWindow
*arg1
= (wxWindow
*) 0 ;
45514 int arg2
= (int) -1 ;
45515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45521 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45522 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45523 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45524 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45525 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45526 wxCollapsiblePane
*result
= 0 ;
45531 bool temp3
= false ;
45538 bool temp8
= false ;
45539 PyObject
* obj0
= 0 ;
45540 PyObject
* obj1
= 0 ;
45541 PyObject
* obj2
= 0 ;
45542 PyObject
* obj3
= 0 ;
45543 PyObject
* obj4
= 0 ;
45544 PyObject
* obj5
= 0 ;
45545 PyObject
* obj6
= 0 ;
45546 PyObject
* obj7
= 0 ;
45547 char * kwnames
[] = {
45548 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45553 if (!SWIG_IsOK(res1
)) {
45554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45556 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45559 if (!SWIG_IsOK(ecode2
)) {
45560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45562 arg2
= static_cast< int >(val2
);
45566 arg3
= wxString_in_helper(obj2
);
45567 if (arg3
== NULL
) SWIG_fail
;
45574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45584 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45585 if (!SWIG_IsOK(ecode6
)) {
45586 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45588 arg6
= static_cast< long >(val6
);
45591 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45592 if (!SWIG_IsOK(res7
)) {
45593 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45598 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45602 arg8
= wxString_in_helper(obj7
);
45603 if (arg8
== NULL
) SWIG_fail
;
45608 if (!wxPyCheckForApp()) SWIG_fail
;
45609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45610 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45611 wxPyEndAllowThreads(__tstate
);
45612 if (PyErr_Occurred()) SWIG_fail
;
45614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45637 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45638 PyObject
*resultobj
= 0;
45639 wxCollapsiblePane
*result
= 0 ;
45641 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45643 if (!wxPyCheckForApp()) SWIG_fail
;
45644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45645 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45646 wxPyEndAllowThreads(__tstate
);
45647 if (PyErr_Occurred()) SWIG_fail
;
45649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45656 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45657 PyObject
*resultobj
= 0;
45658 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45659 wxWindow
*arg2
= (wxWindow
*) 0 ;
45660 int arg3
= (int) -1 ;
45661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45667 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45668 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45669 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45670 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45671 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45679 bool temp4
= false ;
45686 bool temp9
= false ;
45687 PyObject
* obj0
= 0 ;
45688 PyObject
* obj1
= 0 ;
45689 PyObject
* obj2
= 0 ;
45690 PyObject
* obj3
= 0 ;
45691 PyObject
* obj4
= 0 ;
45692 PyObject
* obj5
= 0 ;
45693 PyObject
* obj6
= 0 ;
45694 PyObject
* obj7
= 0 ;
45695 PyObject
* obj8
= 0 ;
45696 char * kwnames
[] = {
45697 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45702 if (!SWIG_IsOK(res1
)) {
45703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45705 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45707 if (!SWIG_IsOK(res2
)) {
45708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45713 if (!SWIG_IsOK(ecode3
)) {
45714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45716 arg3
= static_cast< int >(val3
);
45720 arg4
= wxString_in_helper(obj3
);
45721 if (arg4
== NULL
) SWIG_fail
;
45728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45738 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45739 if (!SWIG_IsOK(ecode7
)) {
45740 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45742 arg7
= static_cast< long >(val7
);
45745 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45746 if (!SWIG_IsOK(res8
)) {
45747 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45752 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45756 arg9
= wxString_in_helper(obj8
);
45757 if (arg9
== NULL
) SWIG_fail
;
45762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45763 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45764 wxPyEndAllowThreads(__tstate
);
45765 if (PyErr_Occurred()) SWIG_fail
;
45768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45792 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45793 PyObject
*resultobj
= 0;
45794 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45795 bool arg2
= (bool) true ;
45800 PyObject
* obj0
= 0 ;
45801 PyObject
* obj1
= 0 ;
45802 char * kwnames
[] = {
45803 (char *) "self",(char *) "collapse", NULL
45806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45808 if (!SWIG_IsOK(res1
)) {
45809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45811 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45814 if (!SWIG_IsOK(ecode2
)) {
45815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45817 arg2
= static_cast< bool >(val2
);
45820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45821 (arg1
)->Collapse(arg2
);
45822 wxPyEndAllowThreads(__tstate
);
45823 if (PyErr_Occurred()) SWIG_fail
;
45825 resultobj
= SWIG_Py_Void();
45832 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45833 PyObject
*resultobj
= 0;
45834 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45837 PyObject
*swig_obj
[1] ;
45839 if (!args
) SWIG_fail
;
45840 swig_obj
[0] = args
;
45841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45842 if (!SWIG_IsOK(res1
)) {
45843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45845 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45849 wxPyEndAllowThreads(__tstate
);
45850 if (PyErr_Occurred()) SWIG_fail
;
45852 resultobj
= SWIG_Py_Void();
45859 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45860 PyObject
*resultobj
= 0;
45861 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45865 PyObject
*swig_obj
[1] ;
45867 if (!args
) SWIG_fail
;
45868 swig_obj
[0] = args
;
45869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45870 if (!SWIG_IsOK(res1
)) {
45871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45873 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45876 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45877 wxPyEndAllowThreads(__tstate
);
45878 if (PyErr_Occurred()) SWIG_fail
;
45881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45889 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45890 PyObject
*resultobj
= 0;
45891 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45895 PyObject
*swig_obj
[1] ;
45897 if (!args
) SWIG_fail
;
45898 swig_obj
[0] = args
;
45899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45900 if (!SWIG_IsOK(res1
)) {
45901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45903 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45906 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45907 wxPyEndAllowThreads(__tstate
);
45908 if (PyErr_Occurred()) SWIG_fail
;
45911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45919 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45920 PyObject
*resultobj
= 0;
45921 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45922 wxWindow
*result
= 0 ;
45925 PyObject
*swig_obj
[1] ;
45927 if (!args
) SWIG_fail
;
45928 swig_obj
[0] = args
;
45929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45930 if (!SWIG_IsOK(res1
)) {
45931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45933 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45936 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45937 wxPyEndAllowThreads(__tstate
);
45938 if (PyErr_Occurred()) SWIG_fail
;
45941 resultobj
= wxPyMake_wxObject(result
, 0);
45949 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45952 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45953 return SWIG_Py_Void();
45956 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45957 return SWIG_Python_InitShadowInstance(args
);
45960 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45961 PyObject
*resultobj
= 0;
45962 wxObject
*arg1
= (wxObject
*) 0 ;
45965 wxCollapsiblePaneEvent
*result
= 0 ;
45972 PyObject
* obj0
= 0 ;
45973 PyObject
* obj1
= 0 ;
45974 PyObject
* obj2
= 0 ;
45975 char * kwnames
[] = {
45976 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45981 if (!SWIG_IsOK(res1
)) {
45982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45984 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45986 if (!SWIG_IsOK(ecode2
)) {
45987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45989 arg2
= static_cast< int >(val2
);
45990 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45991 if (!SWIG_IsOK(ecode3
)) {
45992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45994 arg3
= static_cast< bool >(val3
);
45996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45997 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45998 wxPyEndAllowThreads(__tstate
);
45999 if (PyErr_Occurred()) SWIG_fail
;
46001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46008 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46009 PyObject
*resultobj
= 0;
46010 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46014 PyObject
*swig_obj
[1] ;
46016 if (!args
) SWIG_fail
;
46017 swig_obj
[0] = args
;
46018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46019 if (!SWIG_IsOK(res1
)) {
46020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46022 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46025 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46026 wxPyEndAllowThreads(__tstate
);
46027 if (PyErr_Occurred()) SWIG_fail
;
46030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46038 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46039 PyObject
*resultobj
= 0;
46040 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46046 PyObject
* obj0
= 0 ;
46047 PyObject
* obj1
= 0 ;
46048 char * kwnames
[] = {
46049 (char *) "self",(char *) "c", NULL
46052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46054 if (!SWIG_IsOK(res1
)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46057 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46058 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46059 if (!SWIG_IsOK(ecode2
)) {
46060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46062 arg2
= static_cast< bool >(val2
);
46064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46065 (arg1
)->SetCollapsed(arg2
);
46066 wxPyEndAllowThreads(__tstate
);
46067 if (PyErr_Occurred()) SWIG_fail
;
46069 resultobj
= SWIG_Py_Void();
46076 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46079 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46080 return SWIG_Py_Void();
46083 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46084 return SWIG_Python_InitShadowInstance(args
);
46087 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46088 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46093 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46094 PyObject
*pyobj
= 0;
46098 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46100 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46107 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46108 PyObject
*resultobj
= 0;
46109 wxWindow
*arg1
= (wxWindow
*) 0 ;
46110 int arg2
= (int) -1 ;
46111 wxString
const &arg3_defvalue
= wxEmptyString
;
46112 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46117 long arg6
= (long) 0 ;
46118 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46119 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46120 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46121 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46122 wxSearchCtrl
*result
= 0 ;
46127 bool temp3
= false ;
46134 bool temp8
= false ;
46135 PyObject
* obj0
= 0 ;
46136 PyObject
* obj1
= 0 ;
46137 PyObject
* obj2
= 0 ;
46138 PyObject
* obj3
= 0 ;
46139 PyObject
* obj4
= 0 ;
46140 PyObject
* obj5
= 0 ;
46141 PyObject
* obj6
= 0 ;
46142 PyObject
* obj7
= 0 ;
46143 char * kwnames
[] = {
46144 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46149 if (!SWIG_IsOK(res1
)) {
46150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46155 if (!SWIG_IsOK(ecode2
)) {
46156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46158 arg2
= static_cast< int >(val2
);
46162 arg3
= wxString_in_helper(obj2
);
46163 if (arg3
== NULL
) SWIG_fail
;
46170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46180 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46181 if (!SWIG_IsOK(ecode6
)) {
46182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46184 arg6
= static_cast< long >(val6
);
46187 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46188 if (!SWIG_IsOK(res7
)) {
46189 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46194 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46198 arg8
= wxString_in_helper(obj7
);
46199 if (arg8
== NULL
) SWIG_fail
;
46204 if (!wxPyCheckForApp()) SWIG_fail
;
46205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46206 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46207 wxPyEndAllowThreads(__tstate
);
46208 if (PyErr_Occurred()) SWIG_fail
;
46210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46233 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46234 PyObject
*resultobj
= 0;
46235 wxSearchCtrl
*result
= 0 ;
46237 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46239 if (!wxPyCheckForApp()) SWIG_fail
;
46240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46241 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46242 wxPyEndAllowThreads(__tstate
);
46243 if (PyErr_Occurred()) SWIG_fail
;
46245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46252 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46253 PyObject
*resultobj
= 0;
46254 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46255 wxWindow
*arg2
= (wxWindow
*) 0 ;
46256 int arg3
= (int) -1 ;
46257 wxString
const &arg4_defvalue
= wxEmptyString
;
46258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46259 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46260 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46261 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46262 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46263 long arg7
= (long) 0 ;
46264 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46265 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46266 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46267 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46275 bool temp4
= false ;
46282 bool temp9
= false ;
46283 PyObject
* obj0
= 0 ;
46284 PyObject
* obj1
= 0 ;
46285 PyObject
* obj2
= 0 ;
46286 PyObject
* obj3
= 0 ;
46287 PyObject
* obj4
= 0 ;
46288 PyObject
* obj5
= 0 ;
46289 PyObject
* obj6
= 0 ;
46290 PyObject
* obj7
= 0 ;
46291 PyObject
* obj8
= 0 ;
46292 char * kwnames
[] = {
46293 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46298 if (!SWIG_IsOK(res1
)) {
46299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46301 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46303 if (!SWIG_IsOK(res2
)) {
46304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46306 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46309 if (!SWIG_IsOK(ecode3
)) {
46310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46312 arg3
= static_cast< int >(val3
);
46316 arg4
= wxString_in_helper(obj3
);
46317 if (arg4
== NULL
) SWIG_fail
;
46324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46330 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46335 if (!SWIG_IsOK(ecode7
)) {
46336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46338 arg7
= static_cast< long >(val7
);
46341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46342 if (!SWIG_IsOK(res8
)) {
46343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46352 arg9
= wxString_in_helper(obj8
);
46353 if (arg9
== NULL
) SWIG_fail
;
46358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46360 wxPyEndAllowThreads(__tstate
);
46361 if (PyErr_Occurred()) SWIG_fail
;
46364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46388 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46389 PyObject
*resultobj
= 0;
46390 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46391 wxMenu
*arg2
= (wxMenu
*) 0 ;
46396 PyObject
* obj0
= 0 ;
46397 PyObject
* obj1
= 0 ;
46398 char * kwnames
[] = {
46399 (char *) "self",(char *) "menu", NULL
46402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46404 if (!SWIG_IsOK(res1
)) {
46405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46407 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46409 if (!SWIG_IsOK(res2
)) {
46410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46412 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46415 (arg1
)->SetMenu(arg2
);
46416 wxPyEndAllowThreads(__tstate
);
46417 if (PyErr_Occurred()) SWIG_fail
;
46419 resultobj
= SWIG_Py_Void();
46426 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46427 PyObject
*resultobj
= 0;
46428 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46429 wxMenu
*result
= 0 ;
46432 PyObject
*swig_obj
[1] ;
46434 if (!args
) SWIG_fail
;
46435 swig_obj
[0] = args
;
46436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46437 if (!SWIG_IsOK(res1
)) {
46438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46440 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46443 result
= (wxMenu
*)(arg1
)->GetMenu();
46444 wxPyEndAllowThreads(__tstate
);
46445 if (PyErr_Occurred()) SWIG_fail
;
46448 resultobj
= wxPyMake_wxObject(result
, 0);
46456 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46457 PyObject
*resultobj
= 0;
46458 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46464 PyObject
* obj0
= 0 ;
46465 PyObject
* obj1
= 0 ;
46466 char * kwnames
[] = {
46467 (char *) "self",(char *) "show", NULL
46470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46472 if (!SWIG_IsOK(res1
)) {
46473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46475 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46477 if (!SWIG_IsOK(ecode2
)) {
46478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46480 arg2
= static_cast< bool >(val2
);
46482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46483 (arg1
)->ShowSearchButton(arg2
);
46484 wxPyEndAllowThreads(__tstate
);
46485 if (PyErr_Occurred()) SWIG_fail
;
46487 resultobj
= SWIG_Py_Void();
46494 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46495 PyObject
*resultobj
= 0;
46496 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46500 PyObject
*swig_obj
[1] ;
46502 if (!args
) SWIG_fail
;
46503 swig_obj
[0] = args
;
46504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46505 if (!SWIG_IsOK(res1
)) {
46506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46508 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46511 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46512 wxPyEndAllowThreads(__tstate
);
46513 if (PyErr_Occurred()) SWIG_fail
;
46516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46524 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46525 PyObject
*resultobj
= 0;
46526 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46532 PyObject
* obj0
= 0 ;
46533 PyObject
* obj1
= 0 ;
46534 char * kwnames
[] = {
46535 (char *) "self",(char *) "show", NULL
46538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46540 if (!SWIG_IsOK(res1
)) {
46541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46543 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46544 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46545 if (!SWIG_IsOK(ecode2
)) {
46546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46548 arg2
= static_cast< bool >(val2
);
46550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46551 (arg1
)->ShowCancelButton(arg2
);
46552 wxPyEndAllowThreads(__tstate
);
46553 if (PyErr_Occurred()) SWIG_fail
;
46555 resultobj
= SWIG_Py_Void();
46562 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46563 PyObject
*resultobj
= 0;
46564 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46568 PyObject
*swig_obj
[1] ;
46570 if (!args
) SWIG_fail
;
46571 swig_obj
[0] = args
;
46572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46573 if (!SWIG_IsOK(res1
)) {
46574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46576 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46579 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46580 wxPyEndAllowThreads(__tstate
);
46581 if (PyErr_Occurred()) SWIG_fail
;
46584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46592 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46593 PyObject
*resultobj
= 0;
46594 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46595 wxString
*arg2
= 0 ;
46598 bool temp2
= false ;
46599 PyObject
* obj0
= 0 ;
46600 PyObject
* obj1
= 0 ;
46601 char * kwnames
[] = {
46602 (char *) "self",(char *) "text", NULL
46605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46607 if (!SWIG_IsOK(res1
)) {
46608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46610 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46612 arg2
= wxString_in_helper(obj1
);
46613 if (arg2
== NULL
) SWIG_fail
;
46617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46618 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46619 wxPyEndAllowThreads(__tstate
);
46620 if (PyErr_Occurred()) SWIG_fail
;
46622 resultobj
= SWIG_Py_Void();
46637 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46638 PyObject
*resultobj
= 0;
46639 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46643 PyObject
*swig_obj
[1] ;
46645 if (!args
) SWIG_fail
;
46646 swig_obj
[0] = args
;
46647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46648 if (!SWIG_IsOK(res1
)) {
46649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46651 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46654 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46655 wxPyEndAllowThreads(__tstate
);
46656 if (PyErr_Occurred()) SWIG_fail
;
46660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46671 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46672 PyObject
*resultobj
= 0;
46673 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46674 wxBitmap
*arg2
= 0 ;
46679 PyObject
* obj0
= 0 ;
46680 PyObject
* obj1
= 0 ;
46681 char * kwnames
[] = {
46682 (char *) "self",(char *)"arg2", NULL
46685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46687 if (!SWIG_IsOK(res1
)) {
46688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46690 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46692 if (!SWIG_IsOK(res2
)) {
46693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46698 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46701 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46702 wxPyEndAllowThreads(__tstate
);
46703 if (PyErr_Occurred()) SWIG_fail
;
46705 resultobj
= SWIG_Py_Void();
46712 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46713 PyObject
*resultobj
= 0;
46714 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46715 wxBitmap
*arg2
= 0 ;
46720 PyObject
* obj0
= 0 ;
46721 PyObject
* obj1
= 0 ;
46722 char * kwnames
[] = {
46723 (char *) "self",(char *)"arg2", NULL
46726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46728 if (!SWIG_IsOK(res1
)) {
46729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46731 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46733 if (!SWIG_IsOK(res2
)) {
46734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46739 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46742 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46743 wxPyEndAllowThreads(__tstate
);
46744 if (PyErr_Occurred()) SWIG_fail
;
46746 resultobj
= SWIG_Py_Void();
46753 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46754 PyObject
*resultobj
= 0;
46755 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46756 wxBitmap
*arg2
= 0 ;
46761 PyObject
* obj0
= 0 ;
46762 PyObject
* obj1
= 0 ;
46763 char * kwnames
[] = {
46764 (char *) "self",(char *)"arg2", NULL
46767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46769 if (!SWIG_IsOK(res1
)) {
46770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46772 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46774 if (!SWIG_IsOK(res2
)) {
46775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46780 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46783 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46784 wxPyEndAllowThreads(__tstate
);
46785 if (PyErr_Occurred()) SWIG_fail
;
46787 resultobj
= SWIG_Py_Void();
46794 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46797 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46798 return SWIG_Py_Void();
46801 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46802 return SWIG_Python_InitShadowInstance(args
);
46805 static PyMethodDef SwigMethods
[] = {
46806 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46808 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46810 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46811 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46813 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46814 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46816 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46818 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46819 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46820 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46821 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46822 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46829 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46830 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46831 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46832 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46834 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46836 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46837 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46839 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46841 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46842 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46844 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46845 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46847 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46849 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46851 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46852 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46854 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46856 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46858 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46859 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46860 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46862 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46863 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46866 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46869 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46871 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46872 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46873 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46874 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46875 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46876 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46877 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46878 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46879 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46881 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46882 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46884 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46887 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46889 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46890 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46891 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46893 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46895 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46897 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46898 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46900 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46903 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46904 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46906 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46908 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46909 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46911 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46912 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46914 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46918 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46919 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46921 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46923 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46927 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46928 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46930 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46941 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46946 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46952 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46953 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46955 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46959 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46960 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46962 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46963 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46973 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46974 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46975 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46976 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46977 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46978 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46979 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46981 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46982 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46983 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46984 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46985 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46986 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46987 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46988 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46989 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46990 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46992 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46993 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46995 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46997 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46999 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47004 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47005 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47006 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47007 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47008 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47009 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47010 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47011 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47016 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47017 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47026 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47032 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47033 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47034 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47035 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47036 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47037 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47038 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47039 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47040 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47041 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47043 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47044 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47045 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47047 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47050 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47054 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47055 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47057 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47058 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47059 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47060 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47061 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47063 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47065 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47066 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47067 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47068 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47069 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47072 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47073 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47075 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47077 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47078 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47079 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47084 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47086 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47087 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47089 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47091 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47095 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47096 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47099 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47100 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47102 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47104 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47105 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47107 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47110 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47111 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47113 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47121 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47122 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47129 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47130 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47132 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47134 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47137 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47138 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47140 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47142 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47145 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47146 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47151 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47152 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47154 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47156 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47157 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47159 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47160 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47161 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47164 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47165 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47167 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47170 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47172 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47173 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47174 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47176 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47177 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47182 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47187 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47189 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47191 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47193 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47194 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47197 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47205 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47207 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47209 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47211 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47212 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47214 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47216 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47219 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47223 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47224 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47226 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47227 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47229 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47231 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47232 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47233 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47235 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47236 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47238 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47240 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47241 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47242 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47244 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47245 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47247 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47255 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47256 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47257 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47259 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47260 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47262 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47264 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47265 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47266 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47267 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47269 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47270 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47271 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47272 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47273 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47274 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47275 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47276 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47277 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47278 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47279 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47280 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47281 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47282 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47283 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47284 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47285 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47286 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47287 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47289 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47296 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47298 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47300 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47308 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47313 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47314 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47331 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47332 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47333 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47334 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47337 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47338 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47340 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47341 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47344 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47345 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47346 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47348 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47351 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47352 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47354 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47358 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47359 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47360 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47361 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47362 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47363 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47365 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47366 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47367 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47368 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47369 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47370 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47371 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47385 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47386 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47387 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47388 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47389 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47390 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47391 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47392 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47393 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47394 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47395 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47396 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47397 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47398 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47399 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47400 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47401 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47402 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47403 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47404 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47405 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47406 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47407 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47408 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47409 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47410 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47411 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47412 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47413 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47414 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47415 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47416 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47417 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47418 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47419 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47420 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47422 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47423 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47424 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47425 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47426 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47427 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47428 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47429 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47430 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47431 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47432 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47433 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47434 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47435 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47436 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47437 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47438 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47439 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47440 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47441 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47442 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47443 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47444 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47445 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47447 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47448 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47450 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47457 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47458 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47459 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47470 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47474 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47475 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47476 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47478 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47479 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47481 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47487 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47488 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47493 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47495 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47496 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47519 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47521 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47522 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47524 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47528 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47530 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47534 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47535 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47536 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47537 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47538 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47541 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47542 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47543 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47544 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47546 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47547 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47549 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47551 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47552 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47553 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47554 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47555 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47557 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47559 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47561 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47562 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47564 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47566 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47569 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47570 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47571 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47573 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47576 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47577 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47579 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47581 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47582 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47609 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47611 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47612 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47613 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47620 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47630 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47633 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47636 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47639 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47641 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47647 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47653 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47654 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47655 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47657 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47661 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47663 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47664 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47667 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47668 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47670 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47672 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47673 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47674 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47676 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47677 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47678 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47679 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47681 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47684 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47685 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47687 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47694 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47695 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47696 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47697 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47698 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47699 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47700 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47701 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47702 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47704 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47706 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47708 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47710 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47712 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47713 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47715 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47717 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47718 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47719 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47721 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47722 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47723 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47725 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47732 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47733 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47734 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47735 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47736 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47739 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47742 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47746 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47748 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47749 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47754 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47755 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47757 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47760 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47762 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47763 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47764 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47765 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47767 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47769 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47771 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47773 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47775 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47776 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47778 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47779 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47780 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47781 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47782 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47784 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47785 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47788 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47790 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47792 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47793 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47795 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47797 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47798 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47799 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47800 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47802 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47804 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47806 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47807 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47809 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47811 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47812 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47814 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47816 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47817 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47819 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47820 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47821 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47823 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47825 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47826 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47828 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47829 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47830 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47832 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47834 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47835 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47837 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47839 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47842 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47843 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47844 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47846 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47848 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47849 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47851 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47854 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47855 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47856 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47857 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47858 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47859 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47861 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47863 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47864 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47866 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47869 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47871 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47872 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47873 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
47875 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47879 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47880 { NULL
, NULL
, 0, NULL
}
47884 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47886 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47889 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47890 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47892 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47893 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47895 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47896 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47898 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47899 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47901 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47902 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47904 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47905 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47907 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47908 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47910 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47913 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47916 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47919 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47920 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47922 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47925 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47928 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47931 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47932 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47934 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47935 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47937 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47938 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47940 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47941 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47943 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47944 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47946 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47947 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47949 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47950 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47952 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47953 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47955 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47956 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47958 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47959 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47961 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47964 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47965 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47967 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47968 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47970 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47971 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47973 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47974 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47976 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47977 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47979 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47980 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47982 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47985 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47988 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47989 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47991 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47992 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47994 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47995 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47997 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48000 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48001 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48003 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48004 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48006 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48007 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48009 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48010 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48012 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48015 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48016 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48018 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48019 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48021 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48022 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48024 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48025 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48027 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48028 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48030 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48033 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48036 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48037 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48039 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48040 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48042 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48043 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48045 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48048 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48049 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48051 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48052 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48054 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48055 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48057 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48058 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48060 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48061 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48063 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48064 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48066 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48067 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48069 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48070 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48072 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48073 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48075 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48076 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48078 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48079 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48081 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48082 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48084 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48085 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48087 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48088 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48090 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48091 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48093 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48094 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48096 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48097 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48099 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48100 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48102 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48103 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48105 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48106 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48108 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48109 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48111 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48112 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48114 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48115 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48117 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48118 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48120 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48121 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48123 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48124 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48126 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48127 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48129 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48130 return (void *)((wxControl
*) ((wxGauge
*) x
));
48132 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48133 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48135 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48136 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48138 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48139 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48141 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48142 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48144 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48145 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48147 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48148 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48150 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48151 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48153 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48154 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48156 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48157 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48159 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48160 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48162 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48163 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48165 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48166 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48168 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48169 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48171 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48172 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48174 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48175 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48177 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48178 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48180 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48181 return (void *)((wxControl
*) ((wxSlider
*) x
));
48183 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48184 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48186 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48187 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48189 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48190 return (void *)((wxControl
*) ((wxButton
*) x
));
48192 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48193 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48195 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48196 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48198 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48199 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48201 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48202 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48204 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48205 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48207 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48208 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48210 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48211 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48213 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48214 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48216 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48217 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48219 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48220 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48222 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48223 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48225 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48226 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48228 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48229 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48231 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48232 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48234 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48235 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48237 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48238 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48240 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48241 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48243 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48244 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48246 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48247 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48249 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48250 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48252 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48253 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48255 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48256 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48258 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48259 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48261 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48262 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48264 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48265 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48267 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48270 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48273 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48276 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48277 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48279 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48280 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48282 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48285 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48288 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48289 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48291 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48294 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48297 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48300 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48303 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48304 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48306 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48307 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48309 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48312 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48315 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48318 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48321 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48324 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48325 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48327 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48330 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48333 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48336 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48339 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48342 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48345 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48348 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48351 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48354 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48357 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48360 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48363 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48366 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48369 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48372 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48375 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48378 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48381 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48384 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48387 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48390 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48393 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48396 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48399 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48402 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48405 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48408 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48411 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48414 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48417 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48420 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48423 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48424 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48426 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48427 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48429 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48430 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48432 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48433 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48435 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48436 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48438 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48441 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48444 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48447 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48450 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48453 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48456 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48459 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48462 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48465 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) ((wxSizer
*) x
));
48468 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48471 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48474 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48477 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48480 static void *_p_wxEventTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) ((wxEvent
*) x
));
48483 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48486 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48489 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48492 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48495 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48498 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48501 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48504 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48507 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48510 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48513 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48516 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48519 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48522 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48525 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48528 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48531 static void *_p_wxControlTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48534 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48537 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48540 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48543 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48546 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48549 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48552 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48555 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48558 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48561 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48564 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48567 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48570 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48573 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48576 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48579 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48582 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48585 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48588 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48591 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48594 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48597 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48600 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48603 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48606 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48609 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48612 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48615 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48618 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48621 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48624 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48627 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48630 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48633 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48636 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48639 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48642 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48645 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48648 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48651 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48654 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48657 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48660 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48663 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48666 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48669 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48672 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48675 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48678 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48681 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48684 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48687 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48690 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48693 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48696 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48699 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48702 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48705 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48708 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48711 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48714 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48717 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48718 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48720 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48721 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48723 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48726 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48729 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48732 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48735 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48736 return (void *)((wxObject
*) ((wxListItem
*) x
));
48738 static void *_p_wxImageTo_p_wxObject(void *x
) {
48739 return (void *)((wxObject
*) ((wxImage
*) x
));
48741 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48742 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48744 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48747 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48748 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48750 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48753 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48756 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48759 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48762 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48765 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48768 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48771 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48772 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48774 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48775 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48777 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48778 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48780 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48783 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48786 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48787 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48789 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48792 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48795 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48796 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48798 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48799 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48801 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48802 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48804 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48805 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48807 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48808 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48810 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48813 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48816 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48819 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48820 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48822 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48825 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48826 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48828 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48829 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48831 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48834 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48837 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48840 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48843 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48846 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48849 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48852 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48855 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48856 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48858 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48861 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48864 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48867 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48868 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48870 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48871 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48873 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48874 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48876 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48877 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48879 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48880 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48882 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48883 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48885 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48886 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48888 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48889 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48891 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48892 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48894 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48895 return (void *)((wxWindow
*) ((wxControl
*) x
));
48897 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48898 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48900 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48901 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48903 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48904 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48906 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48907 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48909 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48910 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48912 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48913 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48915 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48916 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48918 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48919 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48921 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48922 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48924 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48925 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48927 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48928 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48930 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48931 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48933 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48934 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48936 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48937 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48939 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48940 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48942 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48943 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48945 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48946 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48948 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48949 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48951 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48952 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48954 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48955 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48957 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48958 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48960 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48961 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48963 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48964 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48966 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48967 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48969 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48970 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48972 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48973 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48975 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48976 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48978 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48979 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48981 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48982 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48984 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48985 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48987 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48988 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48990 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48991 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48993 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48994 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48996 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48997 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48999 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49000 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49002 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49003 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49005 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49006 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49008 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49009 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49011 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49012 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49014 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49015 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49017 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49018 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49020 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49021 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49023 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49024 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49026 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49027 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49029 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49030 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49032 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49033 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49035 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49036 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49038 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49039 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49041 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49042 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49044 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49045 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49047 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49048 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49050 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49051 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49053 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49054 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49056 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49057 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49059 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49060 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49062 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49063 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49065 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49066 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49068 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49069 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49071 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49072 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49074 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49075 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49077 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49078 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49080 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49081 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49083 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49084 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49086 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49087 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49089 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49090 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49092 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49093 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49095 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49096 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49098 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49099 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49101 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49102 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49104 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49105 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49107 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49108 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49110 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49111 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49113 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49114 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49116 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49117 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49118 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};
49119 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49120 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49121 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49122 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49123 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49124 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49125 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49126 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49127 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49128 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49129 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49130 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49131 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49132 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49133 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49134 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49135 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49136 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49137 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49138 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49139 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49140 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49141 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49142 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49143 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49144 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49145 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49146 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49147 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49148 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49149 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49150 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49151 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49152 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49153 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49154 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49155 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49156 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49157 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49158 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49159 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49160 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49161 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49162 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49163 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49164 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49165 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49166 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49167 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49168 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49169 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49170 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49171 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49172 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49173 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49174 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49175 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49176 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49177 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49178 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49179 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49180 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49181 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49182 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49183 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49184 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49185 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49186 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49187 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49188 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49189 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49190 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49191 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49192 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49193 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49194 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49195 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49196 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49197 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49198 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49199 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49200 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49201 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49202 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49203 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49204 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49205 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49206 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49207 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49208 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49209 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49210 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49211 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49212 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49213 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49214 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49215 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49216 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49217 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49218 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49219 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49220 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49221 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49222 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49223 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49224 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49225 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49226 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49227 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49228 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49229 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49230 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49231 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49232 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49233 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49234 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49235 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49236 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49237 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49238 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49239 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49240 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49241 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49242 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49243 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49244 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49245 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49246 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49247 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49248 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49249 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49250 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49251 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49252 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49253 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49254 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49255 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49256 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49257 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49258 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49259 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49260 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49261 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49262 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49263 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49264 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49265 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49266 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49267 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49279 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49280 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49281 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49282 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49283 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49284 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49285 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49286 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49287 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49288 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49289 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49290 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49291 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49292 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49293 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49294 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49296 static swig_type_info
*swig_type_initial
[] = {
49299 &_swigt__p_form_ops_t
,
49302 &_swigt__p_unsigned_char
,
49303 &_swigt__p_unsigned_int
,
49304 &_swigt__p_unsigned_long
,
49306 &_swigt__p_wxANIHandler
,
49307 &_swigt__p_wxAcceleratorTable
,
49308 &_swigt__p_wxActivateEvent
,
49309 &_swigt__p_wxArrayInt
,
49310 &_swigt__p_wxArrayString
,
49311 &_swigt__p_wxBMPHandler
,
49312 &_swigt__p_wxBitmap
,
49313 &_swigt__p_wxBitmapButton
,
49314 &_swigt__p_wxBookCtrlBase
,
49315 &_swigt__p_wxBookCtrlBaseEvent
,
49316 &_swigt__p_wxBoxSizer
,
49317 &_swigt__p_wxButton
,
49318 &_swigt__p_wxCURHandler
,
49319 &_swigt__p_wxCheckBox
,
49320 &_swigt__p_wxCheckListBox
,
49321 &_swigt__p_wxChildFocusEvent
,
49322 &_swigt__p_wxChoice
,
49323 &_swigt__p_wxChoicebook
,
49324 &_swigt__p_wxChoicebookEvent
,
49325 &_swigt__p_wxClipboardTextEvent
,
49326 &_swigt__p_wxCloseEvent
,
49327 &_swigt__p_wxCollapsiblePane
,
49328 &_swigt__p_wxCollapsiblePaneEvent
,
49329 &_swigt__p_wxColour
,
49330 &_swigt__p_wxColourPickerCtrl
,
49331 &_swigt__p_wxColourPickerEvent
,
49332 &_swigt__p_wxComboBox
,
49333 &_swigt__p_wxCommandEvent
,
49334 &_swigt__p_wxContextHelp
,
49335 &_swigt__p_wxContextHelpButton
,
49336 &_swigt__p_wxContextMenuEvent
,
49337 &_swigt__p_wxControl
,
49338 &_swigt__p_wxControlWithItems
,
49339 &_swigt__p_wxCursor
,
49341 &_swigt__p_wxDateEvent
,
49342 &_swigt__p_wxDatePickerCtrl
,
49343 &_swigt__p_wxDateTime
,
49344 &_swigt__p_wxDirFilterListCtrl
,
49345 &_swigt__p_wxDirPickerCtrl
,
49346 &_swigt__p_wxDisplayChangedEvent
,
49347 &_swigt__p_wxDropFilesEvent
,
49348 &_swigt__p_wxDuplexMode
,
49349 &_swigt__p_wxEraseEvent
,
49350 &_swigt__p_wxEvent
,
49351 &_swigt__p_wxEvtHandler
,
49352 &_swigt__p_wxFSFile
,
49353 &_swigt__p_wxFileDirPickerEvent
,
49354 &_swigt__p_wxFilePickerCtrl
,
49355 &_swigt__p_wxFileSystem
,
49356 &_swigt__p_wxFlexGridSizer
,
49357 &_swigt__p_wxFocusEvent
,
49359 &_swigt__p_wxFontPickerCtrl
,
49360 &_swigt__p_wxFontPickerEvent
,
49361 &_swigt__p_wxGBSizerItem
,
49362 &_swigt__p_wxGIFHandler
,
49363 &_swigt__p_wxGauge
,
49364 &_swigt__p_wxGenericDirCtrl
,
49365 &_swigt__p_wxGenericDragImage
,
49366 &_swigt__p_wxGridBagSizer
,
49367 &_swigt__p_wxGridSizer
,
49368 &_swigt__p_wxHelpEvent
,
49369 &_swigt__p_wxHelpProvider
,
49370 &_swigt__p_wxHyperlinkCtrl
,
49371 &_swigt__p_wxHyperlinkEvent
,
49372 &_swigt__p_wxICOHandler
,
49374 &_swigt__p_wxIconizeEvent
,
49375 &_swigt__p_wxIdleEvent
,
49376 &_swigt__p_wxImage
,
49377 &_swigt__p_wxImageHandler
,
49378 &_swigt__p_wxImageList
,
49379 &_swigt__p_wxIndividualLayoutConstraint
,
49380 &_swigt__p_wxInitDialogEvent
,
49381 &_swigt__p_wxItemContainer
,
49382 &_swigt__p_wxJPEGHandler
,
49383 &_swigt__p_wxKeyEvent
,
49384 &_swigt__p_wxLayoutConstraints
,
49385 &_swigt__p_wxListBox
,
49386 &_swigt__p_wxListEvent
,
49387 &_swigt__p_wxListItem
,
49388 &_swigt__p_wxListItemAttr
,
49389 &_swigt__p_wxListView
,
49390 &_swigt__p_wxListbook
,
49391 &_swigt__p_wxListbookEvent
,
49392 &_swigt__p_wxMaximizeEvent
,
49393 &_swigt__p_wxMemoryDC
,
49395 &_swigt__p_wxMenuBar
,
49396 &_swigt__p_wxMenuEvent
,
49397 &_swigt__p_wxMenuItem
,
49398 &_swigt__p_wxMouseCaptureChangedEvent
,
49399 &_swigt__p_wxMouseCaptureLostEvent
,
49400 &_swigt__p_wxMouseEvent
,
49401 &_swigt__p_wxMoveEvent
,
49402 &_swigt__p_wxNavigationKeyEvent
,
49403 &_swigt__p_wxNcPaintEvent
,
49404 &_swigt__p_wxNotebook
,
49405 &_swigt__p_wxNotebookEvent
,
49406 &_swigt__p_wxNotifyEvent
,
49407 &_swigt__p_wxObject
,
49408 &_swigt__p_wxPCXHandler
,
49409 &_swigt__p_wxPNGHandler
,
49410 &_swigt__p_wxPNMHandler
,
49411 &_swigt__p_wxPaintEvent
,
49412 &_swigt__p_wxPaletteChangedEvent
,
49413 &_swigt__p_wxPaperSize
,
49414 &_swigt__p_wxPickerBase
,
49415 &_swigt__p_wxPoint
,
49416 &_swigt__p_wxPyApp
,
49417 &_swigt__p_wxPyCommandEvent
,
49418 &_swigt__p_wxPyControl
,
49419 &_swigt__p_wxPyEvent
,
49420 &_swigt__p_wxPyImageHandler
,
49421 &_swigt__p_wxPyListCtrl
,
49422 &_swigt__p_wxPySizer
,
49423 &_swigt__p_wxPyTreeCtrl
,
49424 &_swigt__p_wxPyTreeItemData
,
49425 &_swigt__p_wxPyValidator
,
49426 &_swigt__p_wxQueryNewPaletteEvent
,
49427 &_swigt__p_wxRadioBox
,
49428 &_swigt__p_wxRadioButton
,
49430 &_swigt__p_wxScrollBar
,
49431 &_swigt__p_wxScrollEvent
,
49432 &_swigt__p_wxScrollWinEvent
,
49433 &_swigt__p_wxSearchCtrl
,
49434 &_swigt__p_wxSetCursorEvent
,
49435 &_swigt__p_wxShowEvent
,
49436 &_swigt__p_wxSimpleHelpProvider
,
49438 &_swigt__p_wxSizeEvent
,
49439 &_swigt__p_wxSizer
,
49440 &_swigt__p_wxSizerItem
,
49441 &_swigt__p_wxSlider
,
49442 &_swigt__p_wxSpinButton
,
49443 &_swigt__p_wxSpinCtrl
,
49444 &_swigt__p_wxSpinEvent
,
49445 &_swigt__p_wxStaticBitmap
,
49446 &_swigt__p_wxStaticBox
,
49447 &_swigt__p_wxStaticBoxSizer
,
49448 &_swigt__p_wxStaticLine
,
49449 &_swigt__p_wxStaticText
,
49450 &_swigt__p_wxStdDialogButtonSizer
,
49451 &_swigt__p_wxString
,
49452 &_swigt__p_wxSysColourChangedEvent
,
49453 &_swigt__p_wxTGAHandler
,
49454 &_swigt__p_wxTIFFHandler
,
49455 &_swigt__p_wxTextAttr
,
49456 &_swigt__p_wxTextCtrl
,
49457 &_swigt__p_wxTextUrlEvent
,
49458 &_swigt__p_wxToggleButton
,
49459 &_swigt__p_wxToolBar
,
49460 &_swigt__p_wxToolBarBase
,
49461 &_swigt__p_wxToolBarToolBase
,
49462 &_swigt__p_wxToolbook
,
49463 &_swigt__p_wxToolbookEvent
,
49464 &_swigt__p_wxTreeEvent
,
49465 &_swigt__p_wxTreeItemId
,
49466 &_swigt__p_wxTreebook
,
49467 &_swigt__p_wxTreebookEvent
,
49468 &_swigt__p_wxUpdateUIEvent
,
49469 &_swigt__p_wxValidator
,
49470 &_swigt__p_wxVisualAttributes
,
49471 &_swigt__p_wxWindow
,
49472 &_swigt__p_wxWindowBase
,
49473 &_swigt__p_wxWindowCreateEvent
,
49474 &_swigt__p_wxWindowDestroyEvent
,
49475 &_swigt__p_wxXPMHandler
,
49478 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49479 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49480 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49481 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49482 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49483 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49484 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49485 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49486 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49487 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49488 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49489 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49490 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}};
49491 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}};
49492 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}};
49493 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}};
49494 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49495 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49496 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}};
49497 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49498 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49499 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49500 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49501 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49502 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49503 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49504 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49505 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49506 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49507 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49508 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49509 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49510 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49511 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49512 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49513 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49514 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}};
49515 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49516 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49517 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}};
49518 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}};
49519 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49520 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49521 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49522 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49523 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49524 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49525 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49526 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49527 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49528 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49529 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49530 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49531 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49532 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49533 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49534 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49535 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49536 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49537 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49538 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49539 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49540 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49541 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49542 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49543 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49544 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49545 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49546 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49547 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49548 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49549 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49550 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49551 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}};
49552 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49553 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49554 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49555 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49556 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49557 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49558 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49559 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49560 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49561 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49562 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49563 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49564 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49565 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}};
49566 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49567 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49568 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49569 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49570 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}};
49571 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49572 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}};
49573 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49574 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49575 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49576 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49577 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49578 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49579 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49580 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49581 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49582 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49583 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49584 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}};
49585 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49586 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49587 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49588 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49589 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49590 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49591 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49592 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49593 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49601 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49602 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49603 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49604 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49605 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49606 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49607 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49608 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
49617 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49618 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}};
49619 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49621 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}};
49622 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49626 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49627 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49630 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49631 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49639 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49640 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49641 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}};
49642 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49643 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49645 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}};
49646 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49653 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}};
49654 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49655 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}};
49656 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info
*swig_cast_initial
[] = {
49661 _swigc__p_form_ops_t
,
49664 _swigc__p_unsigned_char
,
49665 _swigc__p_unsigned_int
,
49666 _swigc__p_unsigned_long
,
49668 _swigc__p_wxANIHandler
,
49669 _swigc__p_wxAcceleratorTable
,
49670 _swigc__p_wxActivateEvent
,
49671 _swigc__p_wxArrayInt
,
49672 _swigc__p_wxArrayString
,
49673 _swigc__p_wxBMPHandler
,
49674 _swigc__p_wxBitmap
,
49675 _swigc__p_wxBitmapButton
,
49676 _swigc__p_wxBookCtrlBase
,
49677 _swigc__p_wxBookCtrlBaseEvent
,
49678 _swigc__p_wxBoxSizer
,
49679 _swigc__p_wxButton
,
49680 _swigc__p_wxCURHandler
,
49681 _swigc__p_wxCheckBox
,
49682 _swigc__p_wxCheckListBox
,
49683 _swigc__p_wxChildFocusEvent
,
49684 _swigc__p_wxChoice
,
49685 _swigc__p_wxChoicebook
,
49686 _swigc__p_wxChoicebookEvent
,
49687 _swigc__p_wxClipboardTextEvent
,
49688 _swigc__p_wxCloseEvent
,
49689 _swigc__p_wxCollapsiblePane
,
49690 _swigc__p_wxCollapsiblePaneEvent
,
49691 _swigc__p_wxColour
,
49692 _swigc__p_wxColourPickerCtrl
,
49693 _swigc__p_wxColourPickerEvent
,
49694 _swigc__p_wxComboBox
,
49695 _swigc__p_wxCommandEvent
,
49696 _swigc__p_wxContextHelp
,
49697 _swigc__p_wxContextHelpButton
,
49698 _swigc__p_wxContextMenuEvent
,
49699 _swigc__p_wxControl
,
49700 _swigc__p_wxControlWithItems
,
49701 _swigc__p_wxCursor
,
49703 _swigc__p_wxDateEvent
,
49704 _swigc__p_wxDatePickerCtrl
,
49705 _swigc__p_wxDateTime
,
49706 _swigc__p_wxDirFilterListCtrl
,
49707 _swigc__p_wxDirPickerCtrl
,
49708 _swigc__p_wxDisplayChangedEvent
,
49709 _swigc__p_wxDropFilesEvent
,
49710 _swigc__p_wxDuplexMode
,
49711 _swigc__p_wxEraseEvent
,
49713 _swigc__p_wxEvtHandler
,
49714 _swigc__p_wxFSFile
,
49715 _swigc__p_wxFileDirPickerEvent
,
49716 _swigc__p_wxFilePickerCtrl
,
49717 _swigc__p_wxFileSystem
,
49718 _swigc__p_wxFlexGridSizer
,
49719 _swigc__p_wxFocusEvent
,
49721 _swigc__p_wxFontPickerCtrl
,
49722 _swigc__p_wxFontPickerEvent
,
49723 _swigc__p_wxGBSizerItem
,
49724 _swigc__p_wxGIFHandler
,
49726 _swigc__p_wxGenericDirCtrl
,
49727 _swigc__p_wxGenericDragImage
,
49728 _swigc__p_wxGridBagSizer
,
49729 _swigc__p_wxGridSizer
,
49730 _swigc__p_wxHelpEvent
,
49731 _swigc__p_wxHelpProvider
,
49732 _swigc__p_wxHyperlinkCtrl
,
49733 _swigc__p_wxHyperlinkEvent
,
49734 _swigc__p_wxICOHandler
,
49736 _swigc__p_wxIconizeEvent
,
49737 _swigc__p_wxIdleEvent
,
49739 _swigc__p_wxImageHandler
,
49740 _swigc__p_wxImageList
,
49741 _swigc__p_wxIndividualLayoutConstraint
,
49742 _swigc__p_wxInitDialogEvent
,
49743 _swigc__p_wxItemContainer
,
49744 _swigc__p_wxJPEGHandler
,
49745 _swigc__p_wxKeyEvent
,
49746 _swigc__p_wxLayoutConstraints
,
49747 _swigc__p_wxListBox
,
49748 _swigc__p_wxListEvent
,
49749 _swigc__p_wxListItem
,
49750 _swigc__p_wxListItemAttr
,
49751 _swigc__p_wxListView
,
49752 _swigc__p_wxListbook
,
49753 _swigc__p_wxListbookEvent
,
49754 _swigc__p_wxMaximizeEvent
,
49755 _swigc__p_wxMemoryDC
,
49757 _swigc__p_wxMenuBar
,
49758 _swigc__p_wxMenuEvent
,
49759 _swigc__p_wxMenuItem
,
49760 _swigc__p_wxMouseCaptureChangedEvent
,
49761 _swigc__p_wxMouseCaptureLostEvent
,
49762 _swigc__p_wxMouseEvent
,
49763 _swigc__p_wxMoveEvent
,
49764 _swigc__p_wxNavigationKeyEvent
,
49765 _swigc__p_wxNcPaintEvent
,
49766 _swigc__p_wxNotebook
,
49767 _swigc__p_wxNotebookEvent
,
49768 _swigc__p_wxNotifyEvent
,
49769 _swigc__p_wxObject
,
49770 _swigc__p_wxPCXHandler
,
49771 _swigc__p_wxPNGHandler
,
49772 _swigc__p_wxPNMHandler
,
49773 _swigc__p_wxPaintEvent
,
49774 _swigc__p_wxPaletteChangedEvent
,
49775 _swigc__p_wxPaperSize
,
49776 _swigc__p_wxPickerBase
,
49779 _swigc__p_wxPyCommandEvent
,
49780 _swigc__p_wxPyControl
,
49781 _swigc__p_wxPyEvent
,
49782 _swigc__p_wxPyImageHandler
,
49783 _swigc__p_wxPyListCtrl
,
49784 _swigc__p_wxPySizer
,
49785 _swigc__p_wxPyTreeCtrl
,
49786 _swigc__p_wxPyTreeItemData
,
49787 _swigc__p_wxPyValidator
,
49788 _swigc__p_wxQueryNewPaletteEvent
,
49789 _swigc__p_wxRadioBox
,
49790 _swigc__p_wxRadioButton
,
49792 _swigc__p_wxScrollBar
,
49793 _swigc__p_wxScrollEvent
,
49794 _swigc__p_wxScrollWinEvent
,
49795 _swigc__p_wxSearchCtrl
,
49796 _swigc__p_wxSetCursorEvent
,
49797 _swigc__p_wxShowEvent
,
49798 _swigc__p_wxSimpleHelpProvider
,
49800 _swigc__p_wxSizeEvent
,
49802 _swigc__p_wxSizerItem
,
49803 _swigc__p_wxSlider
,
49804 _swigc__p_wxSpinButton
,
49805 _swigc__p_wxSpinCtrl
,
49806 _swigc__p_wxSpinEvent
,
49807 _swigc__p_wxStaticBitmap
,
49808 _swigc__p_wxStaticBox
,
49809 _swigc__p_wxStaticBoxSizer
,
49810 _swigc__p_wxStaticLine
,
49811 _swigc__p_wxStaticText
,
49812 _swigc__p_wxStdDialogButtonSizer
,
49813 _swigc__p_wxString
,
49814 _swigc__p_wxSysColourChangedEvent
,
49815 _swigc__p_wxTGAHandler
,
49816 _swigc__p_wxTIFFHandler
,
49817 _swigc__p_wxTextAttr
,
49818 _swigc__p_wxTextCtrl
,
49819 _swigc__p_wxTextUrlEvent
,
49820 _swigc__p_wxToggleButton
,
49821 _swigc__p_wxToolBar
,
49822 _swigc__p_wxToolBarBase
,
49823 _swigc__p_wxToolBarToolBase
,
49824 _swigc__p_wxToolbook
,
49825 _swigc__p_wxToolbookEvent
,
49826 _swigc__p_wxTreeEvent
,
49827 _swigc__p_wxTreeItemId
,
49828 _swigc__p_wxTreebook
,
49829 _swigc__p_wxTreebookEvent
,
49830 _swigc__p_wxUpdateUIEvent
,
49831 _swigc__p_wxValidator
,
49832 _swigc__p_wxVisualAttributes
,
49833 _swigc__p_wxWindow
,
49834 _swigc__p_wxWindowBase
,
49835 _swigc__p_wxWindowCreateEvent
,
49836 _swigc__p_wxWindowDestroyEvent
,
49837 _swigc__p_wxXPMHandler
,
49841 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49843 static swig_const_info swig_const_table
[] = {
49844 {0, 0, 0, 0.0, 0, 0}};
49849 /* -----------------------------------------------------------------------------
49850 * Type initialization:
49851 * This problem is tough by the requirement that no dynamic
49852 * memory is used. Also, since swig_type_info structures store pointers to
49853 * swig_cast_info structures and swig_cast_info structures store pointers back
49854 * to swig_type_info structures, we need some lookup code at initialization.
49855 * The idea is that swig generates all the structures that are needed.
49856 * The runtime then collects these partially filled structures.
49857 * The SWIG_InitializeModule function takes these initial arrays out of
49858 * swig_module, and does all the lookup, filling in the swig_module.types
49859 * array with the correct data and linking the correct swig_cast_info
49860 * structures together.
49862 * The generated swig_type_info structures are assigned staticly to an initial
49863 * array. We just loop though that array, and handle each type individually.
49864 * First we lookup if this type has been already loaded, and if so, use the
49865 * loaded structure instead of the generated one. Then we have to fill in the
49866 * cast linked list. The cast data is initially stored in something like a
49867 * two-dimensional array. Each row corresponds to a type (there are the same
49868 * number of rows as there are in the swig_type_initial array). Each entry in
49869 * a column is one of the swig_cast_info structures for that type.
49870 * The cast_initial array is actually an array of arrays, because each row has
49871 * a variable number of columns. So to actually build the cast linked list,
49872 * we find the array of casts associated with the type, and loop through it
49873 * adding the casts to the list. The one last trick we need to do is making
49874 * sure the type pointer in the swig_cast_info struct is correct.
49876 * First off, we lookup the cast->type name to see if it is already loaded.
49877 * There are three cases to handle:
49878 * 1) If the cast->type has already been loaded AND the type we are adding
49879 * casting info to has not been loaded (it is in this module), THEN we
49880 * replace the cast->type pointer with the type pointer that has already
49882 * 2) If BOTH types (the one we are adding casting info to, and the
49883 * cast->type) are loaded, THEN the cast info has already been loaded by
49884 * the previous module so we just ignore it.
49885 * 3) Finally, if cast->type has not already been loaded, then we add that
49886 * swig_cast_info to the linked list (because the cast->type) pointer will
49888 * ----------------------------------------------------------------------------- */
49898 #define SWIGRUNTIME_DEBUG
49902 SWIG_InitializeModule(void *clientdata
) {
49904 swig_module_info
*module_head
;
49905 static int init_run
= 0;
49907 clientdata
= clientdata
;
49909 if (init_run
) return;
49912 /* Initialize the swig_module */
49913 swig_module
.type_initial
= swig_type_initial
;
49914 swig_module
.cast_initial
= swig_cast_initial
;
49916 /* Try and load any already created modules */
49917 module_head
= SWIG_GetModule(clientdata
);
49919 swig_module
.next
= module_head
->next
;
49920 module_head
->next
= &swig_module
;
49922 /* This is the first module loaded */
49923 swig_module
.next
= &swig_module
;
49924 SWIG_SetModule(clientdata
, &swig_module
);
49927 /* Now work on filling in swig_module.types */
49928 #ifdef SWIGRUNTIME_DEBUG
49929 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49931 for (i
= 0; i
< swig_module
.size
; ++i
) {
49932 swig_type_info
*type
= 0;
49933 swig_type_info
*ret
;
49934 swig_cast_info
*cast
;
49936 #ifdef SWIGRUNTIME_DEBUG
49937 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49940 /* if there is another module already loaded */
49941 if (swig_module
.next
!= &swig_module
) {
49942 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49945 /* Overwrite clientdata field */
49946 #ifdef SWIGRUNTIME_DEBUG
49947 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49949 if (swig_module
.type_initial
[i
]->clientdata
) {
49950 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49951 #ifdef SWIGRUNTIME_DEBUG
49952 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49956 type
= swig_module
.type_initial
[i
];
49959 /* Insert casting types */
49960 cast
= swig_module
.cast_initial
[i
];
49961 while (cast
->type
) {
49962 /* Don't need to add information already in the list */
49964 #ifdef SWIGRUNTIME_DEBUG
49965 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49967 if (swig_module
.next
!= &swig_module
) {
49968 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49969 #ifdef SWIGRUNTIME_DEBUG
49970 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49974 if (type
== swig_module
.type_initial
[i
]) {
49975 #ifdef SWIGRUNTIME_DEBUG
49976 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49981 /* Check for casting already in the list */
49982 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49983 #ifdef SWIGRUNTIME_DEBUG
49984 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49986 if (!ocast
) ret
= 0;
49991 #ifdef SWIGRUNTIME_DEBUG
49992 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49995 type
->cast
->prev
= cast
;
49996 cast
->next
= type
->cast
;
50002 /* Set entry in modules->types array equal to the type */
50003 swig_module
.types
[i
] = type
;
50005 swig_module
.types
[i
] = 0;
50007 #ifdef SWIGRUNTIME_DEBUG
50008 printf("**** SWIG_InitializeModule: Cast List ******\n");
50009 for (i
= 0; i
< swig_module
.size
; ++i
) {
50011 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50012 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50013 while (cast
->type
) {
50014 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50018 printf("---- Total casts: %d\n",j
);
50020 printf("**** SWIG_InitializeModule: Cast List ******\n");
50024 /* This function will propagate the clientdata field of type to
50025 * any new swig_type_info structures that have been added into the list
50026 * of equivalent types. It is like calling
50027 * SWIG_TypeClientData(type, clientdata) a second time.
50030 SWIG_PropagateClientData(void) {
50032 swig_cast_info
*equiv
;
50033 static int init_run
= 0;
50035 if (init_run
) return;
50038 for (i
= 0; i
< swig_module
.size
; i
++) {
50039 if (swig_module
.types
[i
]->clientdata
) {
50040 equiv
= swig_module
.types
[i
]->cast
;
50042 if (!equiv
->converter
) {
50043 if (equiv
->type
&& !equiv
->type
->clientdata
)
50044 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50046 equiv
= equiv
->next
;
50066 /* Python-specific SWIG API */
50067 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50068 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50069 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50071 /* -----------------------------------------------------------------------------
50072 * global variable support code.
50073 * ----------------------------------------------------------------------------- */
50075 typedef struct swig_globalvar
{
50076 char *name
; /* Name of global variable */
50077 PyObject
*(*get_attr
)(void); /* Return the current value */
50078 int (*set_attr
)(PyObject
*); /* Set the value */
50079 struct swig_globalvar
*next
;
50082 typedef struct swig_varlinkobject
{
50084 swig_globalvar
*vars
;
50085 } swig_varlinkobject
;
50087 SWIGINTERN PyObject
*
50088 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50089 return PyString_FromString("<Swig global variables>");
50092 SWIGINTERN PyObject
*
50093 swig_varlink_str(swig_varlinkobject
*v
) {
50094 PyObject
*str
= PyString_FromString("(");
50095 swig_globalvar
*var
;
50096 for (var
= v
->vars
; var
; var
=var
->next
) {
50097 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50098 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50100 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50105 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50106 PyObject
*str
= swig_varlink_str(v
);
50107 fprintf(fp
,"Swig global variables ");
50108 fprintf(fp
,"%s\n", PyString_AsString(str
));
50114 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50115 swig_globalvar
*var
= v
->vars
;
50117 swig_globalvar
*n
= var
->next
;
50124 SWIGINTERN PyObject
*
50125 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50126 PyObject
*res
= NULL
;
50127 swig_globalvar
*var
= v
->vars
;
50129 if (strcmp(var
->name
,n
) == 0) {
50130 res
= (*var
->get_attr
)();
50135 if (res
== NULL
&& !PyErr_Occurred()) {
50136 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50142 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50144 swig_globalvar
*var
= v
->vars
;
50146 if (strcmp(var
->name
,n
) == 0) {
50147 res
= (*var
->set_attr
)(p
);
50152 if (res
== 1 && !PyErr_Occurred()) {
50153 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50158 SWIGINTERN PyTypeObject
*
50159 swig_varlink_type(void) {
50160 static char varlink__doc__
[] = "Swig var link object";
50161 static PyTypeObject varlink_type
;
50162 static int type_init
= 0;
50164 const PyTypeObject tmp
50166 PyObject_HEAD_INIT(NULL
)
50167 0, /* Number of items in variable part (ob_size) */
50168 (char *)"swigvarlink", /* Type name (tp_name) */
50169 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50170 0, /* Itemsize (tp_itemsize) */
50171 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50172 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50173 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50174 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50175 0, /* tp_compare */
50176 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50177 0, /* tp_as_number */
50178 0, /* tp_as_sequence */
50179 0, /* tp_as_mapping */
50182 (reprfunc
)swig_varlink_str
, /* tp_str */
50183 0, /* tp_getattro */
50184 0, /* tp_setattro */
50185 0, /* tp_as_buffer */
50187 varlink__doc__
, /* tp_doc */
50188 0, /* tp_traverse */
50190 0, /* tp_richcompare */
50191 0, /* tp_weaklistoffset */
50192 #if PY_VERSION_HEX >= 0x02020000
50193 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50195 #if PY_VERSION_HEX >= 0x02030000
50198 #ifdef COUNT_ALLOCS
50199 0,0,0,0 /* tp_alloc -> tp_next */
50202 varlink_type
= tmp
;
50203 varlink_type
.ob_type
= &PyType_Type
;
50206 return &varlink_type
;
50209 /* Create a variable linking object for use later */
50210 SWIGINTERN PyObject
*
50211 SWIG_Python_newvarlink(void) {
50212 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50216 return ((PyObject
*) result
);
50220 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50221 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50222 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50224 size_t size
= strlen(name
)+1;
50225 gv
->name
= (char *)malloc(size
);
50227 strncpy(gv
->name
,name
,size
);
50228 gv
->get_attr
= get_attr
;
50229 gv
->set_attr
= set_attr
;
50230 gv
->next
= v
->vars
;
50236 SWIGINTERN PyObject
*
50238 static PyObject
*_SWIG_globals
= 0;
50239 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50240 return _SWIG_globals
;
50243 /* -----------------------------------------------------------------------------
50244 * constants/methods manipulation
50245 * ----------------------------------------------------------------------------- */
50247 /* Install Constants */
50249 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50252 for (i
= 0; constants
[i
].type
; ++i
) {
50253 switch(constants
[i
].type
) {
50254 case SWIG_PY_POINTER
:
50255 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50257 case SWIG_PY_BINARY
:
50258 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50265 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50271 /* -----------------------------------------------------------------------------*/
50272 /* Fix SwigMethods to carry the callback ptrs when needed */
50273 /* -----------------------------------------------------------------------------*/
50276 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50277 swig_const_info
*const_table
,
50278 swig_type_info
**types
,
50279 swig_type_info
**types_initial
) {
50281 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50282 const char *c
= methods
[i
].ml_doc
;
50283 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50285 swig_const_info
*ci
= 0;
50286 const char *name
= c
+ 10;
50287 for (j
= 0; const_table
[j
].type
; ++j
) {
50288 if (strncmp(const_table
[j
].name
, name
,
50289 strlen(const_table
[j
].name
)) == 0) {
50290 ci
= &(const_table
[j
]);
50295 size_t shift
= (ci
->ptype
) - types
;
50296 swig_type_info
*ty
= types_initial
[shift
];
50297 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50298 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50299 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50302 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50304 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50306 strncpy(buff
, "swig_ptr: ", 10);
50308 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50309 methods
[i
].ml_doc
= ndoc
;
50321 /* -----------------------------------------------------------------------------*
50322 * Partial Init method
50323 * -----------------------------------------------------------------------------*/
50328 SWIGEXPORT
void SWIG_init(void) {
50331 /* Fix SwigMethods to carry the callback ptrs when needed */
50332 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50334 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50335 d
= PyModule_GetDict(m
);
50337 SWIG_InitializeModule(0);
50338 SWIG_InstallConstants(d
,swig_const_table
);
50341 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50342 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50343 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50344 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50345 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50346 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50347 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50348 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50349 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50350 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50351 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50352 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50353 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50354 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50355 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50356 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50357 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50358 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50359 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50360 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50361 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50362 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50363 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50364 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50365 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50366 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50367 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50368 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50369 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50370 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50371 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50372 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50373 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50374 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50375 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50376 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50377 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50378 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50379 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50380 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50381 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50382 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50383 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50384 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50385 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50386 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50387 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50388 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50389 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50390 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50391 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50392 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50393 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50394 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50395 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50396 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50397 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50398 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50399 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50400 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50401 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50402 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50403 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50404 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50405 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50406 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50407 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50408 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50409 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50410 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50411 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50412 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50413 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50414 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50419 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50420 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50421 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50422 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50423 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50424 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50425 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50426 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50427 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50428 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50429 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50430 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50431 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50432 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50433 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50434 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50435 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50436 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50437 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50438 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50439 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50440 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50441 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50442 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50443 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50444 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50445 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50446 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50447 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50448 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50449 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50450 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50451 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50452 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50453 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50454 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50455 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50456 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50457 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50458 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50459 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50460 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50461 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50462 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50463 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50464 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50465 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50466 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50467 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50468 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50469 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50470 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50471 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50472 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50473 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50474 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50475 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50476 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50477 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50478 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50479 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50480 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50481 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50482 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50483 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50484 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50485 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50486 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50493 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50494 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50495 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50496 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50497 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50498 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50499 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50500 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50501 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50502 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50503 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50504 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50505 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50506 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50507 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50508 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50509 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50510 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50511 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50512 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50513 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50514 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50515 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50516 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50517 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50518 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50519 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50520 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50521 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50522 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50523 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50524 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50525 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50526 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50527 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50528 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50529 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50530 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50531 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50532 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50533 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50534 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50535 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50536 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50537 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50538 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50539 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50540 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50541 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50542 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50543 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50544 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50545 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50546 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50547 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50548 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50549 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50550 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50551 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50552 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50553 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50554 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50555 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50556 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50557 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50558 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50559 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50560 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50561 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50562 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50563 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50564 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50565 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50566 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50567 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50568 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50569 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50570 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50571 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50572 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50573 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50574 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50575 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50576 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50577 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50578 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50579 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50580 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50581 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50583 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50586 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50587 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50592 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50593 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50594 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50595 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50596 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50597 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50598 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50599 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50600 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50601 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50603 // Map renamed classes back to their common name for OOR
50604 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50606 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50607 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50608 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50609 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50610 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50611 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50612 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50613 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50614 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50615 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50616 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50617 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50618 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50619 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50620 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50621 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50622 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50623 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50624 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50625 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50626 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50627 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50628 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50629 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50630 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50631 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50632 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50633 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50634 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50635 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50636 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50637 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50638 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50639 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50647 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50648 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50649 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50650 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50651 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50652 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50654 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50655 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50656 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50657 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50658 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50659 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50661 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50663 // Map renamed classes back to their common name for OOR
50664 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50665 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50667 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50668 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50669 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50670 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50671 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50672 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50673 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50674 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50675 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50676 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50677 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50679 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50681 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50682 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50683 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50684 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50685 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50686 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50687 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50688 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50689 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50690 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50691 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50692 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50693 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50694 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50695 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50696 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50697 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50698 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50699 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50700 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50701 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50702 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50703 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50704 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50705 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50706 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50707 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50708 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50709 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50710 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50711 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50712 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50713 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50714 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50715 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50716 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50717 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50718 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50719 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50720 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50721 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50722 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50723 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50724 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50725 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50726 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50727 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50728 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50729 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50730 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));