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_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 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
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 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
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 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
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10375 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10376 return SWIG_Py_Void();
10379 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 return SWIG_Python_InitShadowInstance(args
);
10383 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10384 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10389 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10390 PyObject
*pyobj
= 0;
10394 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10396 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10403 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxColour
const &arg1_defvalue
= wxNullColour
;
10406 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10407 wxColour
const &arg2_defvalue
= wxNullColour
;
10408 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10409 wxFont
const &arg3_defvalue
= wxNullFont
;
10410 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10411 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10412 wxTextAttr
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char * kwnames
[] = {
10424 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10431 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10442 if (!SWIG_IsOK(res3
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10448 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10452 if (!SWIG_IsOK(ecode4
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10455 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10470 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxTextAttr
*arg1
= 0 ;
10528 wxTextAttr
*arg2
= 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "base",(char *) "overlay", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10548 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10550 if (!SWIG_IsOK(res2
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10556 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10570 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10573 wxColour
*arg2
= 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char * kwnames
[] = {
10580 (char *) "self",(char *) "colText", NULL
10583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10588 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10609 wxColour
*arg2
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "self",(char *) "colBack", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10624 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_Py_Void();
10642 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10646 long arg3
= (long) wxTEXT_ATTR_FONT
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char * kwnames
[] = {
10657 (char *) "self",(char *) "font",(char *) "flags", NULL
10660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10665 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10667 if (!SWIG_IsOK(res2
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10673 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10679 arg3
= static_cast< long >(val3
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
= 0;
10696 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10697 wxTextAttrAlignment arg2
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "alignment", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10718 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetAlignment(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_Py_Void();
10732 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10735 wxArrayInt
*arg2
= 0 ;
10738 bool temp2
= false ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "tabs", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10750 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10752 if (! PySequence_Check(obj1
)) {
10753 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10756 arg2
= new wxArrayInt
;
10758 int i
, len
=PySequence_Length(obj1
);
10759 for (i
=0; i
<len
; i
++) {
10760 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10761 PyObject
* number
= PyNumber_Int(item
);
10762 arg2
->Add(PyInt_AS_LONG(number
));
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10775 if (temp2
) delete arg2
;
10780 if (temp2
) delete arg2
;
10786 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= 0;
10788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10790 int arg3
= (int) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10809 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10811 if (!SWIG_IsOK(ecode2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10814 arg2
= static_cast< int >(val2
);
10816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10817 if (!SWIG_IsOK(ecode3
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10820 arg3
= static_cast< int >(val3
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetLeftIndent(arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_Py_Void();
10835 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "indent", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10854 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10856 if (!SWIG_IsOK(ecode2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10859 arg2
= static_cast< int >(val2
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetRightIndent(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_Py_Void();
10873 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "flags", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10892 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10897 arg2
= static_cast< long >(val2
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetFlags(arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_Py_Void();
10911 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10912 PyObject
*resultobj
= 0;
10913 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10917 PyObject
*swig_obj
[1] ;
10919 if (!args
) SWIG_fail
;
10920 swig_obj
[0] = args
;
10921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10925 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10941 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 PyObject
*resultobj
= 0;
10943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10947 PyObject
*swig_obj
[1] ;
10949 if (!args
) SWIG_fail
;
10950 swig_obj
[0] = args
;
10951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10955 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10972 PyObject
*resultobj
= 0;
10973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10977 PyObject
*swig_obj
[1] ;
10979 if (!args
) SWIG_fail
;
10980 swig_obj
[0] = args
;
10981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10985 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11015 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11032 PyObject
*resultobj
= 0;
11033 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11037 PyObject
*swig_obj
[1] ;
11039 if (!args
) SWIG_fail
;
11040 swig_obj
[0] = args
;
11041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11045 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11061 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11062 PyObject
*resultobj
= 0;
11063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11067 PyObject
*swig_obj
[1] ;
11069 if (!args
) SWIG_fail
;
11070 swig_obj
[0] = args
;
11071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11072 if (!SWIG_IsOK(res1
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11075 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 PyObject
*resultobj
= 0;
11093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11097 PyObject
*swig_obj
[1] ;
11099 if (!args
) SWIG_fail
;
11100 swig_obj
[0] = args
;
11101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11105 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11121 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "flag", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11141 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11143 if (!SWIG_IsOK(ecode2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11146 arg2
= static_cast< long >(val2
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 wxColour
*result
= 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11176 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11181 result
= (wxColour
*) &_result_ref
;
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11193 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11194 PyObject
*resultobj
= 0;
11195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 wxColour
*result
= 0 ;
11199 PyObject
*swig_obj
[1] ;
11201 if (!args
) SWIG_fail
;
11202 swig_obj
[0] = args
;
11203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11207 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11212 result
= (wxColour
*) &_result_ref
;
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11224 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11227 wxFont
*result
= 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11238 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11243 result
= (wxFont
*) &_result_ref
;
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 wxFont
* resultptr
= new wxFont(*result
);
11250 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxTextAttrAlignment result
;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_From_int(static_cast< int >(result
));
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxArrayInt
*result
= 0 ;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11305 result
= (wxArrayInt
*) &_result_ref
;
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= wxArrayInt2PyList_helper(*result
);
11319 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11320 PyObject
*resultobj
= 0;
11321 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11325 PyObject
*swig_obj
[1] ;
11327 if (!args
) SWIG_fail
;
11328 swig_obj
[0] = args
;
11329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11330 if (!SWIG_IsOK(res1
)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11333 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_From_long(static_cast< long >(result
));
11347 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11361 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_long(static_cast< long >(result
));
11375 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 PyObject
*resultobj
= 0;
11377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11389 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_From_long(static_cast< long >(result
));
11403 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_long(static_cast< long >(result
));
11431 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11461 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= 0;
11463 wxTextAttr
*arg1
= 0 ;
11464 wxTextAttr
*arg2
= 0 ;
11465 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 PyObject
* obj2
= 0 ;
11476 char * kwnames
[] = {
11477 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11482 if (!SWIG_IsOK(res1
)) {
11483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11488 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11490 if (!SWIG_IsOK(res2
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11496 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11497 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11498 if (!SWIG_IsOK(res3
)) {
11499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11501 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11515 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11518 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11519 return SWIG_Py_Void();
11522 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11523 return SWIG_Python_InitShadowInstance(args
);
11526 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
= 0;
11528 wxWindow
*arg1
= (wxWindow
*) 0 ;
11529 int arg2
= (int) -1 ;
11530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11536 long arg6
= (long) 0 ;
11537 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11538 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11539 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11540 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11541 wxTextCtrl
*result
= 0 ;
11546 bool temp3
= false ;
11553 bool temp8
= false ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 PyObject
* obj3
= 0 ;
11558 PyObject
* obj4
= 0 ;
11559 PyObject
* obj5
= 0 ;
11560 PyObject
* obj6
= 0 ;
11561 PyObject
* obj7
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11574 if (!SWIG_IsOK(ecode2
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11577 arg2
= static_cast< int >(val2
);
11581 arg3
= wxString_in_helper(obj2
);
11582 if (arg3
== NULL
) SWIG_fail
;
11589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11599 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11600 if (!SWIG_IsOK(ecode6
)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11603 arg6
= static_cast< long >(val6
);
11606 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11607 if (!SWIG_IsOK(res7
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11613 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11617 arg8
= wxString_in_helper(obj7
);
11618 if (arg8
== NULL
) SWIG_fail
;
11623 if (!wxPyCheckForApp()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11652 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxTextCtrl
*result
= 0 ;
11656 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11658 if (!wxPyCheckForApp()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxTextCtrl
*)new wxTextCtrl();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11671 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= 0;
11673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11674 wxWindow
*arg2
= (wxWindow
*) 0 ;
11675 int arg3
= (int) -1 ;
11676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11678 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11679 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11680 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11681 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11682 long arg7
= (long) 0 ;
11683 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11684 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11685 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11686 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11694 bool temp4
= false ;
11701 bool temp9
= false ;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 PyObject
* obj4
= 0 ;
11707 PyObject
* obj5
= 0 ;
11708 PyObject
* obj6
= 0 ;
11709 PyObject
* obj7
= 0 ;
11710 PyObject
* obj8
= 0 ;
11711 char * kwnames
[] = {
11712 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11720 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11722 if (!SWIG_IsOK(res2
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11728 if (!SWIG_IsOK(ecode3
)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11731 arg3
= static_cast< int >(val3
);
11735 arg4
= wxString_in_helper(obj3
);
11736 if (arg4
== NULL
) SWIG_fail
;
11743 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11749 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11753 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11754 if (!SWIG_IsOK(ecode7
)) {
11755 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11757 arg7
= static_cast< long >(val7
);
11760 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11761 if (!SWIG_IsOK(res8
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11767 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11771 arg9
= wxString_in_helper(obj8
);
11772 if (arg9
== NULL
) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11807 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11821 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11841 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
= 0;
11843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11844 wxString
*arg2
= 0 ;
11847 bool temp2
= false ;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 char * kwnames
[] = {
11851 (char *) "self",(char *) "value", NULL
11854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11856 if (!SWIG_IsOK(res1
)) {
11857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11859 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11861 arg2
= wxString_in_helper(obj1
);
11862 if (arg2
== NULL
) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetValue((wxString
const &)*arg2
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_Py_Void();
11886 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11887 PyObject
*resultobj
= 0;
11888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11892 PyObject
*swig_obj
[1] ;
11894 if (!args
) SWIG_fail
;
11895 swig_obj
[0] = args
;
11896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11900 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11916 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11919 wxString
*arg2
= 0 ;
11922 bool temp2
= false ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char * kwnames
[] = {
11926 (char *) "self",(char *) "value", NULL
11929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11934 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11936 arg2
= wxString_in_helper(obj1
);
11937 if (arg2
== NULL
) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_Py_Void();
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "self",(char *) "from",(char *) "to", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11982 if (!SWIG_IsOK(res1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11985 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11987 if (!SWIG_IsOK(ecode2
)) {
11988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11990 arg2
= static_cast< long >(val2
);
11991 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11992 if (!SWIG_IsOK(ecode3
)) {
11993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11995 arg3
= static_cast< long >(val3
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12015 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= 0;
12017 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 PyObject
* obj1
= 0 ;
12026 char * kwnames
[] = {
12027 (char *) "self",(char *) "lineNo", NULL
12030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12032 if (!SWIG_IsOK(res1
)) {
12033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12035 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12037 if (!SWIG_IsOK(ecode2
)) {
12038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12040 arg2
= static_cast< long >(val2
);
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_int(static_cast< int >(result
));
12054 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
= 0;
12056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "lineNo", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12079 arg2
= static_cast< long >(val2
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12099 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12105 PyObject
*swig_obj
[1] ;
12107 if (!args
) SWIG_fail
;
12108 swig_obj
[0] = args
;
12109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12110 if (!SWIG_IsOK(res1
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12113 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_From_int(static_cast< int >(result
));
12127 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 PyObject
*resultobj
= 0;
12129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12133 PyObject
*swig_obj
[1] ;
12135 if (!args
) SWIG_fail
;
12136 swig_obj
[0] = args
;
12137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12141 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12157 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12158 PyObject
*resultobj
= 0;
12159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12163 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12187 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12188 PyObject
*resultobj
= 0;
12189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12193 PyObject
*swig_obj
[1] ;
12195 if (!args
) SWIG_fail
;
12196 swig_obj
[0] = args
;
12197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12198 if (!SWIG_IsOK(res1
)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12201 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12217 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 PyObject
*resultobj
= 0;
12219 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12231 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12250 long *arg2
= (long *) 0 ;
12251 long *arg3
= (long *) 0 ;
12255 int res2
= SWIG_TMPOBJ
;
12257 int res3
= SWIG_TMPOBJ
;
12258 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12268 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_Py_Void();
12276 if (SWIG_IsTmpObj(res2
)) {
12277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12279 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12282 if (SWIG_IsTmpObj(res3
)) {
12283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12285 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12294 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12328 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12329 PyObject
*resultobj
= 0;
12330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12333 PyObject
*swig_obj
[1] ;
12335 if (!args
) SWIG_fail
;
12336 swig_obj
[0] = args
;
12337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12341 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_Py_Void();
12355 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
= 0;
12357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12360 wxString
*arg4
= 0 ;
12367 bool temp4
= false ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 PyObject
* obj2
= 0 ;
12371 PyObject
* obj3
= 0 ;
12372 char * kwnames
[] = {
12373 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12383 if (!SWIG_IsOK(ecode2
)) {
12384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12386 arg2
= static_cast< long >(val2
);
12387 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12388 if (!SWIG_IsOK(ecode3
)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12391 arg3
= static_cast< long >(val3
);
12393 arg4
= wxString_in_helper(obj3
);
12394 if (arg4
== NULL
) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12418 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 PyObject
* obj2
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "from",(char *) "to", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12441 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12442 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12443 if (!SWIG_IsOK(ecode2
)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12446 arg2
= static_cast< long >(val2
);
12447 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12448 if (!SWIG_IsOK(ecode3
)) {
12449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12451 arg3
= static_cast< long >(val3
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->Remove(arg2
,arg3
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_Py_Void();
12465 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
= 0;
12467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12468 wxString
*arg2
= 0 ;
12469 int arg3
= (int) wxTEXT_TYPE_ANY
;
12473 bool temp2
= false ;
12476 PyObject
* obj0
= 0 ;
12477 PyObject
* obj1
= 0 ;
12478 PyObject
* obj2
= 0 ;
12479 char * kwnames
[] = {
12480 (char *) "self",(char *) "file",(char *) "fileType", NULL
12483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12490 arg2
= wxString_in_helper(obj1
);
12491 if (arg2
== NULL
) SWIG_fail
;
12495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12496 if (!SWIG_IsOK(ecode3
)) {
12497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12499 arg3
= static_cast< int >(val3
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12524 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
= 0;
12526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12527 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12528 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12529 int arg3
= (int) wxTEXT_TYPE_ANY
;
12533 bool temp2
= false ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 PyObject
* obj2
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "self",(char *) "file",(char *) "fileType", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12548 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12551 arg2
= wxString_in_helper(obj1
);
12552 if (arg2
== NULL
) SWIG_fail
;
12557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12558 if (!SWIG_IsOK(ecode3
)) {
12559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12561 arg3
= static_cast< int >(val3
);
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12586 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12587 PyObject
*resultobj
= 0;
12588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12591 PyObject
*swig_obj
[1] ;
12593 if (!args
) SWIG_fail
;
12594 swig_obj
[0] = args
;
12595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->MarkDirty();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_Py_Void();
12613 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12618 PyObject
*swig_obj
[1] ;
12620 if (!args
) SWIG_fail
;
12621 swig_obj
[0] = args
;
12622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->DiscardEdits();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_Py_Void();
12640 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= 0;
12642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "modified", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12659 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12664 arg2
= static_cast< bool >(val2
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetModified(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_Py_Void();
12678 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12681 unsigned long arg2
;
12684 unsigned long val2
;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char * kwnames
[] = {
12689 (char *) "self",(char *) "len", NULL
12692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12698 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12699 if (!SWIG_IsOK(ecode2
)) {
12700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12702 arg2
= static_cast< unsigned long >(val2
);
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->SetMaxLength(arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_Py_Void();
12716 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
= 0;
12718 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12719 wxString
*arg2
= 0 ;
12722 bool temp2
= false ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char * kwnames
[] = {
12726 (char *) "self",(char *) "text", NULL
12729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12736 arg2
= wxString_in_helper(obj1
);
12737 if (arg2
== NULL
) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->WriteText((wxString
const &)*arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_Py_Void();
12761 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12764 wxString
*arg2
= 0 ;
12767 bool temp2
= false ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "text", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12781 arg2
= wxString_in_helper(obj1
);
12782 if (arg2
== NULL
) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->AppendText((wxString
const &)*arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_Py_Void();
12806 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12809 wxKeyEvent
*arg2
= 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char * kwnames
[] = {
12818 (char *) "self",(char *) "event", NULL
12821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12823 if (!SWIG_IsOK(res1
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12826 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12828 if (!SWIG_IsOK(res2
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12834 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12850 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
= 0;
12852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12855 wxTextAttr
*arg4
= 0 ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 PyObject
* obj2
= 0 ;
12868 PyObject
* obj3
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12880 if (!SWIG_IsOK(ecode2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12883 arg2
= static_cast< long >(val2
);
12884 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12885 if (!SWIG_IsOK(ecode3
)) {
12886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12888 arg3
= static_cast< long >(val3
);
12889 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12890 if (!SWIG_IsOK(res4
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12896 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
= 0;
12914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12916 wxTextAttr
*arg3
= 0 ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 PyObject
* obj2
= 0 ;
12927 char * kwnames
[] = {
12928 (char *) "self",(char *) "position",(char *) "style", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12936 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12941 arg2
= static_cast< long >(val2
);
12942 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12943 if (!SWIG_IsOK(res3
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12949 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12965 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= 0;
12967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12968 wxTextAttr
*arg2
= 0 ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char * kwnames
[] = {
12977 (char *) "self",(char *) "style", NULL
12980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12982 if (!SWIG_IsOK(res1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12985 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12987 if (!SWIG_IsOK(res2
)) {
12988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12993 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13009 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 PyObject
*resultobj
= 0;
13011 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13012 wxTextAttr
*result
= 0 ;
13015 PyObject
*swig_obj
[1] ;
13017 if (!args
) SWIG_fail
;
13018 swig_obj
[0] = args
;
13019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13023 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13028 result
= (wxTextAttr
*) &_result_ref
;
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13040 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "x",(char *) "y", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13069 arg2
= static_cast< long >(val2
);
13070 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13071 if (!SWIG_IsOK(ecode3
)) {
13072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13074 arg3
= static_cast< long >(val3
);
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_From_long(static_cast< long >(result
));
13088 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= 0;
13090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13092 long *arg3
= (long *) 0 ;
13093 long *arg4
= (long *) 0 ;
13099 int res3
= SWIG_TMPOBJ
;
13101 int res4
= SWIG_TMPOBJ
;
13102 PyObject
* obj0
= 0 ;
13103 PyObject
* obj1
= 0 ;
13104 char * kwnames
[] = {
13105 (char *) "self",(char *) "pos", NULL
13110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13112 if (!SWIG_IsOK(res1
)) {
13113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13115 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13116 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13117 if (!SWIG_IsOK(ecode2
)) {
13118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13120 arg2
= static_cast< long >(val2
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_Py_Void();
13128 if (SWIG_IsTmpObj(res3
)) {
13129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13131 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13134 if (SWIG_IsTmpObj(res4
)) {
13135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13137 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13146 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
= 0;
13148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char * kwnames
[] = {
13157 (char *) "self",(char *) "pos", NULL
13160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13162 if (!SWIG_IsOK(res1
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13165 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13167 if (!SWIG_IsOK(ecode2
)) {
13168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13170 arg2
= static_cast< long >(val2
);
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->ShowPosition(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_Py_Void();
13184 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
= 0;
13186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13187 wxPoint
*arg2
= 0 ;
13188 long *arg3
= (long *) 0 ;
13189 long *arg4
= (long *) 0 ;
13190 wxTextCtrlHitTestResult result
;
13195 int res3
= SWIG_TMPOBJ
;
13197 int res4
= SWIG_TMPOBJ
;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 char * kwnames
[] = {
13201 (char *) "self",(char *) "pt", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_From_int(static_cast< int >(result
));
13223 if (SWIG_IsTmpObj(res3
)) {
13224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13229 if (SWIG_IsTmpObj(res4
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13232 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13244 wxPoint
*arg2
= 0 ;
13245 long *arg3
= (long *) 0 ;
13246 wxTextCtrlHitTestResult result
;
13251 int res3
= SWIG_TMPOBJ
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char * kwnames
[] = {
13255 (char *) "self",(char *) "pt", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_From_int(static_cast< int >(result
));
13276 if (SWIG_IsTmpObj(res3
)) {
13277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13279 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13288 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 PyObject
*resultobj
= 0;
13290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13293 PyObject
*swig_obj
[1] ;
13295 if (!args
) SWIG_fail
;
13296 swig_obj
[0] = args
;
13297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13301 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_Py_Void();
13315 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13316 PyObject
*resultobj
= 0;
13317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13320 PyObject
*swig_obj
[1] ;
13322 if (!args
) SWIG_fail
;
13323 swig_obj
[0] = args
;
13324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13325 if (!SWIG_IsOK(res1
)) {
13326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13328 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_Py_Void();
13342 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13343 PyObject
*resultobj
= 0;
13344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13347 PyObject
*swig_obj
[1] ;
13349 if (!args
) SWIG_fail
;
13350 swig_obj
[0] = args
;
13351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13352 if (!SWIG_IsOK(res1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13355 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_Py_Void();
13369 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13370 PyObject
*resultobj
= 0;
13371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13399 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13400 PyObject
*resultobj
= 0;
13401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 PyObject
*swig_obj
[1] ;
13407 if (!args
) SWIG_fail
;
13408 swig_obj
[0] = args
;
13409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13413 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 PyObject
*resultobj
= 0;
13431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13443 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13459 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13460 PyObject
*resultobj
= 0;
13461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13464 PyObject
*swig_obj
[1] ;
13466 if (!args
) SWIG_fail
;
13467 swig_obj
[0] = args
;
13468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13472 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_Py_Void();
13486 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13487 PyObject
*resultobj
= 0;
13488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13491 PyObject
*swig_obj
[1] ;
13493 if (!args
) SWIG_fail
;
13494 swig_obj
[0] = args
;
13495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13496 if (!SWIG_IsOK(res1
)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13499 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_Py_Void();
13513 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13543 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13544 PyObject
*resultobj
= 0;
13545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13549 PyObject
*swig_obj
[1] ;
13551 if (!args
) SWIG_fail
;
13552 swig_obj
[0] = args
;
13553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13554 if (!SWIG_IsOK(res1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13557 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13573 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
= 0;
13575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "self",(char *) "pos", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13592 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13593 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13594 if (!SWIG_IsOK(ecode2
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13597 arg2
= static_cast< long >(val2
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SetInsertionPoint(arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13616 PyObject
*swig_obj
[1] ;
13618 if (!args
) SWIG_fail
;
13619 swig_obj
[0] = args
;
13620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13624 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 (arg1
)->SetInsertionPointEnd();
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_Py_Void();
13638 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 PyObject
*resultobj
= 0;
13640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13644 PyObject
*swig_obj
[1] ;
13646 if (!args
) SWIG_fail
;
13647 swig_obj
[0] = args
;
13648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_From_long(static_cast< long >(result
));
13666 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13667 PyObject
*resultobj
= 0;
13668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13672 PyObject
*swig_obj
[1] ;
13674 if (!args
) SWIG_fail
;
13675 swig_obj
[0] = args
;
13676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13677 if (!SWIG_IsOK(res1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13680 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_From_long(static_cast< long >(result
));
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 PyObject
* obj2
= 0 ;
13708 char * kwnames
[] = {
13709 (char *) "self",(char *) "from",(char *) "to", NULL
13712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13717 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13719 if (!SWIG_IsOK(ecode2
)) {
13720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13722 arg2
= static_cast< long >(val2
);
13723 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13724 if (!SWIG_IsOK(ecode3
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13727 arg3
= static_cast< long >(val3
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 (arg1
)->SetSelection(arg2
,arg3
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_Py_Void();
13741 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13742 PyObject
*resultobj
= 0;
13743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13746 PyObject
*swig_obj
[1] ;
13748 if (!args
) SWIG_fail
;
13749 swig_obj
[0] = args
;
13750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13751 if (!SWIG_IsOK(res1
)) {
13752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13754 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 (arg1
)->SelectAll();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_Py_Void();
13768 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
= 0;
13770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char * kwnames
[] = {
13779 (char *) "self",(char *) "editable", NULL
13782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13784 if (!SWIG_IsOK(res1
)) {
13785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13787 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13789 if (!SWIG_IsOK(ecode2
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13792 arg2
= static_cast< bool >(val2
);
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 (arg1
)->SetEditable(arg2
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_Py_Void();
13806 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13807 PyObject
*resultobj
= 0;
13808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13811 PyObject
*swig_obj
[1] ;
13813 if (!args
) SWIG_fail
;
13814 swig_obj
[0] = args
;
13815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SendTextUpdatedEvent();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_Py_Void();
13833 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13836 wxString
*arg2
= 0 ;
13839 bool temp2
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "text", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13851 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13853 arg2
= wxString_in_helper(obj1
);
13854 if (arg2
== NULL
) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_Py_Void();
13878 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
= 0;
13880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 PyObject
* obj2
= 0 ;
13893 char * kwnames
[] = {
13894 (char *) "self",(char *) "from",(char *) "to", NULL
13897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13902 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13904 if (!SWIG_IsOK(ecode2
)) {
13905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13907 arg2
= static_cast< long >(val2
);
13908 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13909 if (!SWIG_IsOK(ecode3
)) {
13910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13912 arg3
= static_cast< long >(val3
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13932 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
= 0;
13934 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13935 SwigValueWrapper
<wxVisualAttributes
> result
;
13938 PyObject
* obj0
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "variant", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13945 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13946 if (!SWIG_IsOK(ecode1
)) {
13947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13949 arg1
= static_cast< wxWindowVariant
>(val1
);
13952 if (!wxPyCheckForApp()) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13965 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13968 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13969 return SWIG_Py_Void();
13972 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 return SWIG_Python_InitShadowInstance(args
);
13976 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= 0;
13979 wxMouseEvent
*arg2
= 0 ;
13982 wxTextUrlEvent
*result
= 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 PyObject
* obj2
= 0 ;
13994 PyObject
* obj3
= 0 ;
13995 char * kwnames
[] = {
13996 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14001 if (!SWIG_IsOK(ecode1
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14004 arg1
= static_cast< int >(val1
);
14005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14006 if (!SWIG_IsOK(res2
)) {
14007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14012 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14013 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14014 if (!SWIG_IsOK(ecode3
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14017 arg3
= static_cast< long >(val3
);
14018 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14019 if (!SWIG_IsOK(ecode4
)) {
14020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14022 arg4
= static_cast< long >(val4
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14036 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 PyObject
*resultobj
= 0;
14038 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14039 wxMouseEvent
*result
= 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14050 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14055 result
= (wxMouseEvent
*) &_result_ref
;
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14067 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14068 PyObject
*resultobj
= 0;
14069 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14073 PyObject
*swig_obj
[1] ;
14075 if (!args
) SWIG_fail
;
14076 swig_obj
[0] = args
;
14077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14081 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_From_long(static_cast< long >(result
));
14095 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14096 PyObject
*resultobj
= 0;
14097 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14101 PyObject
*swig_obj
[1] ;
14103 if (!args
) SWIG_fail
;
14104 swig_obj
[0] = args
;
14105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14109 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_From_long(static_cast< long >(result
));
14123 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14126 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14127 return SWIG_Py_Void();
14130 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 return SWIG_Python_InitShadowInstance(args
);
14134 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14135 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14140 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14141 PyObject
*pyobj
= 0;
14145 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14154 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14156 wxWindow
*arg1
= (wxWindow
*) 0 ;
14157 int arg2
= (int) -1 ;
14158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14162 long arg5
= (long) wxSB_HORIZONTAL
;
14163 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14164 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14165 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14167 wxScrollBar
*result
= 0 ;
14178 bool temp7
= false ;
14179 PyObject
* obj0
= 0 ;
14180 PyObject
* obj1
= 0 ;
14181 PyObject
* obj2
= 0 ;
14182 PyObject
* obj3
= 0 ;
14183 PyObject
* obj4
= 0 ;
14184 PyObject
* obj5
= 0 ;
14185 PyObject
* obj6
= 0 ;
14186 char * kwnames
[] = {
14187 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14192 if (!SWIG_IsOK(res1
)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14198 if (!SWIG_IsOK(ecode2
)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14201 arg2
= static_cast< int >(val2
);
14206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14212 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14216 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14217 if (!SWIG_IsOK(ecode5
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14220 arg5
= static_cast< long >(val5
);
14223 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14224 if (!SWIG_IsOK(res6
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14230 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14234 arg7
= wxString_in_helper(obj6
);
14235 if (arg7
== NULL
) SWIG_fail
;
14240 if (!wxPyCheckForApp()) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14261 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14262 PyObject
*resultobj
= 0;
14263 wxScrollBar
*result
= 0 ;
14265 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14267 if (!wxPyCheckForApp()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (wxScrollBar
*)new wxScrollBar();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14280 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= 0;
14282 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14283 wxWindow
*arg2
= (wxWindow
*) 0 ;
14284 int arg3
= (int) -1 ;
14285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14289 long arg6
= (long) wxSB_HORIZONTAL
;
14290 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14291 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14292 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14307 bool temp8
= false ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 PyObject
* obj2
= 0 ;
14311 PyObject
* obj3
= 0 ;
14312 PyObject
* obj4
= 0 ;
14313 PyObject
* obj5
= 0 ;
14314 PyObject
* obj6
= 0 ;
14315 PyObject
* obj7
= 0 ;
14316 char * kwnames
[] = {
14317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14322 if (!SWIG_IsOK(res1
)) {
14323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14325 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14327 if (!SWIG_IsOK(res2
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14333 if (!SWIG_IsOK(ecode3
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14336 arg3
= static_cast< int >(val3
);
14341 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14347 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14351 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14352 if (!SWIG_IsOK(ecode6
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14355 arg6
= static_cast< long >(val6
);
14358 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14359 if (!SWIG_IsOK(res7
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14365 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14369 arg8
= wxString_in_helper(obj7
);
14370 if (arg8
== NULL
) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14397 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14398 PyObject
*resultobj
= 0;
14399 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14403 PyObject
*swig_obj
[1] ;
14405 if (!args
) SWIG_fail
;
14406 swig_obj
[0] = args
;
14407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14408 if (!SWIG_IsOK(res1
)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14411 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= SWIG_From_int(static_cast< int >(result
));
14425 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14426 PyObject
*resultobj
= 0;
14427 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14431 PyObject
*swig_obj
[1] ;
14433 if (!args
) SWIG_fail
;
14434 swig_obj
[0] = args
;
14435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14436 if (!SWIG_IsOK(res1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14439 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_From_int(static_cast< int >(result
));
14453 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14454 PyObject
*resultobj
= 0;
14455 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14459 PyObject
*swig_obj
[1] ;
14461 if (!args
) SWIG_fail
;
14462 swig_obj
[0] = args
;
14463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14464 if (!SWIG_IsOK(res1
)) {
14465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14467 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_From_int(static_cast< int >(result
));
14481 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14482 PyObject
*resultobj
= 0;
14483 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14487 PyObject
*swig_obj
[1] ;
14489 if (!args
) SWIG_fail
;
14490 swig_obj
[0] = args
;
14491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14492 if (!SWIG_IsOK(res1
)) {
14493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14495 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_From_int(static_cast< int >(result
));
14509 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14510 PyObject
*resultobj
= 0;
14511 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14515 PyObject
*swig_obj
[1] ;
14517 if (!args
) SWIG_fail
;
14518 swig_obj
[0] = args
;
14519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14520 if (!SWIG_IsOK(res1
)) {
14521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14523 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
= 0;
14541 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char * kwnames
[] = {
14550 (char *) "self",(char *) "viewStart", NULL
14553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14558 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14560 if (!SWIG_IsOK(ecode2
)) {
14561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14563 arg2
= static_cast< int >(val2
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->SetThumbPosition(arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_Py_Void();
14577 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
= 0;
14579 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14580 SwigValueWrapper
<wxVisualAttributes
> result
;
14583 PyObject
* obj0
= 0 ;
14584 char * kwnames
[] = {
14585 (char *) "variant", NULL
14588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14591 if (!SWIG_IsOK(ecode1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14594 arg1
= static_cast< wxWindowVariant
>(val1
);
14597 if (!wxPyCheckForApp()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14610 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14613 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14614 return SWIG_Py_Void();
14617 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 return SWIG_Python_InitShadowInstance(args
);
14621 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14622 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14627 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14628 PyObject
*pyobj
= 0;
14632 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14634 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14641 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14642 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14647 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14648 PyObject
*pyobj
= 0;
14652 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14654 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14661 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
= 0;
14663 wxWindow
*arg1
= (wxWindow
*) 0 ;
14664 int arg2
= (int) -1 ;
14665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14669 long arg5
= (long) wxSP_HORIZONTAL
;
14670 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14671 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14672 wxSpinButton
*result
= 0 ;
14681 bool temp6
= false ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 PyObject
* obj2
= 0 ;
14685 PyObject
* obj3
= 0 ;
14686 PyObject
* obj4
= 0 ;
14687 PyObject
* obj5
= 0 ;
14688 char * kwnames
[] = {
14689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14700 if (!SWIG_IsOK(ecode2
)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14703 arg2
= static_cast< int >(val2
);
14708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14714 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14718 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14719 if (!SWIG_IsOK(ecode5
)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14722 arg5
= static_cast< long >(val5
);
14726 arg6
= wxString_in_helper(obj5
);
14727 if (arg6
== NULL
) SWIG_fail
;
14732 if (!wxPyCheckForApp()) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14753 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14754 PyObject
*resultobj
= 0;
14755 wxSpinButton
*result
= 0 ;
14757 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14759 if (!wxPyCheckForApp()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (wxSpinButton
*)new wxSpinButton();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14772 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14775 wxWindow
*arg2
= (wxWindow
*) 0 ;
14776 int arg3
= (int) -1 ;
14777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14781 long arg6
= (long) wxSP_HORIZONTAL
;
14782 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14795 bool temp7
= false ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 PyObject
* obj2
= 0 ;
14799 PyObject
* obj3
= 0 ;
14800 PyObject
* obj4
= 0 ;
14801 PyObject
* obj5
= 0 ;
14802 PyObject
* obj6
= 0 ;
14803 char * kwnames
[] = {
14804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14809 if (!SWIG_IsOK(res1
)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14812 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14814 if (!SWIG_IsOK(res2
)) {
14815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14820 if (!SWIG_IsOK(ecode3
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14823 arg3
= static_cast< int >(val3
);
14828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14838 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14839 if (!SWIG_IsOK(ecode6
)) {
14840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14842 arg6
= static_cast< long >(val6
);
14846 arg7
= wxString_in_helper(obj6
);
14847 if (arg7
== NULL
) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14875 PyObject
*resultobj
= 0;
14876 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14880 PyObject
*swig_obj
[1] ;
14882 if (!args
) SWIG_fail
;
14883 swig_obj
[0] = args
;
14884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14888 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_From_int(static_cast< int >(result
));
14902 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14903 PyObject
*resultobj
= 0;
14904 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14908 PyObject
*swig_obj
[1] ;
14910 if (!args
) SWIG_fail
;
14911 swig_obj
[0] = args
;
14912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14916 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int(static_cast< int >(result
));
14930 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14931 PyObject
*resultobj
= 0;
14932 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14936 PyObject
*swig_obj
[1] ;
14938 if (!args
) SWIG_fail
;
14939 swig_obj
[0] = args
;
14940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14944 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int(static_cast< int >(result
));
14958 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 PyObject
* obj1
= 0 ;
14968 char * kwnames
[] = {
14969 (char *) "self",(char *) "val", NULL
14972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14977 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14979 if (!SWIG_IsOK(ecode2
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14982 arg2
= static_cast< int >(val2
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SetValue(arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_Py_Void();
14996 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= 0;
14998 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char * kwnames
[] = {
15007 (char *) "self",(char *) "minVal", NULL
15010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15012 if (!SWIG_IsOK(res1
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15015 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15017 if (!SWIG_IsOK(ecode2
)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15020 arg2
= static_cast< int >(val2
);
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetMin(arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_Py_Void();
15034 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
= 0;
15036 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char * kwnames
[] = {
15045 (char *) "self",(char *) "maxVal", NULL
15048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15053 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15055 if (!SWIG_IsOK(ecode2
)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15058 arg2
= static_cast< int >(val2
);
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->SetMax(arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_Py_Void();
15072 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= 0;
15074 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 PyObject
* obj2
= 0 ;
15086 char * kwnames
[] = {
15087 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15092 if (!SWIG_IsOK(res1
)) {
15093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15095 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15097 if (!SWIG_IsOK(ecode2
)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15100 arg2
= static_cast< int >(val2
);
15101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15102 if (!SWIG_IsOK(ecode3
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15105 arg3
= static_cast< int >(val3
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetRange(arg2
,arg3
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_Py_Void();
15119 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 PyObject
*resultobj
= 0;
15121 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15125 PyObject
*swig_obj
[1] ;
15127 if (!args
) SWIG_fail
;
15128 swig_obj
[0] = args
;
15129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15133 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15149 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
= 0;
15151 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15152 SwigValueWrapper
<wxVisualAttributes
> result
;
15155 PyObject
* obj0
= 0 ;
15156 char * kwnames
[] = {
15157 (char *) "variant", NULL
15160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15163 if (!SWIG_IsOK(ecode1
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15166 arg1
= static_cast< wxWindowVariant
>(val1
);
15169 if (!wxPyCheckForApp()) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15182 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15185 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15186 return SWIG_Py_Void();
15189 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15190 return SWIG_Python_InitShadowInstance(args
);
15193 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
= 0;
15195 wxWindow
*arg1
= (wxWindow
*) 0 ;
15196 int arg2
= (int) -1 ;
15197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15203 long arg6
= (long) wxSP_ARROW_KEYS
;
15204 int arg7
= (int) 0 ;
15205 int arg8
= (int) 100 ;
15206 int arg9
= (int) 0 ;
15207 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15208 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15209 wxSpinCtrl
*result
= 0 ;
15214 bool temp3
= false ;
15225 bool temp10
= false ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 PyObject
* obj2
= 0 ;
15229 PyObject
* obj3
= 0 ;
15230 PyObject
* obj4
= 0 ;
15231 PyObject
* obj5
= 0 ;
15232 PyObject
* obj6
= 0 ;
15233 PyObject
* obj7
= 0 ;
15234 PyObject
* obj8
= 0 ;
15235 PyObject
* obj9
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15248 if (!SWIG_IsOK(ecode2
)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15251 arg2
= static_cast< int >(val2
);
15255 arg3
= wxString_in_helper(obj2
);
15256 if (arg3
== NULL
) SWIG_fail
;
15263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15273 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15274 if (!SWIG_IsOK(ecode6
)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15277 arg6
= static_cast< long >(val6
);
15280 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15281 if (!SWIG_IsOK(ecode7
)) {
15282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15284 arg7
= static_cast< int >(val7
);
15287 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15288 if (!SWIG_IsOK(ecode8
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15291 arg8
= static_cast< int >(val8
);
15294 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15295 if (!SWIG_IsOK(ecode9
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15298 arg9
= static_cast< int >(val9
);
15302 arg10
= wxString_in_helper(obj9
);
15303 if (arg10
== NULL
) SWIG_fail
;
15308 if (!wxPyCheckForApp()) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15337 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 PyObject
*resultobj
= 0;
15339 wxSpinCtrl
*result
= 0 ;
15341 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15343 if (!wxPyCheckForApp()) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15356 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
= 0;
15358 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15359 wxWindow
*arg2
= (wxWindow
*) 0 ;
15360 int arg3
= (int) -1 ;
15361 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15362 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15363 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15364 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15365 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15366 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15367 long arg7
= (long) wxSP_ARROW_KEYS
;
15368 int arg8
= (int) 0 ;
15369 int arg9
= (int) 100 ;
15370 int arg10
= (int) 0 ;
15371 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15372 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15380 bool temp4
= false ;
15391 bool temp11
= false ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 PyObject
* obj3
= 0 ;
15396 PyObject
* obj4
= 0 ;
15397 PyObject
* obj5
= 0 ;
15398 PyObject
* obj6
= 0 ;
15399 PyObject
* obj7
= 0 ;
15400 PyObject
* obj8
= 0 ;
15401 PyObject
* obj9
= 0 ;
15402 PyObject
* obj10
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15412 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15414 if (!SWIG_IsOK(res2
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15420 if (!SWIG_IsOK(ecode3
)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15423 arg3
= static_cast< int >(val3
);
15427 arg4
= wxString_in_helper(obj3
);
15428 if (arg4
== NULL
) SWIG_fail
;
15435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15446 if (!SWIG_IsOK(ecode7
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15449 arg7
= static_cast< long >(val7
);
15452 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15453 if (!SWIG_IsOK(ecode8
)) {
15454 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15456 arg8
= static_cast< int >(val8
);
15459 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15460 if (!SWIG_IsOK(ecode9
)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15463 arg9
= static_cast< int >(val9
);
15466 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15467 if (!SWIG_IsOK(ecode10
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15470 arg10
= static_cast< int >(val10
);
15474 arg11
= wxString_in_helper(obj10
);
15475 if (arg11
== NULL
) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15510 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15511 PyObject
*resultobj
= 0;
15512 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15516 PyObject
*swig_obj
[1] ;
15518 if (!args
) SWIG_fail
;
15519 swig_obj
[0] = args
;
15520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15524 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_From_int(static_cast< int >(result
));
15538 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
= 0;
15540 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char * kwnames
[] = {
15549 (char *) "self",(char *) "value", NULL
15552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15554 if (!SWIG_IsOK(res1
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15557 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15559 if (!SWIG_IsOK(ecode2
)) {
15560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15562 arg2
= static_cast< int >(val2
);
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetValue(arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_Py_Void();
15576 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
= 0;
15578 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15579 wxString
*arg2
= 0 ;
15582 bool temp2
= false ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char * kwnames
[] = {
15586 (char *) "self",(char *) "text", NULL
15589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15591 if (!SWIG_IsOK(res1
)) {
15592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15594 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15596 arg2
= wxString_in_helper(obj1
);
15597 if (arg2
== NULL
) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->SetValue((wxString
const &)*arg2
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_Py_Void();
15621 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= 0;
15623 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 PyObject
* obj2
= 0 ;
15635 char * kwnames
[] = {
15636 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15641 if (!SWIG_IsOK(res1
)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15644 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15646 if (!SWIG_IsOK(ecode2
)) {
15647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15649 arg2
= static_cast< int >(val2
);
15650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15651 if (!SWIG_IsOK(ecode3
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15654 arg3
= static_cast< int >(val3
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetRange(arg2
,arg3
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_Py_Void();
15668 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 PyObject
*resultobj
= 0;
15670 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15674 PyObject
*swig_obj
[1] ;
15676 if (!args
) SWIG_fail
;
15677 swig_obj
[0] = args
;
15678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15682 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_From_int(static_cast< int >(result
));
15696 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 PyObject
*resultobj
= 0;
15698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15702 PyObject
*swig_obj
[1] ;
15704 if (!args
) SWIG_fail
;
15705 swig_obj
[0] = args
;
15706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15710 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_From_int(static_cast< int >(result
));
15724 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 PyObject
* obj2
= 0 ;
15738 char * kwnames
[] = {
15739 (char *) "self",(char *) "from",(char *) "to", NULL
15742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15747 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15748 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15749 if (!SWIG_IsOK(ecode2
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15752 arg2
= static_cast< long >(val2
);
15753 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15754 if (!SWIG_IsOK(ecode3
)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15757 arg3
= static_cast< long >(val3
);
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->SetSelection(arg2
,arg3
);
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= SWIG_Py_Void();
15771 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
= 0;
15773 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15774 SwigValueWrapper
<wxVisualAttributes
> result
;
15777 PyObject
* obj0
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "variant", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15785 if (!SWIG_IsOK(ecode1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15788 arg1
= static_cast< wxWindowVariant
>(val1
);
15791 if (!wxPyCheckForApp()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15804 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15807 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15808 return SWIG_Py_Void();
15811 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15812 return SWIG_Python_InitShadowInstance(args
);
15815 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
= 0;
15817 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15818 int arg2
= (int) 0 ;
15819 wxSpinEvent
*result
= 0 ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char * kwnames
[] = {
15827 (char *) "commandType",(char *) "winid", NULL
15830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15833 if (!SWIG_IsOK(ecode1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15836 arg1
= static_cast< wxEventType
>(val1
);
15839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15840 if (!SWIG_IsOK(ecode2
)) {
15841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15843 arg2
= static_cast< int >(val2
);
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15858 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15859 PyObject
*resultobj
= 0;
15860 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15864 PyObject
*swig_obj
[1] ;
15866 if (!args
) SWIG_fail
;
15867 swig_obj
[0] = args
;
15868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15869 if (!SWIG_IsOK(res1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15872 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_From_int(static_cast< int >(result
));
15886 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
= 0;
15888 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 char * kwnames
[] = {
15897 (char *) "self",(char *) "pos", NULL
15900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15902 if (!SWIG_IsOK(res1
)) {
15903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15905 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15907 if (!SWIG_IsOK(ecode2
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15910 arg2
= static_cast< int >(val2
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->SetPosition(arg2
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_Py_Void();
15924 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15927 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15928 return SWIG_Py_Void();
15931 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 return SWIG_Python_InitShadowInstance(args
);
15935 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15936 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15941 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15942 PyObject
*pyobj
= 0;
15946 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15948 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15955 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15956 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15961 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15962 PyObject
*pyobj
= 0;
15966 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15968 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15975 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
= 0;
15977 wxWindow
*arg1
= (wxWindow
*) 0 ;
15978 int arg2
= (int) -1 ;
15979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15985 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15986 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15987 int arg7
= (int) 0 ;
15988 long arg8
= (long) wxRA_HORIZONTAL
;
15989 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15990 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15991 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15992 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15993 wxRadioBox
*result
= 0 ;
15998 bool temp3
= false ;
16001 bool temp6
= false ;
16008 bool temp10
= false ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 PyObject
* obj2
= 0 ;
16012 PyObject
* obj3
= 0 ;
16013 PyObject
* obj4
= 0 ;
16014 PyObject
* obj5
= 0 ;
16015 PyObject
* obj6
= 0 ;
16016 PyObject
* obj7
= 0 ;
16017 PyObject
* obj8
= 0 ;
16018 PyObject
* obj9
= 0 ;
16019 char * kwnames
[] = {
16020 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16025 if (!SWIG_IsOK(res1
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16031 if (!SWIG_IsOK(ecode2
)) {
16032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16034 arg2
= static_cast< int >(val2
);
16038 arg3
= wxString_in_helper(obj2
);
16039 if (arg3
== NULL
) SWIG_fail
;
16046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16057 if (! PySequence_Check(obj5
)) {
16058 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16061 arg6
= new wxArrayString
;
16063 int i
, len
=PySequence_Length(obj5
);
16064 for (i
=0; i
<len
; i
++) {
16065 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16066 wxString
* s
= wxString_in_helper(item
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16075 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16076 if (!SWIG_IsOK(ecode7
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16079 arg7
= static_cast< int >(val7
);
16082 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16083 if (!SWIG_IsOK(ecode8
)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16086 arg8
= static_cast< long >(val8
);
16089 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16090 if (!SWIG_IsOK(res9
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16096 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16100 arg10
= wxString_in_helper(obj9
);
16101 if (arg10
== NULL
) SWIG_fail
;
16106 if (!wxPyCheckForApp()) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 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
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16118 if (temp6
) delete arg6
;
16131 if (temp6
) delete arg6
;
16141 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16143 wxRadioBox
*result
= 0 ;
16145 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16147 if (!wxPyCheckForApp()) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (wxRadioBox
*)new wxRadioBox();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16160 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
= 0;
16162 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16163 wxWindow
*arg2
= (wxWindow
*) 0 ;
16164 int arg3
= (int) -1 ;
16165 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16166 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16167 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16168 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16169 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16170 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16171 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16172 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16173 int arg8
= (int) 0 ;
16174 long arg9
= (long) wxRA_HORIZONTAL
;
16175 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16176 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16177 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16178 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16186 bool temp4
= false ;
16189 bool temp7
= false ;
16196 bool temp11
= false ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 PyObject
* obj2
= 0 ;
16200 PyObject
* obj3
= 0 ;
16201 PyObject
* obj4
= 0 ;
16202 PyObject
* obj5
= 0 ;
16203 PyObject
* obj6
= 0 ;
16204 PyObject
* obj7
= 0 ;
16205 PyObject
* obj8
= 0 ;
16206 PyObject
* obj9
= 0 ;
16207 PyObject
* obj10
= 0 ;
16208 char * kwnames
[] = {
16209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16214 if (!SWIG_IsOK(res1
)) {
16215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16217 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16219 if (!SWIG_IsOK(res2
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16225 if (!SWIG_IsOK(ecode3
)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16228 arg3
= static_cast< int >(val3
);
16232 arg4
= wxString_in_helper(obj3
);
16233 if (arg4
== NULL
) SWIG_fail
;
16240 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16246 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16251 if (! PySequence_Check(obj6
)) {
16252 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16255 arg7
= new wxArrayString
;
16257 int i
, len
=PySequence_Length(obj6
);
16258 for (i
=0; i
<len
; i
++) {
16259 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16260 wxString
* s
= wxString_in_helper(item
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16269 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16270 if (!SWIG_IsOK(ecode8
)) {
16271 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16273 arg8
= static_cast< int >(val8
);
16276 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16277 if (!SWIG_IsOK(ecode9
)) {
16278 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16280 arg9
= static_cast< long >(val9
);
16283 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16284 if (!SWIG_IsOK(res10
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16290 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16294 arg11
= wxString_in_helper(obj10
);
16295 if (arg11
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 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
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 if (temp7
) delete arg7
;
16326 if (temp7
) delete arg7
;
16336 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char * kwnames
[] = {
16347 (char *) "self",(char *) "n", NULL
16350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16355 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16357 if (!SWIG_IsOK(ecode2
)) {
16358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16360 arg2
= static_cast< int >(val2
);
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->SetSelection(arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= SWIG_Py_Void();
16374 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16375 PyObject
*resultobj
= 0;
16376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16380 PyObject
*swig_obj
[1] ;
16382 if (!args
) SWIG_fail
;
16383 swig_obj
[0] = args
;
16384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16385 if (!SWIG_IsOK(res1
)) {
16386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16388 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_From_int(static_cast< int >(result
));
16402 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16408 PyObject
*swig_obj
[1] ;
16410 if (!args
) SWIG_fail
;
16411 swig_obj
[0] = args
;
16412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16416 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16436 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
= 0;
16438 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16439 wxString
*arg2
= 0 ;
16443 bool temp2
= false ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char * kwnames
[] = {
16447 (char *) "self",(char *) "s", NULL
16450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16455 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16457 arg2
= wxString_in_helper(obj1
);
16458 if (arg2
== NULL
) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16484 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16498 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16512 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= 0;
16514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16515 wxString
*arg2
= 0 ;
16519 bool temp2
= false ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char * kwnames
[] = {
16523 (char *) "self",(char *) "s", NULL
16526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16528 if (!SWIG_IsOK(res1
)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16531 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16533 arg2
= wxString_in_helper(obj1
);
16534 if (arg2
== NULL
) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_From_int(static_cast< int >(result
));
16558 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char * kwnames
[] = {
16570 (char *) "self",(char *) "n", NULL
16573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16578 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16580 if (!SWIG_IsOK(ecode2
)) {
16581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16583 arg2
= static_cast< int >(val2
);
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16603 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
= 0;
16605 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16607 wxString
*arg3
= 0 ;
16612 bool temp3
= false ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "self",(char *) "n",(char *) "label", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16625 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16627 if (!SWIG_IsOK(ecode2
)) {
16628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16630 arg2
= static_cast< int >(val2
);
16632 arg3
= wxString_in_helper(obj2
);
16633 if (arg3
== NULL
) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_Py_Void();
16657 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
= 0;
16659 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16660 unsigned int arg2
;
16661 bool arg3
= (bool) true ;
16664 unsigned int val2
;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 PyObject
* obj2
= 0 ;
16671 char * kwnames
[] = {
16672 (char *) "self",(char *) "n",(char *) "enable", NULL
16675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16677 if (!SWIG_IsOK(res1
)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16680 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16681 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16682 if (!SWIG_IsOK(ecode2
)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16685 arg2
= static_cast< unsigned int >(val2
);
16687 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16688 if (!SWIG_IsOK(ecode3
)) {
16689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16691 arg3
= static_cast< bool >(val3
);
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 (arg1
)->Enable(arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_Py_Void();
16706 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
= 0;
16708 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16709 unsigned int arg2
;
16710 bool arg3
= (bool) true ;
16713 unsigned int val2
;
16717 PyObject
* obj0
= 0 ;
16718 PyObject
* obj1
= 0 ;
16719 PyObject
* obj2
= 0 ;
16720 char * kwnames
[] = {
16721 (char *) "self",(char *) "n",(char *) "show", NULL
16724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16726 if (!SWIG_IsOK(res1
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16729 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16730 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16731 if (!SWIG_IsOK(ecode2
)) {
16732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16734 arg2
= static_cast< unsigned int >(val2
);
16736 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16737 if (!SWIG_IsOK(ecode3
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16740 arg3
= static_cast< bool >(val3
);
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->Show(arg2
,arg3
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_Py_Void();
16755 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16758 unsigned int arg2
;
16762 unsigned int val2
;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "self",(char *) "n", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16775 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16776 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16777 if (!SWIG_IsOK(ecode2
)) {
16778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16780 arg2
= static_cast< unsigned int >(val2
);
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16796 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16799 unsigned int arg2
;
16803 unsigned int val2
;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "self",(char *) "n", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16816 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16817 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16818 if (!SWIG_IsOK(ecode2
)) {
16819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16821 arg2
= static_cast< unsigned int >(val2
);
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16837 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16838 PyObject
*resultobj
= 0;
16839 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16840 unsigned int result
;
16843 PyObject
*swig_obj
[1] ;
16845 if (!args
) SWIG_fail
;
16846 swig_obj
[0] = args
;
16847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16848 if (!SWIG_IsOK(res1
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16851 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16865 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16868 unsigned int result
;
16871 PyObject
*swig_obj
[1] ;
16873 if (!args
) SWIG_fail
;
16874 swig_obj
[0] = args
;
16875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16879 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16893 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
= 0;
16895 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 PyObject
* obj2
= 0 ;
16911 PyObject
* obj3
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16921 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16923 if (!SWIG_IsOK(ecode2
)) {
16924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16926 arg2
= static_cast< int >(val2
);
16927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16928 if (!SWIG_IsOK(ecode3
)) {
16929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16931 arg3
= static_cast< wxDirection
>(val3
);
16932 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16933 if (!SWIG_IsOK(ecode4
)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16936 arg4
= static_cast< long >(val4
);
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_From_int(static_cast< int >(result
));
16950 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
= 0;
16952 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16953 unsigned int arg2
;
16954 wxString
*arg3
= 0 ;
16957 unsigned int val2
;
16959 bool temp3
= false ;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 PyObject
* obj2
= 0 ;
16963 char * kwnames
[] = {
16964 (char *) "self",(char *) "item",(char *) "text", NULL
16967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16972 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16973 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16974 if (!SWIG_IsOK(ecode2
)) {
16975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16977 arg2
= static_cast< unsigned int >(val2
);
16979 arg3
= wxString_in_helper(obj2
);
16980 if (arg3
== NULL
) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_Py_Void();
17004 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17007 unsigned int arg2
;
17008 wxToolTip
*result
= 0 ;
17011 unsigned int val2
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char * kwnames
[] = {
17016 (char *) "self",(char *) "item", NULL
17019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17024 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17025 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17026 if (!SWIG_IsOK(ecode2
)) {
17027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17029 arg2
= static_cast< unsigned int >(val2
);
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17045 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17047 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17048 unsigned int arg2
;
17049 wxString
*arg3
= 0 ;
17052 unsigned int val2
;
17054 bool temp3
= false ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 char * kwnames
[] = {
17059 (char *) "self",(char *) "n",(char *) "helpText", NULL
17062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17064 if (!SWIG_IsOK(res1
)) {
17065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17067 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17068 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17069 if (!SWIG_IsOK(ecode2
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17072 arg2
= static_cast< unsigned int >(val2
);
17074 arg3
= wxString_in_helper(obj2
);
17075 if (arg3
== NULL
) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= SWIG_Py_Void();
17099 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17102 unsigned int arg2
;
17106 unsigned int val2
;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char * kwnames
[] = {
17111 (char *) "self",(char *) "n", NULL
17114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17116 if (!SWIG_IsOK(res1
)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17119 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17120 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17121 if (!SWIG_IsOK(ecode2
)) {
17122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17124 arg2
= static_cast< unsigned int >(val2
);
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17144 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17147 SwigValueWrapper
<wxVisualAttributes
> result
;
17150 PyObject
* obj0
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "variant", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17158 if (!SWIG_IsOK(ecode1
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17161 arg1
= static_cast< wxWindowVariant
>(val1
);
17164 if (!wxPyCheckForApp()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17177 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17180 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17181 return SWIG_Py_Void();
17184 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 return SWIG_Python_InitShadowInstance(args
);
17188 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxWindow
*arg1
= (wxWindow
*) 0 ;
17191 int arg2
= (int) -1 ;
17192 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17198 long arg6
= (long) 0 ;
17199 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17200 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17201 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17202 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17203 wxRadioButton
*result
= 0 ;
17208 bool temp3
= false ;
17215 bool temp8
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 PyObject
* obj3
= 0 ;
17220 PyObject
* obj4
= 0 ;
17221 PyObject
* obj5
= 0 ;
17222 PyObject
* obj6
= 0 ;
17223 PyObject
* obj7
= 0 ;
17224 char * kwnames
[] = {
17225 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17236 if (!SWIG_IsOK(ecode2
)) {
17237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17239 arg2
= static_cast< int >(val2
);
17243 arg3
= wxString_in_helper(obj2
);
17244 if (arg3
== NULL
) SWIG_fail
;
17251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17261 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17262 if (!SWIG_IsOK(ecode6
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17265 arg6
= static_cast< long >(val6
);
17268 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17269 if (!SWIG_IsOK(res7
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17275 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17279 arg8
= wxString_in_helper(obj7
);
17280 if (arg8
== NULL
) SWIG_fail
;
17285 if (!wxPyCheckForApp()) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17314 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17315 PyObject
*resultobj
= 0;
17316 wxRadioButton
*result
= 0 ;
17318 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17320 if (!wxPyCheckForApp()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxRadioButton
*)new wxRadioButton();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17333 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17336 wxWindow
*arg2
= (wxWindow
*) 0 ;
17337 int arg3
= (int) -1 ;
17338 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17339 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17344 long arg7
= (long) 0 ;
17345 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17346 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17347 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17348 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17356 bool temp4
= false ;
17363 bool temp9
= false ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 PyObject
* obj3
= 0 ;
17368 PyObject
* obj4
= 0 ;
17369 PyObject
* obj5
= 0 ;
17370 PyObject
* obj6
= 0 ;
17371 PyObject
* obj7
= 0 ;
17372 PyObject
* obj8
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17382 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17384 if (!SWIG_IsOK(res2
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17387 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17390 if (!SWIG_IsOK(ecode3
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17393 arg3
= static_cast< int >(val3
);
17397 arg4
= wxString_in_helper(obj3
);
17398 if (arg4
== NULL
) SWIG_fail
;
17405 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17411 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17415 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17416 if (!SWIG_IsOK(ecode7
)) {
17417 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17419 arg7
= static_cast< long >(val7
);
17422 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17423 if (!SWIG_IsOK(res8
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17429 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17433 arg9
= wxString_in_helper(obj8
);
17434 if (arg9
== NULL
) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17471 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17475 PyObject
*swig_obj
[1] ;
17477 if (!args
) SWIG_fail
;
17478 swig_obj
[0] = args
;
17479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17483 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)(arg1
)->GetValue();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char * kwnames
[] = {
17510 (char *) "self",(char *) "value", NULL
17513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17518 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17519 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17520 if (!SWIG_IsOK(ecode2
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17523 arg2
= static_cast< bool >(val2
);
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->SetValue(arg2
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_Py_Void();
17537 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
= 0;
17539 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17540 SwigValueWrapper
<wxVisualAttributes
> result
;
17543 PyObject
* obj0
= 0 ;
17544 char * kwnames
[] = {
17545 (char *) "variant", NULL
17548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17551 if (!SWIG_IsOK(ecode1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17554 arg1
= static_cast< wxWindowVariant
>(val1
);
17557 if (!wxPyCheckForApp()) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17570 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17573 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17574 return SWIG_Py_Void();
17577 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17578 return SWIG_Python_InitShadowInstance(args
);
17581 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17582 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17587 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17588 PyObject
*pyobj
= 0;
17592 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17594 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17601 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
= 0;
17603 wxWindow
*arg1
= (wxWindow
*) 0 ;
17604 int arg2
= (int) -1 ;
17605 int arg3
= (int) 0 ;
17606 int arg4
= (int) 0 ;
17607 int arg5
= (int) 100 ;
17608 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17609 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17610 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17611 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17612 long arg8
= (long) wxSL_HORIZONTAL
;
17613 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17614 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17615 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17616 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17617 wxSlider
*result
= 0 ;
17634 bool temp10
= false ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 PyObject
* obj2
= 0 ;
17638 PyObject
* obj3
= 0 ;
17639 PyObject
* obj4
= 0 ;
17640 PyObject
* obj5
= 0 ;
17641 PyObject
* obj6
= 0 ;
17642 PyObject
* obj7
= 0 ;
17643 PyObject
* obj8
= 0 ;
17644 PyObject
* obj9
= 0 ;
17645 char * kwnames
[] = {
17646 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17651 if (!SWIG_IsOK(res1
)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17657 if (!SWIG_IsOK(ecode2
)) {
17658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17660 arg2
= static_cast< int >(val2
);
17663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17664 if (!SWIG_IsOK(ecode3
)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17667 arg3
= static_cast< int >(val3
);
17670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17671 if (!SWIG_IsOK(ecode4
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17674 arg4
= static_cast< int >(val4
);
17677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17678 if (!SWIG_IsOK(ecode5
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17681 arg5
= static_cast< int >(val5
);
17686 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17692 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17696 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17697 if (!SWIG_IsOK(ecode8
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17700 arg8
= static_cast< long >(val8
);
17703 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17704 if (!SWIG_IsOK(res9
)) {
17705 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17710 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17714 arg10
= wxString_in_helper(obj9
);
17715 if (arg10
== NULL
) SWIG_fail
;
17720 if (!wxPyCheckForApp()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17741 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17742 PyObject
*resultobj
= 0;
17743 wxSlider
*result
= 0 ;
17745 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17747 if (!wxPyCheckForApp()) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (wxSlider
*)new wxSlider();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17760 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= 0;
17762 wxSlider
*arg1
= (wxSlider
*) 0 ;
17763 wxWindow
*arg2
= (wxWindow
*) 0 ;
17764 int arg3
= (int) -1 ;
17765 int arg4
= (int) 0 ;
17766 int arg5
= (int) 0 ;
17767 int arg6
= (int) 100 ;
17768 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17769 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17770 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17771 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17772 long arg9
= (long) wxSL_HORIZONTAL
;
17773 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17774 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17775 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17776 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17796 bool temp11
= false ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 PyObject
* obj3
= 0 ;
17801 PyObject
* obj4
= 0 ;
17802 PyObject
* obj5
= 0 ;
17803 PyObject
* obj6
= 0 ;
17804 PyObject
* obj7
= 0 ;
17805 PyObject
* obj8
= 0 ;
17806 PyObject
* obj9
= 0 ;
17807 PyObject
* obj10
= 0 ;
17808 char * kwnames
[] = {
17809 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17814 if (!SWIG_IsOK(res1
)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17817 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17819 if (!SWIG_IsOK(res2
)) {
17820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17825 if (!SWIG_IsOK(ecode3
)) {
17826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17828 arg3
= static_cast< int >(val3
);
17831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17832 if (!SWIG_IsOK(ecode4
)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17835 arg4
= static_cast< int >(val4
);
17838 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17839 if (!SWIG_IsOK(ecode5
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17842 arg5
= static_cast< int >(val5
);
17845 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17846 if (!SWIG_IsOK(ecode6
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17849 arg6
= static_cast< int >(val6
);
17854 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17860 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17864 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17865 if (!SWIG_IsOK(ecode9
)) {
17866 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17868 arg9
= static_cast< long >(val9
);
17871 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17872 if (!SWIG_IsOK(res10
)) {
17873 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17878 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17882 arg11
= wxString_in_helper(obj10
);
17883 if (arg11
== NULL
) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17910 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17911 PyObject
*resultobj
= 0;
17912 wxSlider
*arg1
= (wxSlider
*) 0 ;
17916 PyObject
*swig_obj
[1] ;
17918 if (!args
) SWIG_fail
;
17919 swig_obj
[0] = args
;
17920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17924 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_From_int(static_cast< int >(result
));
17938 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
= 0;
17940 wxSlider
*arg1
= (wxSlider
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 char * kwnames
[] = {
17949 (char *) "self",(char *) "value", NULL
17952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17957 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17959 if (!SWIG_IsOK(ecode2
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17962 arg2
= static_cast< int >(val2
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetValue(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_Py_Void();
17976 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxSlider
*arg1
= (wxSlider
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 char * kwnames
[] = {
17991 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17996 if (!SWIG_IsOK(res1
)) {
17997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17999 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18001 if (!SWIG_IsOK(ecode2
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18004 arg2
= static_cast< int >(val2
);
18005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18006 if (!SWIG_IsOK(ecode3
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18009 arg3
= static_cast< int >(val3
);
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetRange(arg2
,arg3
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_Py_Void();
18023 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 PyObject
*resultobj
= 0;
18025 wxSlider
*arg1
= (wxSlider
*) 0 ;
18029 PyObject
*swig_obj
[1] ;
18031 if (!args
) SWIG_fail
;
18032 swig_obj
[0] = args
;
18033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18037 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_From_int(static_cast< int >(result
));
18051 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 PyObject
*resultobj
= 0;
18053 wxSlider
*arg1
= (wxSlider
*) 0 ;
18057 PyObject
*swig_obj
[1] ;
18059 if (!args
) SWIG_fail
;
18060 swig_obj
[0] = args
;
18061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18065 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_From_int(static_cast< int >(result
));
18079 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxSlider
*arg1
= (wxSlider
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "minValue", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18098 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18100 if (!SWIG_IsOK(ecode2
)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18103 arg2
= static_cast< int >(val2
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->SetMin(arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_Py_Void();
18117 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
= 0;
18119 wxSlider
*arg1
= (wxSlider
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "maxValue", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18136 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18138 if (!SWIG_IsOK(ecode2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18141 arg2
= static_cast< int >(val2
);
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->SetMax(arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxSlider
*arg1
= (wxSlider
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "lineSize", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18174 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18176 if (!SWIG_IsOK(ecode2
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18179 arg2
= static_cast< int >(val2
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->SetLineSize(arg2
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_Py_Void();
18193 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
= 0;
18195 wxSlider
*arg1
= (wxSlider
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 char * kwnames
[] = {
18204 (char *) "self",(char *) "pageSize", NULL
18207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18212 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18214 if (!SWIG_IsOK(ecode2
)) {
18215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18217 arg2
= static_cast< int >(val2
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->SetPageSize(arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_Py_Void();
18231 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18232 PyObject
*resultobj
= 0;
18233 wxSlider
*arg1
= (wxSlider
*) 0 ;
18237 PyObject
*swig_obj
[1] ;
18239 if (!args
) SWIG_fail
;
18240 swig_obj
[0] = args
;
18241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18245 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_From_int(static_cast< int >(result
));
18259 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18260 PyObject
*resultobj
= 0;
18261 wxSlider
*arg1
= (wxSlider
*) 0 ;
18265 PyObject
*swig_obj
[1] ;
18267 if (!args
) SWIG_fail
;
18268 swig_obj
[0] = args
;
18269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18273 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= SWIG_From_int(static_cast< int >(result
));
18287 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
= 0;
18289 wxSlider
*arg1
= (wxSlider
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char * kwnames
[] = {
18298 (char *) "self",(char *) "lenPixels", NULL
18301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18303 if (!SWIG_IsOK(res1
)) {
18304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18306 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18308 if (!SWIG_IsOK(ecode2
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18311 arg2
= static_cast< int >(val2
);
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->SetThumbLength(arg2
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_Py_Void();
18325 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18326 PyObject
*resultobj
= 0;
18327 wxSlider
*arg1
= (wxSlider
*) 0 ;
18331 PyObject
*swig_obj
[1] ;
18333 if (!args
) SWIG_fail
;
18334 swig_obj
[0] = args
;
18335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18336 if (!SWIG_IsOK(res1
)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18339 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_From_int(static_cast< int >(result
));
18353 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
= 0;
18355 wxSlider
*arg1
= (wxSlider
*) 0 ;
18357 int arg3
= (int) 1 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 PyObject
* obj2
= 0 ;
18367 char * kwnames
[] = {
18368 (char *) "self",(char *) "n",(char *) "pos", NULL
18371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18376 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18378 if (!SWIG_IsOK(ecode2
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18381 arg2
= static_cast< int >(val2
);
18383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18384 if (!SWIG_IsOK(ecode3
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18387 arg3
= static_cast< int >(val3
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->SetTickFreq(arg2
,arg3
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18403 PyObject
*resultobj
= 0;
18404 wxSlider
*arg1
= (wxSlider
*) 0 ;
18408 PyObject
*swig_obj
[1] ;
18410 if (!args
) SWIG_fail
;
18411 swig_obj
[0] = args
;
18412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18413 if (!SWIG_IsOK(res1
)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18416 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_From_int(static_cast< int >(result
));
18430 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18431 PyObject
*resultobj
= 0;
18432 wxSlider
*arg1
= (wxSlider
*) 0 ;
18435 PyObject
*swig_obj
[1] ;
18437 if (!args
) SWIG_fail
;
18438 swig_obj
[0] = args
;
18439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18443 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->ClearTicks();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= SWIG_Py_Void();
18457 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
= 0;
18459 wxSlider
*arg1
= (wxSlider
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char * kwnames
[] = {
18468 (char *) "self",(char *) "tickPos", NULL
18471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18476 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18478 if (!SWIG_IsOK(ecode2
)) {
18479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18481 arg2
= static_cast< int >(val2
);
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->SetTick(arg2
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_Py_Void();
18495 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18496 PyObject
*resultobj
= 0;
18497 wxSlider
*arg1
= (wxSlider
*) 0 ;
18500 PyObject
*swig_obj
[1] ;
18502 if (!args
) SWIG_fail
;
18503 swig_obj
[0] = args
;
18504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18508 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->ClearSel();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_Py_Void();
18522 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18523 PyObject
*resultobj
= 0;
18524 wxSlider
*arg1
= (wxSlider
*) 0 ;
18528 PyObject
*swig_obj
[1] ;
18530 if (!args
) SWIG_fail
;
18531 swig_obj
[0] = args
;
18532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18536 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_From_int(static_cast< int >(result
));
18550 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18551 PyObject
*resultobj
= 0;
18552 wxSlider
*arg1
= (wxSlider
*) 0 ;
18556 PyObject
*swig_obj
[1] ;
18558 if (!args
) SWIG_fail
;
18559 swig_obj
[0] = args
;
18560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18564 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_From_int(static_cast< int >(result
));
18578 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
= 0;
18580 wxSlider
*arg1
= (wxSlider
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 PyObject
* obj2
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "min",(char *) "max", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18601 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18603 if (!SWIG_IsOK(ecode2
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18606 arg2
= static_cast< int >(val2
);
18607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18608 if (!SWIG_IsOK(ecode3
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18611 arg3
= static_cast< int >(val3
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->SetSelection(arg2
,arg3
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= 0;
18627 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18628 SwigValueWrapper
<wxVisualAttributes
> result
;
18631 PyObject
* obj0
= 0 ;
18632 char * kwnames
[] = {
18633 (char *) "variant", NULL
18636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18638 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18639 if (!SWIG_IsOK(ecode1
)) {
18640 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18642 arg1
= static_cast< wxWindowVariant
>(val1
);
18645 if (!wxPyCheckForApp()) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18658 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18661 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18662 return SWIG_Py_Void();
18665 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18666 return SWIG_Python_InitShadowInstance(args
);
18669 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18670 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18675 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18676 PyObject
*pyobj
= 0;
18680 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18682 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18689 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxWindow
*arg1
= (wxWindow
*) 0 ;
18692 int arg2
= (int) -1 ;
18693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18699 long arg6
= (long) 0 ;
18700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18702 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18704 wxToggleButton
*result
= 0 ;
18709 bool temp3
= false ;
18716 bool temp8
= false ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 PyObject
* obj4
= 0 ;
18722 PyObject
* obj5
= 0 ;
18723 PyObject
* obj6
= 0 ;
18724 PyObject
* obj7
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18737 if (!SWIG_IsOK(ecode2
)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18740 arg2
= static_cast< int >(val2
);
18744 arg3
= wxString_in_helper(obj2
);
18745 if (arg3
== NULL
) SWIG_fail
;
18752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18762 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18763 if (!SWIG_IsOK(ecode6
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18766 arg6
= static_cast< long >(val6
);
18769 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18770 if (!SWIG_IsOK(res7
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18776 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18780 arg8
= wxString_in_helper(obj7
);
18781 if (arg8
== NULL
) SWIG_fail
;
18786 if (!wxPyCheckForApp()) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18815 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18816 PyObject
*resultobj
= 0;
18817 wxToggleButton
*result
= 0 ;
18819 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18821 if (!wxPyCheckForApp()) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxToggleButton
*)new wxToggleButton();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18834 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
= 0;
18836 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18837 wxWindow
*arg2
= (wxWindow
*) 0 ;
18838 int arg3
= (int) -1 ;
18839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18841 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18842 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18843 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18844 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18845 long arg7
= (long) 0 ;
18846 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18847 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18848 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18849 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18857 bool temp4
= false ;
18864 bool temp9
= false ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 PyObject
* obj3
= 0 ;
18869 PyObject
* obj4
= 0 ;
18870 PyObject
* obj5
= 0 ;
18871 PyObject
* obj6
= 0 ;
18872 PyObject
* obj7
= 0 ;
18873 PyObject
* obj8
= 0 ;
18874 char * kwnames
[] = {
18875 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18883 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18885 if (!SWIG_IsOK(res2
)) {
18886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18888 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18891 if (!SWIG_IsOK(ecode3
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18894 arg3
= static_cast< int >(val3
);
18898 arg4
= wxString_in_helper(obj3
);
18899 if (arg4
== NULL
) SWIG_fail
;
18906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18916 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18917 if (!SWIG_IsOK(ecode7
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18920 arg7
= static_cast< long >(val7
);
18923 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18924 if (!SWIG_IsOK(res8
)) {
18925 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18930 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18934 arg9
= wxString_in_helper(obj8
);
18935 if (arg9
== NULL
) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18970 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "value", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18989 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18991 if (!SWIG_IsOK(ecode2
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18994 arg2
= static_cast< bool >(val2
);
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->SetValue(arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_Py_Void();
19008 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19009 PyObject
*resultobj
= 0;
19010 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19014 PyObject
*swig_obj
[1] ;
19016 if (!args
) SWIG_fail
;
19017 swig_obj
[0] = args
;
19018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19022 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19038 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
= 0;
19040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19041 SwigValueWrapper
<wxVisualAttributes
> result
;
19044 PyObject
* obj0
= 0 ;
19045 char * kwnames
[] = {
19046 (char *) "variant", NULL
19049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19052 if (!SWIG_IsOK(ecode1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19055 arg1
= static_cast< wxWindowVariant
>(val1
);
19058 if (!wxPyCheckForApp()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19071 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19074 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19075 return SWIG_Py_Void();
19078 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19079 return SWIG_Python_InitShadowInstance(args
);
19082 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19083 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19088 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19089 PyObject
*pyobj
= 0;
19093 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19095 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19102 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 PyObject
*resultobj
= 0;
19104 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19108 PyObject
*swig_obj
[1] ;
19110 if (!args
) SWIG_fail
;
19111 swig_obj
[0] = args
;
19112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19116 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19130 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19134 wxWindow
*result
= 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char * kwnames
[] = {
19142 (char *) "self",(char *) "n", NULL
19145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19150 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19152 if (!SWIG_IsOK(ecode2
)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19155 arg2
= static_cast< size_t >(val2
);
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= wxPyMake_wxObject(result
, 0);
19171 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19172 PyObject
*resultobj
= 0;
19173 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19174 wxWindow
*result
= 0 ;
19177 PyObject
*swig_obj
[1] ;
19179 if (!args
) SWIG_fail
;
19180 swig_obj
[0] = args
;
19181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19185 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= wxPyMake_wxObject(result
, 0);
19201 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19202 PyObject
*resultobj
= 0;
19203 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19207 PyObject
*swig_obj
[1] ;
19209 if (!args
) SWIG_fail
;
19210 swig_obj
[0] = args
;
19211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19215 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= SWIG_From_int(static_cast< int >(result
));
19229 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
= 0;
19231 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19233 wxString
*arg3
= 0 ;
19239 bool temp3
= false ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 PyObject
* obj2
= 0 ;
19243 char * kwnames
[] = {
19244 (char *) "self",(char *) "n",(char *) "strText", NULL
19247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19252 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19253 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19254 if (!SWIG_IsOK(ecode2
)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19257 arg2
= static_cast< size_t >(val2
);
19259 arg3
= wxString_in_helper(obj2
);
19260 if (arg3
== NULL
) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19286 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= 0;
19288 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 char * kwnames
[] = {
19298 (char *) "self",(char *) "n", NULL
19301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19306 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19307 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19308 if (!SWIG_IsOK(ecode2
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19311 arg2
= static_cast< size_t >(val2
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19331 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
= 0;
19333 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19334 wxImageList
*arg2
= (wxImageList
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char * kwnames
[] = {
19342 (char *) "self",(char *) "imageList", NULL
19345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19347 if (!SWIG_IsOK(res1
)) {
19348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19350 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19352 if (!SWIG_IsOK(res2
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19355 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->SetImageList(arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19372 wxImageList
*arg2
= (wxImageList
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char * kwnames
[] = {
19379 (char *) "self",(char *) "imageList", NULL
19382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19384 if (!SWIG_IsOK(res1
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19387 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19388 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19389 if (!SWIG_IsOK(res2
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->AssignImageList(arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_Py_Void();
19405 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19406 PyObject
*resultobj
= 0;
19407 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19408 wxImageList
*result
= 0 ;
19411 PyObject
*swig_obj
[1] ;
19413 if (!args
) SWIG_fail
;
19414 swig_obj
[0] = args
;
19415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19416 if (!SWIG_IsOK(res1
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19419 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, 0 | 0 );
19433 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char * kwnames
[] = {
19445 (char *) "self",(char *) "n", NULL
19448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19450 if (!SWIG_IsOK(res1
)) {
19451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19453 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19454 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19455 if (!SWIG_IsOK(ecode2
)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19458 arg2
= static_cast< size_t >(val2
);
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_From_int(static_cast< int >(result
));
19472 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
= 0;
19474 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 PyObject
* obj2
= 0 ;
19487 char * kwnames
[] = {
19488 (char *) "self",(char *) "n",(char *) "imageId", NULL
19491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19493 if (!SWIG_IsOK(res1
)) {
19494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19496 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19497 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19498 if (!SWIG_IsOK(ecode2
)) {
19499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19501 arg2
= static_cast< size_t >(val2
);
19502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19503 if (!SWIG_IsOK(ecode3
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19506 arg3
= static_cast< int >(val3
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19522 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
= 0;
19524 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "self",(char *) "size", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19540 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "self",(char *) "sizePage", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19577 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19580 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19595 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19596 PyObject
*resultobj
= 0;
19597 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19598 unsigned int result
;
19601 PyObject
*swig_obj
[1] ;
19603 if (!args
) SWIG_fail
;
19604 swig_obj
[0] = args
;
19605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19606 if (!SWIG_IsOK(res1
)) {
19607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19609 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19623 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19626 unsigned int arg2
;
19629 unsigned int val2
;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char * kwnames
[] = {
19634 (char *) "self",(char *) "internalBorder", NULL
19637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",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_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19642 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19643 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19644 if (!SWIG_IsOK(ecode2
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19647 arg2
= static_cast< unsigned int >(val2
);
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->SetInternalBorder(arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_Py_Void();
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19667 PyObject
*swig_obj
[1] ;
19669 if (!args
) SWIG_fail
;
19670 swig_obj
[0] = args
;
19671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19691 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
= 0;
19693 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char * kwnames
[] = {
19702 (char *) "self",(char *) "margin", NULL
19705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19707 if (!SWIG_IsOK(res1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19710 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19712 if (!SWIG_IsOK(ecode2
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19715 arg2
= static_cast< int >(val2
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->SetControlMargin(arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= SWIG_Py_Void();
19729 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19730 PyObject
*resultobj
= 0;
19731 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19735 PyObject
*swig_obj
[1] ;
19737 if (!args
) SWIG_fail
;
19738 swig_obj
[0] = args
;
19739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19740 if (!SWIG_IsOK(res1
)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19743 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= SWIG_From_int(static_cast< int >(result
));
19757 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
= 0;
19759 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "self",(char *) "fit", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19776 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19778 if (!SWIG_IsOK(ecode2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19781 arg2
= static_cast< bool >(val2
);
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->SetFitToCurrentPage(arg2
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19796 PyObject
*resultobj
= 0;
19797 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19801 PyObject
*swig_obj
[1] ;
19803 if (!args
) SWIG_fail
;
19804 swig_obj
[0] = args
;
19805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19809 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19825 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19826 PyObject
*resultobj
= 0;
19827 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19828 wxSizer
*result
= 0 ;
19831 PyObject
*swig_obj
[1] ;
19833 if (!args
) SWIG_fail
;
19834 swig_obj
[0] = args
;
19835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19839 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19855 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
= 0;
19857 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char * kwnames
[] = {
19867 (char *) "self",(char *) "n", NULL
19870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19875 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19876 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19877 if (!SWIG_IsOK(ecode2
)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19880 arg2
= static_cast< size_t >(val2
);
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->DeletePage(arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19896 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
= 0;
19898 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char * kwnames
[] = {
19908 (char *) "self",(char *) "n", NULL
19911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19913 if (!SWIG_IsOK(res1
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19916 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19918 if (!SWIG_IsOK(ecode2
)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19921 arg2
= static_cast< size_t >(val2
);
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (bool)(arg1
)->RemovePage(arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 PyObject
*resultobj
= 0;
19939 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19943 PyObject
*swig_obj
[1] ;
19945 if (!args
) SWIG_fail
;
19946 swig_obj
[0] = args
;
19947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19951 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->DeleteAllPages();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19970 wxWindow
*arg2
= (wxWindow
*) 0 ;
19971 wxString
*arg3
= 0 ;
19972 bool arg4
= (bool) false ;
19973 int arg5
= (int) -1 ;
19979 bool temp3
= false ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 PyObject
* obj2
= 0 ;
19987 PyObject
* obj3
= 0 ;
19988 PyObject
* obj4
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19998 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20000 if (!SWIG_IsOK(res2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20003 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20005 arg3
= wxString_in_helper(obj2
);
20006 if (arg3
== NULL
) SWIG_fail
;
20010 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20011 if (!SWIG_IsOK(ecode4
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20014 arg4
= static_cast< bool >(val4
);
20017 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20018 if (!SWIG_IsOK(ecode5
)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20021 arg5
= static_cast< int >(val5
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= 0;
20048 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20050 wxWindow
*arg3
= (wxWindow
*) 0 ;
20051 wxString
*arg4
= 0 ;
20052 bool arg5
= (bool) false ;
20053 int arg6
= (int) -1 ;
20061 bool temp4
= false ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 PyObject
* obj2
= 0 ;
20069 PyObject
* obj3
= 0 ;
20070 PyObject
* obj4
= 0 ;
20071 PyObject
* obj5
= 0 ;
20072 char * kwnames
[] = {
20073 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20078 if (!SWIG_IsOK(res1
)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20081 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20082 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20083 if (!SWIG_IsOK(ecode2
)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20086 arg2
= static_cast< size_t >(val2
);
20087 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20088 if (!SWIG_IsOK(res3
)) {
20089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20091 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20093 arg4
= wxString_in_helper(obj3
);
20094 if (arg4
== NULL
) SWIG_fail
;
20098 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20099 if (!SWIG_IsOK(ecode5
)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20102 arg5
= static_cast< bool >(val5
);
20105 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20106 if (!SWIG_IsOK(ecode6
)) {
20107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20109 arg6
= static_cast< int >(val6
);
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
= 0;
20136 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 char * kwnames
[] = {
20146 (char *) "self",(char *) "n", NULL
20149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20154 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20155 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20156 if (!SWIG_IsOK(ecode2
)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20159 arg2
= static_cast< size_t >(val2
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (int)(arg1
)->SetSelection(arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_From_int(static_cast< int >(result
));
20173 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char * kwnames
[] = {
20185 (char *) "self",(char *) "n", NULL
20188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20190 if (!SWIG_IsOK(res1
)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20193 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20195 if (!SWIG_IsOK(ecode2
)) {
20196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20198 arg2
= static_cast< size_t >(val2
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (int)(arg1
)->ChangeSelection(arg2
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_From_int(static_cast< int >(result
));
20212 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20215 bool arg2
= (bool) true ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "forward", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20231 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20233 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20234 if (!SWIG_IsOK(ecode2
)) {
20235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20237 arg2
= static_cast< bool >(val2
);
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 (arg1
)->AdvanceSelection(arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_Py_Void();
20252 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
= 0;
20254 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20255 wxPoint
*arg2
= 0 ;
20256 long *arg3
= (long *) 0 ;
20262 int res3
= SWIG_TMPOBJ
;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char * kwnames
[] = {
20266 (char *) "self",(char *) "pt", NULL
20270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20272 if (!SWIG_IsOK(res1
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20275 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_From_int(static_cast< int >(result
));
20287 if (SWIG_IsTmpObj(res3
)) {
20288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20290 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20299 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20302 SwigValueWrapper
<wxVisualAttributes
> result
;
20305 PyObject
* obj0
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "variant", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20313 if (!SWIG_IsOK(ecode1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20316 arg1
= static_cast< wxWindowVariant
>(val1
);
20319 if (!wxPyCheckForApp()) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20332 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20335 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20336 return SWIG_Py_Void();
20339 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20342 int arg2
= (int) 0 ;
20343 int arg3
= (int) -1 ;
20344 int arg4
= (int) -1 ;
20345 wxBookCtrlBaseEvent
*result
= 0 ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 PyObject
* obj2
= 0 ;
20357 PyObject
* obj3
= 0 ;
20358 char * kwnames
[] = {
20359 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20365 if (!SWIG_IsOK(ecode1
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20368 arg1
= static_cast< wxEventType
>(val1
);
20371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20372 if (!SWIG_IsOK(ecode2
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20375 arg2
= static_cast< int >(val2
);
20378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20379 if (!SWIG_IsOK(ecode3
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20382 arg3
= static_cast< int >(val3
);
20385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20386 if (!SWIG_IsOK(ecode4
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20389 arg4
= static_cast< int >(val4
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20404 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 PyObject
*resultobj
= 0;
20406 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20410 PyObject
*swig_obj
[1] ;
20412 if (!args
) SWIG_fail
;
20413 swig_obj
[0] = args
;
20414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20418 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_From_int(static_cast< int >(result
));
20432 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= 0;
20434 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char * kwnames
[] = {
20443 (char *) "self",(char *) "nSel", NULL
20446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20451 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20453 if (!SWIG_IsOK(ecode2
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20456 arg2
= static_cast< int >(val2
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 (arg1
)->SetSelection(arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_Py_Void();
20470 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 PyObject
*resultobj
= 0;
20472 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20476 PyObject
*swig_obj
[1] ;
20478 if (!args
) SWIG_fail
;
20479 swig_obj
[0] = args
;
20480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20481 if (!SWIG_IsOK(res1
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20484 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_From_int(static_cast< int >(result
));
20498 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "nOldSel", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20517 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20519 if (!SWIG_IsOK(ecode2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20522 arg2
= static_cast< int >(val2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetOldSelection(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20540 return SWIG_Py_Void();
20543 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 return SWIG_Python_InitShadowInstance(args
);
20547 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxWindow
*arg1
= (wxWindow
*) 0 ;
20550 int arg2
= (int) -1 ;
20551 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20552 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20553 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20554 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20555 long arg5
= (long) 0 ;
20556 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20557 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20558 wxNotebook
*result
= 0 ;
20567 bool temp6
= false ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 PyObject
* obj3
= 0 ;
20572 PyObject
* obj4
= 0 ;
20573 PyObject
* obj5
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20586 if (!SWIG_IsOK(ecode2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20589 arg2
= static_cast< int >(val2
);
20594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20604 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20605 if (!SWIG_IsOK(ecode5
)) {
20606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20608 arg5
= static_cast< long >(val5
);
20612 arg6
= wxString_in_helper(obj5
);
20613 if (arg6
== NULL
) SWIG_fail
;
20618 if (!wxPyCheckForApp()) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20639 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 PyObject
*resultobj
= 0;
20641 wxNotebook
*result
= 0 ;
20643 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20645 if (!wxPyCheckForApp()) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (wxNotebook
*)new wxNotebook();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20658 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20661 wxWindow
*arg2
= (wxWindow
*) 0 ;
20662 int arg3
= (int) -1 ;
20663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20667 long arg6
= (long) 0 ;
20668 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20681 bool temp7
= false ;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20684 PyObject
* obj2
= 0 ;
20685 PyObject
* obj3
= 0 ;
20686 PyObject
* obj4
= 0 ;
20687 PyObject
* obj5
= 0 ;
20688 PyObject
* obj6
= 0 ;
20689 char * kwnames
[] = {
20690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20695 if (!SWIG_IsOK(res1
)) {
20696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20698 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20700 if (!SWIG_IsOK(res2
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20706 if (!SWIG_IsOK(ecode3
)) {
20707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20709 arg3
= static_cast< int >(val3
);
20714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20724 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20725 if (!SWIG_IsOK(ecode6
)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20728 arg6
= static_cast< long >(val6
);
20732 arg7
= wxString_in_helper(obj6
);
20733 if (arg7
== NULL
) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20760 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20761 PyObject
*resultobj
= 0;
20762 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20766 PyObject
*swig_obj
[1] ;
20768 if (!args
) SWIG_fail
;
20769 swig_obj
[0] = args
;
20770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20771 if (!SWIG_IsOK(res1
)) {
20772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20774 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_From_int(static_cast< int >(result
));
20788 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
= 0;
20790 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 char * kwnames
[] = {
20798 (char *) "self",(char *) "padding", NULL
20801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20806 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= SWIG_Py_Void();
20824 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char * kwnames
[] = {
20834 (char *) "self",(char *) "sz", NULL
20837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20839 if (!SWIG_IsOK(res1
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20842 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20845 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_Py_Void();
20860 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20861 PyObject
*resultobj
= 0;
20862 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20866 PyObject
*swig_obj
[1] ;
20868 if (!args
) SWIG_fail
;
20869 swig_obj
[0] = args
;
20870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20871 if (!SWIG_IsOK(res1
)) {
20872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20874 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20888 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= 0;
20890 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20891 SwigValueWrapper
<wxVisualAttributes
> result
;
20894 PyObject
* obj0
= 0 ;
20895 char * kwnames
[] = {
20896 (char *) "variant", NULL
20899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20902 if (!SWIG_IsOK(ecode1
)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20905 arg1
= static_cast< wxWindowVariant
>(val1
);
20908 if (!wxPyCheckForApp()) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20921 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
= 0;
20923 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 char * kwnames
[] = {
20933 (char *) "self",(char *) "nPage", NULL
20936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20941 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20943 if (!SWIG_IsOK(ecode2
)) {
20944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20946 arg2
= static_cast< int >(val2
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20962 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
= 0;
20964 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20966 int arg3
= (int) -1 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 PyObject
* obj2
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20985 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20987 if (!SWIG_IsOK(ecode2
)) {
20988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
20990 arg2
= static_cast< int >(val2
);
20992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20993 if (!SWIG_IsOK(ecode3
)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
20996 arg3
= static_cast< int >(val3
);
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_Py_Void();
21011 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21014 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21015 return SWIG_Py_Void();
21018 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21019 return SWIG_Python_InitShadowInstance(args
);
21022 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21025 int arg2
= (int) 0 ;
21026 int arg3
= (int) -1 ;
21027 int arg4
= (int) -1 ;
21028 wxNotebookEvent
*result
= 0 ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 PyObject
* obj2
= 0 ;
21040 PyObject
* obj3
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21048 if (!SWIG_IsOK(ecode1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21051 arg1
= static_cast< wxEventType
>(val1
);
21054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21055 if (!SWIG_IsOK(ecode2
)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21058 arg2
= static_cast< int >(val2
);
21061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21062 if (!SWIG_IsOK(ecode3
)) {
21063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21065 arg3
= static_cast< int >(val3
);
21068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21069 if (!SWIG_IsOK(ecode4
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21072 arg4
= static_cast< int >(val4
);
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21087 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21090 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21091 return SWIG_Py_Void();
21094 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21095 return SWIG_Python_InitShadowInstance(args
);
21098 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxWindow
*arg1
= (wxWindow
*) 0 ;
21101 int arg2
= (int) -1 ;
21102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21106 long arg5
= (long) 0 ;
21107 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21109 wxListbook
*result
= 0 ;
21118 bool temp6
= false ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 PyObject
* obj2
= 0 ;
21122 PyObject
* obj3
= 0 ;
21123 PyObject
* obj4
= 0 ;
21124 PyObject
* obj5
= 0 ;
21125 char * kwnames
[] = {
21126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21131 if (!SWIG_IsOK(res1
)) {
21132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21137 if (!SWIG_IsOK(ecode2
)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21140 arg2
= static_cast< int >(val2
);
21145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21155 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21156 if (!SWIG_IsOK(ecode5
)) {
21157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21159 arg5
= static_cast< long >(val5
);
21163 arg6
= wxString_in_helper(obj5
);
21164 if (arg6
== NULL
) SWIG_fail
;
21169 if (!wxPyCheckForApp()) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21190 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21191 PyObject
*resultobj
= 0;
21192 wxListbook
*result
= 0 ;
21194 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21196 if (!wxPyCheckForApp()) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (wxListbook
*)new wxListbook();
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21209 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
= 0;
21211 wxListbook
*arg1
= (wxListbook
*) 0 ;
21212 wxWindow
*arg2
= (wxWindow
*) 0 ;
21213 int arg3
= (int) -1 ;
21214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21218 long arg6
= (long) 0 ;
21219 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21220 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21232 bool temp7
= false ;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 PyObject
* obj2
= 0 ;
21236 PyObject
* obj3
= 0 ;
21237 PyObject
* obj4
= 0 ;
21238 PyObject
* obj5
= 0 ;
21239 PyObject
* obj6
= 0 ;
21240 char * kwnames
[] = {
21241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21249 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21251 if (!SWIG_IsOK(res2
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21254 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21257 if (!SWIG_IsOK(ecode3
)) {
21258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21260 arg3
= static_cast< int >(val3
);
21265 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21271 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21275 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21276 if (!SWIG_IsOK(ecode6
)) {
21277 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21279 arg6
= static_cast< long >(val6
);
21283 arg7
= wxString_in_helper(obj6
);
21284 if (arg7
== NULL
) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21311 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 PyObject
*resultobj
= 0;
21313 wxListbook
*arg1
= (wxListbook
*) 0 ;
21314 wxListView
*result
= 0 ;
21317 PyObject
*swig_obj
[1] ;
21319 if (!args
) SWIG_fail
;
21320 swig_obj
[0] = args
;
21321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21325 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (wxListView
*)(arg1
)->GetListView();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21339 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21342 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21343 return SWIG_Py_Void();
21346 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 return SWIG_Python_InitShadowInstance(args
);
21350 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
= 0;
21352 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21353 int arg2
= (int) 0 ;
21354 int arg3
= (int) -1 ;
21355 int arg4
= (int) -1 ;
21356 wxListbookEvent
*result
= 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 PyObject
* obj2
= 0 ;
21368 PyObject
* obj3
= 0 ;
21369 char * kwnames
[] = {
21370 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21375 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21376 if (!SWIG_IsOK(ecode1
)) {
21377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21379 arg1
= static_cast< wxEventType
>(val1
);
21382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21383 if (!SWIG_IsOK(ecode2
)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21386 arg2
= static_cast< int >(val2
);
21389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21390 if (!SWIG_IsOK(ecode3
)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21393 arg3
= static_cast< int >(val3
);
21396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21397 if (!SWIG_IsOK(ecode4
)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21400 arg4
= static_cast< int >(val4
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21415 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21418 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21419 return SWIG_Py_Void();
21422 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 return SWIG_Python_InitShadowInstance(args
);
21426 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= 0;
21428 wxWindow
*arg1
= (wxWindow
*) 0 ;
21430 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21431 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21432 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21433 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21434 long arg5
= (long) 0 ;
21435 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21436 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21437 wxChoicebook
*result
= 0 ;
21446 bool temp6
= false ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 PyObject
* obj3
= 0 ;
21451 PyObject
* obj4
= 0 ;
21452 PyObject
* obj5
= 0 ;
21453 char * kwnames
[] = {
21454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21459 if (!SWIG_IsOK(res1
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21464 if (!SWIG_IsOK(ecode2
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21467 arg2
= static_cast< int >(val2
);
21471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21481 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21482 if (!SWIG_IsOK(ecode5
)) {
21483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21485 arg5
= static_cast< long >(val5
);
21489 arg6
= wxString_in_helper(obj5
);
21490 if (arg6
== NULL
) SWIG_fail
;
21495 if (!wxPyCheckForApp()) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21516 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 PyObject
*resultobj
= 0;
21518 wxChoicebook
*result
= 0 ;
21520 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21522 if (!wxPyCheckForApp()) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxChoicebook
*)new wxChoicebook();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21535 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
= 0;
21537 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21538 wxWindow
*arg2
= (wxWindow
*) 0 ;
21540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21544 long arg6
= (long) 0 ;
21545 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21558 bool temp7
= false ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 PyObject
* obj2
= 0 ;
21562 PyObject
* obj3
= 0 ;
21563 PyObject
* obj4
= 0 ;
21564 PyObject
* obj5
= 0 ;
21565 PyObject
* obj6
= 0 ;
21566 char * kwnames
[] = {
21567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21575 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21577 if (!SWIG_IsOK(res2
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21582 if (!SWIG_IsOK(ecode3
)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21585 arg3
= static_cast< int >(val3
);
21589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21599 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21600 if (!SWIG_IsOK(ecode6
)) {
21601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21603 arg6
= static_cast< long >(val6
);
21607 arg7
= wxString_in_helper(obj6
);
21608 if (arg7
== NULL
) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21635 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21636 PyObject
*resultobj
= 0;
21637 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21638 wxChoice
*result
= 0 ;
21641 PyObject
*swig_obj
[1] ;
21643 if (!args
) SWIG_fail
;
21644 swig_obj
[0] = args
;
21645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21646 if (!SWIG_IsOK(res1
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21649 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21663 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21666 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21667 return SWIG_Py_Void();
21670 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 return SWIG_Python_InitShadowInstance(args
);
21674 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21677 int arg2
= (int) 0 ;
21678 int arg3
= (int) -1 ;
21679 int arg4
= (int) -1 ;
21680 wxChoicebookEvent
*result
= 0 ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 PyObject
* obj2
= 0 ;
21692 PyObject
* obj3
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21700 if (!SWIG_IsOK(ecode1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21703 arg1
= static_cast< wxEventType
>(val1
);
21706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21707 if (!SWIG_IsOK(ecode2
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21710 arg2
= static_cast< int >(val2
);
21713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21714 if (!SWIG_IsOK(ecode3
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21717 arg3
= static_cast< int >(val3
);
21720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21721 if (!SWIG_IsOK(ecode4
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21724 arg4
= static_cast< int >(val4
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21739 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21742 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21743 return SWIG_Py_Void();
21746 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21747 return SWIG_Python_InitShadowInstance(args
);
21750 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
= 0;
21752 wxWindow
*arg1
= (wxWindow
*) 0 ;
21754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21758 long arg5
= (long) wxBK_DEFAULT
;
21759 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21761 wxTreebook
*result
= 0 ;
21770 bool temp6
= false ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 PyObject
* obj2
= 0 ;
21774 PyObject
* obj3
= 0 ;
21775 PyObject
* obj4
= 0 ;
21776 PyObject
* obj5
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21788 if (!SWIG_IsOK(ecode2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21791 arg2
= static_cast< int >(val2
);
21795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21806 if (!SWIG_IsOK(ecode5
)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21809 arg5
= static_cast< long >(val5
);
21813 arg6
= wxString_in_helper(obj5
);
21814 if (arg6
== NULL
) SWIG_fail
;
21819 if (!wxPyCheckForApp()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21840 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 PyObject
*resultobj
= 0;
21842 wxTreebook
*result
= 0 ;
21844 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21846 if (!wxPyCheckForApp()) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (wxTreebook
*)new wxTreebook();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21859 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
= 0;
21861 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21862 wxWindow
*arg2
= (wxWindow
*) 0 ;
21864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21868 long arg6
= (long) wxBK_DEFAULT
;
21869 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21882 bool temp7
= false ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 PyObject
* obj3
= 0 ;
21887 PyObject
* obj4
= 0 ;
21888 PyObject
* obj5
= 0 ;
21889 PyObject
* obj6
= 0 ;
21890 char * kwnames
[] = {
21891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21899 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21901 if (!SWIG_IsOK(res2
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21906 if (!SWIG_IsOK(ecode3
)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21909 arg3
= static_cast< int >(val3
);
21913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21923 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21924 if (!SWIG_IsOK(ecode6
)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21927 arg6
= static_cast< long >(val6
);
21931 arg7
= wxString_in_helper(obj6
);
21932 if (arg7
== NULL
) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21959 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= 0;
21961 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21963 wxWindow
*arg3
= (wxWindow
*) 0 ;
21964 wxString
*arg4
= 0 ;
21965 bool arg5
= (bool) false ;
21966 int arg6
= (int) wxNOT_FOUND
;
21974 bool temp4
= false ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 PyObject
* obj3
= 0 ;
21983 PyObject
* obj4
= 0 ;
21984 PyObject
* obj5
= 0 ;
21985 char * kwnames
[] = {
21986 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21994 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21996 if (!SWIG_IsOK(ecode2
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21999 arg2
= static_cast< size_t >(val2
);
22000 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22001 if (!SWIG_IsOK(res3
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22004 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22006 arg4
= wxString_in_helper(obj3
);
22007 if (arg4
== NULL
) SWIG_fail
;
22011 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22012 if (!SWIG_IsOK(ecode5
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22015 arg5
= static_cast< bool >(val5
);
22018 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22019 if (!SWIG_IsOK(ecode6
)) {
22020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22022 arg6
= static_cast< int >(val6
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22047 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= 0;
22049 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22050 wxWindow
*arg2
= (wxWindow
*) 0 ;
22051 wxString
*arg3
= 0 ;
22052 bool arg4
= (bool) false ;
22053 int arg5
= (int) wxNOT_FOUND
;
22059 bool temp3
= false ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 PyObject
* obj2
= 0 ;
22067 PyObject
* obj3
= 0 ;
22068 PyObject
* obj4
= 0 ;
22069 char * kwnames
[] = {
22070 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22078 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22080 if (!SWIG_IsOK(res2
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22085 arg3
= wxString_in_helper(obj2
);
22086 if (arg3
== NULL
) SWIG_fail
;
22090 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22091 if (!SWIG_IsOK(ecode4
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22094 arg4
= static_cast< bool >(val4
);
22097 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22098 if (!SWIG_IsOK(ecode5
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22101 arg5
= static_cast< int >(val5
);
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22126 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char * kwnames
[] = {
22138 (char *) "self",(char *) "pos", NULL
22141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22143 if (!SWIG_IsOK(res1
)) {
22144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22146 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22147 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22148 if (!SWIG_IsOK(ecode2
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22151 arg2
= static_cast< size_t >(val2
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22167 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= 0;
22169 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22171 bool arg3
= (bool) true ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 PyObject
* obj2
= 0 ;
22182 char * kwnames
[] = {
22183 (char *) "self",(char *) "pos",(char *) "expand", NULL
22186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22188 if (!SWIG_IsOK(res1
)) {
22189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22191 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22192 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22193 if (!SWIG_IsOK(ecode2
)) {
22194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22196 arg2
= static_cast< size_t >(val2
);
22198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22199 if (!SWIG_IsOK(ecode3
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22202 arg3
= static_cast< bool >(val3
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22219 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char * kwnames
[] = {
22231 (char *) "self",(char *) "pos", NULL
22234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22239 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22240 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22241 if (!SWIG_IsOK(ecode2
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22244 arg2
= static_cast< size_t >(val2
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (bool)(arg1
)->CollapseNode(arg2
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= 0;
22262 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 char * kwnames
[] = {
22272 (char *) "self",(char *) "pos", NULL
22275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22280 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22281 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22282 if (!SWIG_IsOK(ecode2
)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22285 arg2
= static_cast< size_t >(val2
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_From_int(static_cast< int >(result
));
22299 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22300 PyObject
*resultobj
= 0;
22301 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22302 wxPyTreeCtrl
*result
= 0 ;
22305 PyObject
*swig_obj
[1] ;
22307 if (!args
) SWIG_fail
;
22308 swig_obj
[0] = args
;
22309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22310 if (!SWIG_IsOK(res1
)) {
22311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22313 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22329 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22332 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22333 return SWIG_Py_Void();
22336 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 return SWIG_Python_InitShadowInstance(args
);
22340 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
= 0;
22342 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22343 int arg2
= (int) 0 ;
22344 int arg3
= (int) wxNOT_FOUND
;
22345 int arg4
= (int) wxNOT_FOUND
;
22346 wxTreebookEvent
*result
= 0 ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 PyObject
* obj2
= 0 ;
22358 PyObject
* obj3
= 0 ;
22359 char * kwnames
[] = {
22360 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22366 if (!SWIG_IsOK(ecode1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22369 arg1
= static_cast< wxEventType
>(val1
);
22372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22373 if (!SWIG_IsOK(ecode2
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22376 arg2
= static_cast< int >(val2
);
22379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22380 if (!SWIG_IsOK(ecode3
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22383 arg3
= static_cast< int >(val3
);
22386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22387 if (!SWIG_IsOK(ecode4
)) {
22388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22390 arg4
= static_cast< int >(val4
);
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22405 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22408 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22409 return SWIG_Py_Void();
22412 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22413 return SWIG_Python_InitShadowInstance(args
);
22416 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
= 0;
22418 wxWindow
*arg1
= (wxWindow
*) 0 ;
22420 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22421 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22422 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22423 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22424 long arg5
= (long) wxBK_DEFAULT
;
22425 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22426 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22427 wxToolbook
*result
= 0 ;
22436 bool temp6
= false ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 PyObject
* obj2
= 0 ;
22440 PyObject
* obj3
= 0 ;
22441 PyObject
* obj4
= 0 ;
22442 PyObject
* obj5
= 0 ;
22443 char * kwnames
[] = {
22444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22449 if (!SWIG_IsOK(res1
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22454 if (!SWIG_IsOK(ecode2
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22457 arg2
= static_cast< int >(val2
);
22461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22467 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22471 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22472 if (!SWIG_IsOK(ecode5
)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22475 arg5
= static_cast< long >(val5
);
22479 arg6
= wxString_in_helper(obj5
);
22480 if (arg6
== NULL
) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22505 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22506 PyObject
*resultobj
= 0;
22507 wxToolbook
*result
= 0 ;
22509 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (wxToolbook
*)new wxToolbook();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22523 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= 0;
22525 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22526 wxWindow
*arg2
= (wxWindow
*) 0 ;
22528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22532 long arg6
= (long) 0 ;
22533 wxString
const &arg7_defvalue
= wxEmptyString
;
22534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22546 bool temp7
= false ;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22549 PyObject
* obj2
= 0 ;
22550 PyObject
* obj3
= 0 ;
22551 PyObject
* obj4
= 0 ;
22552 PyObject
* obj5
= 0 ;
22553 PyObject
* obj6
= 0 ;
22554 char * kwnames
[] = {
22555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22563 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22565 if (!SWIG_IsOK(res2
)) {
22566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22570 if (!SWIG_IsOK(ecode3
)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22573 arg3
= static_cast< int >(val3
);
22577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22587 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22588 if (!SWIG_IsOK(ecode6
)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22591 arg6
= static_cast< long >(val6
);
22595 arg7
= wxString_in_helper(obj6
);
22596 if (arg7
== NULL
) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22623 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22626 wxToolBarBase
*result
= 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22637 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22653 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22658 PyObject
*swig_obj
[1] ;
22660 if (!args
) SWIG_fail
;
22661 swig_obj
[0] = args
;
22662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22666 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22683 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22684 return SWIG_Py_Void();
22687 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 return SWIG_Python_InitShadowInstance(args
);
22691 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22694 int arg2
= (int) 0 ;
22695 int arg3
= (int) wxNOT_FOUND
;
22696 int arg4
= (int) wxNOT_FOUND
;
22697 wxToolbookEvent
*result
= 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 PyObject
* obj2
= 0 ;
22709 PyObject
* obj3
= 0 ;
22710 char * kwnames
[] = {
22711 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22717 if (!SWIG_IsOK(ecode1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22720 arg1
= static_cast< wxEventType
>(val1
);
22723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22724 if (!SWIG_IsOK(ecode2
)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22727 arg2
= static_cast< int >(val2
);
22730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22731 if (!SWIG_IsOK(ecode3
)) {
22732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22734 arg3
= static_cast< int >(val3
);
22737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22738 if (!SWIG_IsOK(ecode4
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22741 arg4
= static_cast< int >(val4
);
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22756 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22759 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22760 return SWIG_Py_Void();
22763 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 return SWIG_Python_InitShadowInstance(args
);
22767 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 PyObject
*resultobj
= 0;
22769 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22773 PyObject
*swig_obj
[1] ;
22775 if (!args
) SWIG_fail
;
22776 swig_obj
[0] = args
;
22777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22781 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)(arg1
)->GetId();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_From_int(static_cast< int >(result
));
22795 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 PyObject
*resultobj
= 0;
22797 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22798 wxControl
*result
= 0 ;
22801 PyObject
*swig_obj
[1] ;
22803 if (!args
) SWIG_fail
;
22804 swig_obj
[0] = args
;
22805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22809 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (wxControl
*)(arg1
)->GetControl();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= wxPyMake_wxObject(result
, 0);
22825 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22828 wxToolBarBase
*result
= 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22839 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22855 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22861 PyObject
*swig_obj
[1] ;
22863 if (!args
) SWIG_fail
;
22864 swig_obj
[0] = args
;
22865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22869 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (int)(arg1
)->IsButton();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_From_int(static_cast< int >(result
));
22883 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22884 PyObject
*resultobj
= 0;
22885 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22889 PyObject
*swig_obj
[1] ;
22891 if (!args
) SWIG_fail
;
22892 swig_obj
[0] = args
;
22893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22897 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (int)(arg1
)->IsControl();
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_From_int(static_cast< int >(result
));
22911 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22912 PyObject
*resultobj
= 0;
22913 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22917 PyObject
*swig_obj
[1] ;
22919 if (!args
) SWIG_fail
;
22920 swig_obj
[0] = args
;
22921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22922 if (!SWIG_IsOK(res1
)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22925 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (int)(arg1
)->IsSeparator();
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_From_int(static_cast< int >(result
));
22939 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22940 PyObject
*resultobj
= 0;
22941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22945 PyObject
*swig_obj
[1] ;
22947 if (!args
) SWIG_fail
;
22948 swig_obj
[0] = args
;
22949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22953 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (int)(arg1
)->GetStyle();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_From_int(static_cast< int >(result
));
22967 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22968 PyObject
*resultobj
= 0;
22969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22981 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= (wxItemKind
)(arg1
)->GetKind();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_From_int(static_cast< int >(result
));
22995 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 PyObject
*resultobj
= 0;
22997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23001 PyObject
*swig_obj
[1] ;
23003 if (!args
) SWIG_fail
;
23004 swig_obj
[0] = args
;
23005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23006 if (!SWIG_IsOK(res1
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23009 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= (bool)(arg1
)->IsEnabled();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23025 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23039 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (bool)(arg1
)->IsToggled();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23055 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23056 PyObject
*resultobj
= 0;
23057 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23061 PyObject
*swig_obj
[1] ;
23063 if (!args
) SWIG_fail
;
23064 swig_obj
[0] = args
;
23065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23066 if (!SWIG_IsOK(res1
)) {
23067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23069 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (bool)(arg1
)->CanBeToggled();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23085 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23088 wxBitmap
*result
= 0 ;
23091 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23099 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23104 result
= (wxBitmap
*) &_result_ref
;
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 wxBitmap
* resultptr
= new wxBitmap(*result
);
23111 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23119 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23122 wxBitmap
*result
= 0 ;
23125 PyObject
*swig_obj
[1] ;
23127 if (!args
) SWIG_fail
;
23128 swig_obj
[0] = args
;
23129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23138 result
= (wxBitmap
*) &_result_ref
;
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 wxBitmap
* resultptr
= new wxBitmap(*result
);
23145 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23153 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23154 PyObject
*resultobj
= 0;
23155 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23159 PyObject
*swig_obj
[1] ;
23161 if (!args
) SWIG_fail
;
23162 swig_obj
[0] = args
;
23163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23164 if (!SWIG_IsOK(res1
)) {
23165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23167 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (arg1
)->GetBitmap();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23181 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23182 PyObject
*resultobj
= 0;
23183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23187 PyObject
*swig_obj
[1] ;
23189 if (!args
) SWIG_fail
;
23190 swig_obj
[0] = args
;
23191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23192 if (!SWIG_IsOK(res1
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23195 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (arg1
)->GetLabel();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23215 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23216 PyObject
*resultobj
= 0;
23217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23221 PyObject
*swig_obj
[1] ;
23223 if (!args
) SWIG_fail
;
23224 swig_obj
[0] = args
;
23225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23229 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (arg1
)->GetShortHelp();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23249 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 PyObject
*resultobj
= 0;
23251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23255 PyObject
*swig_obj
[1] ;
23257 if (!args
) SWIG_fail
;
23258 swig_obj
[0] = args
;
23259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23263 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (arg1
)->GetLongHelp();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23283 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= 0;
23285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "enable", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23303 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23304 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23305 if (!SWIG_IsOK(ecode2
)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23308 arg2
= static_cast< bool >(val2
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (bool)(arg1
)->Enable(arg2
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23324 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23325 PyObject
*resultobj
= 0;
23326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23329 PyObject
*swig_obj
[1] ;
23331 if (!args
) SWIG_fail
;
23332 swig_obj
[0] = args
;
23333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23337 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_Py_Void();
23351 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
= 0;
23353 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char * kwnames
[] = {
23363 (char *) "self",(char *) "toggle", NULL
23366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23371 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23373 if (!SWIG_IsOK(ecode2
)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23376 arg2
= static_cast< bool >(val2
);
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (bool)(arg1
)->SetToggle(arg2
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23392 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
= 0;
23394 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23395 wxString
*arg2
= 0 ;
23399 bool temp2
= false ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char * kwnames
[] = {
23403 (char *) "self",(char *) "help", NULL
23406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23411 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23413 arg2
= wxString_in_helper(obj1
);
23414 if (arg2
== NULL
) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23440 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23443 wxString
*arg2
= 0 ;
23447 bool temp2
= false ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char * kwnames
[] = {
23451 (char *) "self",(char *) "help", NULL
23454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23456 if (!SWIG_IsOK(res1
)) {
23457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23459 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23461 arg2
= wxString_in_helper(obj1
);
23462 if (arg2
== NULL
) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23488 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
= 0;
23490 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23491 wxBitmap
*arg2
= 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char * kwnames
[] = {
23499 (char *) "self",(char *) "bmp", NULL
23502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23504 if (!SWIG_IsOK(res1
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23507 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23509 if (!SWIG_IsOK(res2
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23515 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_Py_Void();
23529 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23532 wxBitmap
*arg2
= 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char * kwnames
[] = {
23540 (char *) "self",(char *) "bmp", NULL
23543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23548 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23550 if (!SWIG_IsOK(res2
)) {
23551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23556 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_Py_Void();
23570 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23572 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23573 wxString
*arg2
= 0 ;
23576 bool temp2
= false ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "label", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23588 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23590 arg2
= wxString_in_helper(obj1
);
23591 if (arg2
== NULL
) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 (arg1
)->SetLabel((wxString
const &)*arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= SWIG_Py_Void();
23615 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 PyObject
*resultobj
= 0;
23617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23620 PyObject
*swig_obj
[1] ;
23622 if (!args
) SWIG_fail
;
23623 swig_obj
[0] = args
;
23624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23628 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_Py_Void();
23642 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
= 0;
23644 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23645 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "self",(char *) "tbar", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23661 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23663 if (!SWIG_IsOK(res2
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23666 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->Attach(arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_Py_Void();
23680 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23681 PyObject
*resultobj
= 0;
23682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23683 PyObject
*result
= 0 ;
23686 PyObject
*swig_obj
[1] ;
23688 if (!args
) SWIG_fail
;
23689 swig_obj
[0] = args
;
23690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23691 if (!SWIG_IsOK(res1
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23694 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= result
;
23708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= 0;
23710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23711 PyObject
*arg2
= (PyObject
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 char * kwnames
[] = {
23717 (char *) "self",(char *) "clientData", NULL
23720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23722 if (!SWIG_IsOK(res1
)) {
23723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23725 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_Py_Void();
23740 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23743 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23744 return SWIG_Py_Void();
23747 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
= 0;
23749 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23751 wxString
*arg3
= 0 ;
23752 wxBitmap
*arg4
= 0 ;
23753 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23754 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23755 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23756 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23757 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23758 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23760 PyObject
*arg9
= (PyObject
*) NULL
;
23761 wxToolBarToolBase
*result
= 0 ;
23766 bool temp3
= false ;
23773 bool temp7
= false ;
23774 bool temp8
= false ;
23775 PyObject
* obj0
= 0 ;
23776 PyObject
* obj1
= 0 ;
23777 PyObject
* obj2
= 0 ;
23778 PyObject
* obj3
= 0 ;
23779 PyObject
* obj4
= 0 ;
23780 PyObject
* obj5
= 0 ;
23781 PyObject
* obj6
= 0 ;
23782 PyObject
* obj7
= 0 ;
23783 PyObject
* obj8
= 0 ;
23784 char * kwnames
[] = {
23785 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23793 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23795 if (!SWIG_IsOK(ecode2
)) {
23796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23798 arg2
= static_cast< int >(val2
);
23800 arg3
= wxString_in_helper(obj2
);
23801 if (arg3
== NULL
) SWIG_fail
;
23804 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23805 if (!SWIG_IsOK(res4
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23811 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23813 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23814 if (!SWIG_IsOK(res5
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23820 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23823 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23824 if (!SWIG_IsOK(ecode6
)) {
23825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23827 arg6
= static_cast< wxItemKind
>(val6
);
23831 arg7
= wxString_in_helper(obj6
);
23832 if (arg7
== NULL
) SWIG_fail
;
23838 arg8
= wxString_in_helper(obj7
);
23839 if (arg8
== NULL
) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23885 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23890 wxString
*arg4
= 0 ;
23891 wxBitmap
*arg5
= 0 ;
23892 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23893 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23894 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23895 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23897 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23899 PyObject
*arg10
= (PyObject
*) NULL
;
23900 wxToolBarToolBase
*result
= 0 ;
23907 bool temp4
= false ;
23914 bool temp8
= false ;
23915 bool temp9
= false ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 PyObject
* obj2
= 0 ;
23919 PyObject
* obj3
= 0 ;
23920 PyObject
* obj4
= 0 ;
23921 PyObject
* obj5
= 0 ;
23922 PyObject
* obj6
= 0 ;
23923 PyObject
* obj7
= 0 ;
23924 PyObject
* obj8
= 0 ;
23925 PyObject
* obj9
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23935 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23936 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23940 arg2
= static_cast< size_t >(val2
);
23941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23942 if (!SWIG_IsOK(ecode3
)) {
23943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23945 arg3
= static_cast< int >(val3
);
23947 arg4
= wxString_in_helper(obj3
);
23948 if (arg4
== NULL
) SWIG_fail
;
23951 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23952 if (!SWIG_IsOK(res5
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23958 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23960 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23961 if (!SWIG_IsOK(res6
)) {
23962 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23967 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23970 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23971 if (!SWIG_IsOK(ecode7
)) {
23972 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23974 arg7
= static_cast< wxItemKind
>(val7
);
23978 arg8
= wxString_in_helper(obj7
);
23979 if (arg8
== NULL
) SWIG_fail
;
23985 arg9
= wxString_in_helper(obj8
);
23986 if (arg9
== NULL
) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24032 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24035 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24036 wxToolBarToolBase
*result
= 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char * kwnames
[] = {
24044 (char *) "self",(char *) "tool", NULL
24047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24052 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24054 if (!SWIG_IsOK(res2
)) {
24055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24057 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24073 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
= 0;
24075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24077 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24078 wxToolBarToolBase
*result
= 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 PyObject
* obj2
= 0 ;
24088 char * kwnames
[] = {
24089 (char *) "self",(char *) "pos",(char *) "tool", NULL
24092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24094 if (!SWIG_IsOK(res1
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24097 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24098 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24099 if (!SWIG_IsOK(ecode2
)) {
24100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24102 arg2
= static_cast< size_t >(val2
);
24103 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24104 if (!SWIG_IsOK(res3
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24107 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24123 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24126 wxControl
*arg2
= (wxControl
*) 0 ;
24127 wxToolBarToolBase
*result
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "control", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24145 if (!SWIG_IsOK(res2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24148 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24164 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24168 wxControl
*arg3
= (wxControl
*) 0 ;
24169 wxToolBarToolBase
*result
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 PyObject
* obj2
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "self",(char *) "pos",(char *) "control", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24188 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24189 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24190 if (!SWIG_IsOK(ecode2
)) {
24191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24193 arg2
= static_cast< size_t >(val2
);
24194 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24195 if (!SWIG_IsOK(res3
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24198 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24214 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24218 wxControl
*result
= 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "id", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24234 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24236 if (!SWIG_IsOK(ecode2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24239 arg2
= static_cast< int >(val2
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= wxPyMake_wxObject(result
, 0);
24255 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24256 PyObject
*resultobj
= 0;
24257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24258 wxToolBarToolBase
*result
= 0 ;
24261 PyObject
*swig_obj
[1] ;
24263 if (!args
) SWIG_fail
;
24264 swig_obj
[0] = args
;
24265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24266 if (!SWIG_IsOK(res1
)) {
24267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24269 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24285 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= 0;
24287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24289 wxToolBarToolBase
*result
= 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char * kwnames
[] = {
24297 (char *) "self",(char *) "pos", NULL
24300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24307 if (!SWIG_IsOK(ecode2
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24310 arg2
= static_cast< size_t >(val2
);
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24326 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
= 0;
24328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24330 wxToolBarToolBase
*result
= 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char * kwnames
[] = {
24338 (char *) "self",(char *) "id", NULL
24341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24346 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24348 if (!SWIG_IsOK(ecode2
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24351 arg2
= static_cast< int >(val2
);
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24367 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= 0;
24369 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char * kwnames
[] = {
24379 (char *) "self",(char *) "pos", NULL
24382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24384 if (!SWIG_IsOK(res1
)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24387 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24388 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24389 if (!SWIG_IsOK(ecode2
)) {
24390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24392 arg2
= static_cast< size_t >(val2
);
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24408 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
= 0;
24410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 char * kwnames
[] = {
24420 (char *) "self",(char *) "id", NULL
24423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24425 if (!SWIG_IsOK(res1
)) {
24426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24428 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24430 if (!SWIG_IsOK(ecode2
)) {
24431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24433 arg2
= static_cast< int >(val2
);
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (bool)(arg1
)->DeleteTool(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24449 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24450 PyObject
*resultobj
= 0;
24451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24454 PyObject
*swig_obj
[1] ;
24456 if (!args
) SWIG_fail
;
24457 swig_obj
[0] = args
;
24458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24462 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 (arg1
)->ClearTools();
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_Py_Void();
24476 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 PyObject
*resultobj
= 0;
24478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24482 PyObject
*swig_obj
[1] ;
24484 if (!args
) SWIG_fail
;
24485 swig_obj
[0] = args
;
24486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)(arg1
)->Realize();
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24506 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
= 0;
24508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 PyObject
* obj2
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "id",(char *) "enable", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24529 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24534 arg2
= static_cast< int >(val2
);
24535 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24536 if (!SWIG_IsOK(ecode3
)) {
24537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24539 arg3
= static_cast< bool >(val3
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 (arg1
)->EnableTool(arg2
,arg3
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_Py_Void();
24553 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24554 PyObject
*resultobj
= 0;
24555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 PyObject
* obj2
= 0 ;
24567 char * kwnames
[] = {
24568 (char *) "self",(char *) "id",(char *) "toggle", NULL
24571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24576 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24578 if (!SWIG_IsOK(ecode2
)) {
24579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24581 arg2
= static_cast< int >(val2
);
24582 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24583 if (!SWIG_IsOK(ecode3
)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24586 arg3
= static_cast< bool >(val3
);
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 (arg1
)->ToggleTool(arg2
,arg3
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= SWIG_Py_Void();
24600 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
= 0;
24602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 PyObject
* obj2
= 0 ;
24614 char * kwnames
[] = {
24615 (char *) "self",(char *) "id",(char *) "toggle", NULL
24618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24623 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24625 if (!SWIG_IsOK(ecode2
)) {
24626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24628 arg2
= static_cast< int >(val2
);
24629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24630 if (!SWIG_IsOK(ecode3
)) {
24631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24633 arg3
= static_cast< bool >(val3
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 (arg1
)->SetToggle(arg2
,arg3
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= SWIG_Py_Void();
24647 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
= 0;
24649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24651 PyObject
*result
= 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char * kwnames
[] = {
24659 (char *) "self",(char *) "id", NULL
24662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= result
;
24686 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
= 0;
24688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24690 PyObject
*arg3
= (PyObject
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "id",(char *) "clientData", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24707 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24712 arg2
= static_cast< int >(val2
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_Py_Void();
24727 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
= 0;
24729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char * kwnames
[] = {
24739 (char *) "self",(char *) "id", NULL
24742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24749 if (!SWIG_IsOK(ecode2
)) {
24750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24752 arg2
= static_cast< int >(val2
);
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_From_int(static_cast< int >(result
));
24766 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
= 0;
24768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "id", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24788 if (!SWIG_IsOK(ecode2
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24791 arg2
= static_cast< int >(val2
);
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 result
= (bool)(arg1
)->GetToolState(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
= 0;
24809 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char * kwnames
[] = {
24819 (char *) "self",(char *) "id", NULL
24822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24824 if (!SWIG_IsOK(res1
)) {
24825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24827 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24829 if (!SWIG_IsOK(ecode2
)) {
24830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24832 arg2
= static_cast< int >(val2
);
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24848 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
= 0;
24850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24852 wxString
*arg3
= 0 ;
24857 bool temp3
= false ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 char * kwnames
[] = {
24862 (char *) "self",(char *) "id",(char *) "helpString", NULL
24865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24872 if (!SWIG_IsOK(ecode2
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24875 arg2
= static_cast< int >(val2
);
24877 arg3
= wxString_in_helper(obj2
);
24878 if (arg3
== NULL
) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_Py_Void();
24902 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
= 0;
24904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 PyObject
* obj1
= 0 ;
24913 char * kwnames
[] = {
24914 (char *) "self",(char *) "id", NULL
24917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24922 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24924 if (!SWIG_IsOK(ecode2
)) {
24925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24927 arg2
= static_cast< int >(val2
);
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (arg1
)->GetToolShortHelp(arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24947 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24951 wxString
*arg3
= 0 ;
24956 bool temp3
= false ;
24957 PyObject
* obj0
= 0 ;
24958 PyObject
* obj1
= 0 ;
24959 PyObject
* obj2
= 0 ;
24960 char * kwnames
[] = {
24961 (char *) "self",(char *) "id",(char *) "helpString", NULL
24964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24966 if (!SWIG_IsOK(res1
)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24969 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24971 if (!SWIG_IsOK(ecode2
)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24974 arg2
= static_cast< int >(val2
);
24976 arg3
= wxString_in_helper(obj2
);
24977 if (arg3
== NULL
) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
= 0;
25003 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 char * kwnames
[] = {
25013 (char *) "self",(char *) "id", NULL
25016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25018 if (!SWIG_IsOK(res1
)) {
25019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25021 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25023 if (!SWIG_IsOK(ecode2
)) {
25024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25026 arg2
= static_cast< int >(val2
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (arg1
)->GetToolLongHelp(arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25046 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
= 0;
25048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 PyObject
* obj2
= 0 ;
25060 char * kwnames
[] = {
25061 (char *) "self",(char *) "x",(char *) "y", NULL
25064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25066 if (!SWIG_IsOK(res1
)) {
25067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25069 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25071 if (!SWIG_IsOK(ecode2
)) {
25072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25074 arg2
= static_cast< int >(val2
);
25075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25076 if (!SWIG_IsOK(ecode3
)) {
25077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25079 arg3
= static_cast< int >(val3
);
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->SetMargins(arg2
,arg3
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_Py_Void();
25093 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= 0;
25095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "size", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25111 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_Py_Void();
25129 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
= 0;
25131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 char * kwnames
[] = {
25140 (char *) "self",(char *) "packing", NULL
25143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25145 if (!SWIG_IsOK(res1
)) {
25146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25148 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25150 if (!SWIG_IsOK(ecode2
)) {
25151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25153 arg2
= static_cast< int >(val2
);
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 (arg1
)->SetToolPacking(arg2
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_Py_Void();
25167 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "separation", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25188 if (!SWIG_IsOK(ecode2
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25191 arg2
= static_cast< int >(val2
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetToolSeparation(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25206 PyObject
*resultobj
= 0;
25207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25211 PyObject
*swig_obj
[1] ;
25213 if (!args
) SWIG_fail
;
25214 swig_obj
[0] = args
;
25215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25219 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (arg1
)->GetToolMargins();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25233 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 PyObject
*resultobj
= 0;
25235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25239 PyObject
*swig_obj
[1] ;
25241 if (!args
) SWIG_fail
;
25242 swig_obj
[0] = args
;
25243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25247 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (arg1
)->GetMargins();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25261 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25262 PyObject
*resultobj
= 0;
25263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25267 PyObject
*swig_obj
[1] ;
25269 if (!args
) SWIG_fail
;
25270 swig_obj
[0] = args
;
25271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25275 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 result
= (int)(arg1
)->GetToolPacking();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_From_int(static_cast< int >(result
));
25289 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25290 PyObject
*resultobj
= 0;
25291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25295 PyObject
*swig_obj
[1] ;
25297 if (!args
) SWIG_fail
;
25298 swig_obj
[0] = args
;
25299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (int)(arg1
)->GetToolSeparation();
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_From_int(static_cast< int >(result
));
25317 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "nRows", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25336 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25338 if (!SWIG_IsOK(ecode2
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25341 arg2
= static_cast< int >(val2
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 (arg1
)->SetRows(arg2
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "rows",(char *) "cols", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25378 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25380 if (!SWIG_IsOK(ecode2
)) {
25381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25383 arg2
= static_cast< int >(val2
);
25384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25385 if (!SWIG_IsOK(ecode3
)) {
25386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25388 arg3
= static_cast< int >(val3
);
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_Py_Void();
25402 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25403 PyObject
*resultobj
= 0;
25404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25408 PyObject
*swig_obj
[1] ;
25410 if (!args
) SWIG_fail
;
25411 swig_obj
[0] = args
;
25412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25416 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (int)(arg1
)->GetMaxRows();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_From_int(static_cast< int >(result
));
25430 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25431 PyObject
*resultobj
= 0;
25432 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25436 PyObject
*swig_obj
[1] ;
25438 if (!args
) SWIG_fail
;
25439 swig_obj
[0] = args
;
25440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25444 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 result
= (int)(arg1
)->GetMaxCols();
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_From_int(static_cast< int >(result
));
25458 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
= 0;
25460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char * kwnames
[] = {
25468 (char *) "self",(char *) "size", NULL
25471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25473 if (!SWIG_IsOK(res1
)) {
25474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25476 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_Py_Void();
25494 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25495 PyObject
*resultobj
= 0;
25496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25500 PyObject
*swig_obj
[1] ;
25502 if (!args
) SWIG_fail
;
25503 swig_obj
[0] = args
;
25504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25508 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (arg1
)->GetToolBitmapSize();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25522 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25528 PyObject
*swig_obj
[1] ;
25530 if (!args
) SWIG_fail
;
25531 swig_obj
[0] = args
;
25532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25536 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (arg1
)->GetToolSize();
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25550 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
= 0;
25552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25555 wxToolBarToolBase
*result
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 PyObject
* obj2
= 0 ;
25565 char * kwnames
[] = {
25566 (char *) "self",(char *) "x",(char *) "y", NULL
25569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25574 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25576 if (!SWIG_IsOK(ecode2
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25579 arg2
= static_cast< int >(val2
);
25580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25581 if (!SWIG_IsOK(ecode3
)) {
25582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25584 arg3
= static_cast< int >(val3
);
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25600 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
= 0;
25602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25604 wxToolBarToolBase
*result
= 0 ;
25609 PyObject
* obj0
= 0 ;
25610 PyObject
* obj1
= 0 ;
25611 char * kwnames
[] = {
25612 (char *) "self",(char *) "toolid", NULL
25615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25617 if (!SWIG_IsOK(res1
)) {
25618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25620 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25622 if (!SWIG_IsOK(ecode2
)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25625 arg2
= static_cast< int >(val2
);
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25641 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25642 PyObject
*resultobj
= 0;
25643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25647 PyObject
*swig_obj
[1] ;
25649 if (!args
) SWIG_fail
;
25650 swig_obj
[0] = args
;
25651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25655 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (bool)(arg1
)->IsVertical();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25671 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25677 PyObject
*swig_obj
[1] ;
25679 if (!args
) SWIG_fail
;
25680 swig_obj
[0] = args
;
25681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25699 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25702 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25703 return SWIG_Py_Void();
25706 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
= 0;
25708 wxWindow
*arg1
= (wxWindow
*) 0 ;
25709 int arg2
= (int) -1 ;
25710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25714 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25715 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25717 wxToolBar
*result
= 0 ;
25726 bool temp6
= false ;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 PyObject
* obj2
= 0 ;
25730 PyObject
* obj3
= 0 ;
25731 PyObject
* obj4
= 0 ;
25732 PyObject
* obj5
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25745 if (!SWIG_IsOK(ecode2
)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25748 arg2
= static_cast< int >(val2
);
25753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25759 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25763 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25764 if (!SWIG_IsOK(ecode5
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25767 arg5
= static_cast< long >(val5
);
25771 arg6
= wxString_in_helper(obj5
);
25772 if (arg6
== NULL
) SWIG_fail
;
25777 if (!wxPyCheckForApp()) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25798 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25799 PyObject
*resultobj
= 0;
25800 wxToolBar
*result
= 0 ;
25802 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25804 if (!wxPyCheckForApp()) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (wxToolBar
*)new wxToolBar();
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25817 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
= 0;
25819 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25820 wxWindow
*arg2
= (wxWindow
*) 0 ;
25821 int arg3
= (int) -1 ;
25822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25826 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25827 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25840 bool temp7
= false ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 PyObject
* obj3
= 0 ;
25845 PyObject
* obj4
= 0 ;
25846 PyObject
* obj5
= 0 ;
25847 PyObject
* obj6
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25857 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25859 if (!SWIG_IsOK(res2
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25865 if (!SWIG_IsOK(ecode3
)) {
25866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25868 arg3
= static_cast< int >(val3
);
25873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25884 if (!SWIG_IsOK(ecode6
)) {
25885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25887 arg6
= static_cast< long >(val6
);
25891 arg7
= wxString_in_helper(obj6
);
25892 if (arg7
== NULL
) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25919 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25922 SwigValueWrapper
<wxVisualAttributes
> result
;
25925 PyObject
* obj0
= 0 ;
25926 char * kwnames
[] = {
25927 (char *) "variant", NULL
25930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25933 if (!SWIG_IsOK(ecode1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25936 arg1
= static_cast< wxWindowVariant
>(val1
);
25939 if (!wxPyCheckForApp()) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25952 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25955 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25956 return SWIG_Py_Void();
25959 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25960 return SWIG_Python_InitShadowInstance(args
);
25963 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25964 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25969 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25970 PyObject
*pyobj
= 0;
25974 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25976 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25983 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
= 0;
25985 wxColour
const &arg1_defvalue
= wxNullColour
;
25986 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25987 wxColour
const &arg2_defvalue
= wxNullColour
;
25988 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25989 wxFont
const &arg3_defvalue
= wxNullFont
;
25990 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25991 wxListItemAttr
*result
= 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 PyObject
* obj2
= 0 ;
25999 char * kwnames
[] = {
26000 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26007 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26017 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26018 if (!SWIG_IsOK(res3
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26024 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26039 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26040 PyObject
*resultobj
= 0;
26041 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26044 PyObject
*swig_obj
[1] ;
26046 if (!args
) SWIG_fail
;
26047 swig_obj
[0] = args
;
26048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26052 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_Py_Void();
26067 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
= 0;
26069 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26070 wxColour
*arg2
= 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "self",(char *) "colText", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26085 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26088 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_Py_Void();
26103 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
= 0;
26105 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26106 wxColour
*arg2
= 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char * kwnames
[] = {
26113 (char *) "self",(char *) "colBack", NULL
26116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26121 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_Py_Void();
26139 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= 0;
26141 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char * kwnames
[] = {
26150 (char *) "self",(char *) "font", NULL
26153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26158 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26160 if (!SWIG_IsOK(res2
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26166 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetFont((wxFont
const &)*arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 PyObject
*resultobj
= 0;
26182 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26186 PyObject
*swig_obj
[1] ;
26188 if (!args
) SWIG_fail
;
26189 swig_obj
[0] = args
;
26190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26194 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (bool)(arg1
)->HasTextColour();
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26210 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26216 PyObject
*swig_obj
[1] ;
26218 if (!args
) SWIG_fail
;
26219 swig_obj
[0] = args
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26224 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (bool)(arg1
)->HasBackgroundColour();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26240 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26241 PyObject
*resultobj
= 0;
26242 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26254 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)(arg1
)->HasFont();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26271 PyObject
*resultobj
= 0;
26272 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26276 PyObject
*swig_obj
[1] ;
26278 if (!args
) SWIG_fail
;
26279 swig_obj
[0] = args
;
26280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26284 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (arg1
)->GetTextColour();
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26298 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 PyObject
*resultobj
= 0;
26300 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26304 PyObject
*swig_obj
[1] ;
26306 if (!args
) SWIG_fail
;
26307 swig_obj
[0] = args
;
26308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26312 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (arg1
)->GetBackgroundColour();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26326 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 PyObject
*resultobj
= 0;
26328 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26332 PyObject
*swig_obj
[1] ;
26334 if (!args
) SWIG_fail
;
26335 swig_obj
[0] = args
;
26336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26340 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (arg1
)->GetFont();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26354 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
= 0;
26356 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26357 wxListItemAttr
*arg2
= 0 ;
26362 PyObject
* obj0
= 0 ;
26363 PyObject
* obj1
= 0 ;
26364 char * kwnames
[] = {
26365 (char *) "self",(char *) "source", NULL
26368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26373 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26375 if (!SWIG_IsOK(res2
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26381 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26396 PyObject
*resultobj
= 0;
26397 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26400 PyObject
*swig_obj
[1] ;
26402 if (!args
) SWIG_fail
;
26403 swig_obj
[0] = args
;
26404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26408 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 wxListItemAttr_Destroy(arg1
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_Py_Void();
26422 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26425 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26426 return SWIG_Py_Void();
26429 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26430 return SWIG_Python_InitShadowInstance(args
);
26433 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26434 PyObject
*resultobj
= 0;
26435 wxListItem
*result
= 0 ;
26437 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (wxListItem
*)new wxListItem();
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26453 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26454 PyObject
*resultobj
= 0;
26455 wxListItem
*arg1
= (wxListItem
*) 0 ;
26458 PyObject
*swig_obj
[1] ;
26460 if (!args
) SWIG_fail
;
26461 swig_obj
[0] = args
;
26462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26466 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_Py_Void();
26481 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 PyObject
*resultobj
= 0;
26483 wxListItem
*arg1
= (wxListItem
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26494 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_Py_Void();
26508 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26509 PyObject
*resultobj
= 0;
26510 wxListItem
*arg1
= (wxListItem
*) 0 ;
26513 PyObject
*swig_obj
[1] ;
26515 if (!args
) SWIG_fail
;
26516 swig_obj
[0] = args
;
26517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26521 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 (arg1
)->ClearAttributes();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
= 0;
26537 wxListItem
*arg1
= (wxListItem
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 char * kwnames
[] = {
26546 (char *) "self",(char *) "mask", NULL
26549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26554 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26556 if (!SWIG_IsOK(ecode2
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26559 arg2
= static_cast< long >(val2
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 (arg1
)->SetMask(arg2
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_Py_Void();
26573 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= 0;
26575 wxListItem
*arg1
= (wxListItem
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "id", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26593 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26594 if (!SWIG_IsOK(ecode2
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26597 arg2
= static_cast< long >(val2
);
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->SetId(arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_Py_Void();
26611 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxListItem
*arg1
= (wxListItem
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "col", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26635 arg2
= static_cast< int >(val2
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetColumn(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
= 0;
26651 wxListItem
*arg1
= (wxListItem
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char * kwnames
[] = {
26660 (char *) "self",(char *) "state", NULL
26663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26668 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26670 if (!SWIG_IsOK(ecode2
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26673 arg2
= static_cast< long >(val2
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->SetState(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxListItem
*arg1
= (wxListItem
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char * kwnames
[] = {
26698 (char *) "self",(char *) "stateMask", NULL
26701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26706 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26708 if (!SWIG_IsOK(ecode2
)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26711 arg2
= static_cast< long >(val2
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 (arg1
)->SetStateMask(arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxListItem
*arg1
= (wxListItem
*) 0 ;
26728 wxString
*arg2
= 0 ;
26731 bool temp2
= false ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char * kwnames
[] = {
26735 (char *) "self",(char *) "text", NULL
26738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26740 if (!SWIG_IsOK(res1
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26743 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26745 arg2
= wxString_in_helper(obj1
);
26746 if (arg2
== NULL
) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 (arg1
)->SetText((wxString
const &)*arg2
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= SWIG_Py_Void();
26770 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
= 0;
26772 wxListItem
*arg1
= (wxListItem
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char * kwnames
[] = {
26781 (char *) "self",(char *) "image", NULL
26784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26786 if (!SWIG_IsOK(res1
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26789 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26791 if (!SWIG_IsOK(ecode2
)) {
26792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26794 arg2
= static_cast< int >(val2
);
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 (arg1
)->SetImage(arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= SWIG_Py_Void();
26808 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
= 0;
26810 wxListItem
*arg1
= (wxListItem
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char * kwnames
[] = {
26819 (char *) "self",(char *) "data", NULL
26822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26827 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26829 if (!SWIG_IsOK(ecode2
)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26832 arg2
= static_cast< long >(val2
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 (arg1
)->SetData(arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_Py_Void();
26846 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
= 0;
26848 wxListItem
*arg1
= (wxListItem
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "self",(char *) "width", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26865 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26867 if (!SWIG_IsOK(ecode2
)) {
26868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26870 arg2
= static_cast< int >(val2
);
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->SetWidth(arg2
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_Py_Void();
26884 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= 0;
26886 wxListItem
*arg1
= (wxListItem
*) 0 ;
26887 wxListColumnFormat arg2
;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 char * kwnames
[] = {
26895 (char *) "self",(char *) "align", NULL
26898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26900 if (!SWIG_IsOK(res1
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26903 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26905 if (!SWIG_IsOK(ecode2
)) {
26906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26908 arg2
= static_cast< wxListColumnFormat
>(val2
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 (arg1
)->SetAlign(arg2
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_Py_Void();
26922 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
= 0;
26924 wxListItem
*arg1
= (wxListItem
*) 0 ;
26925 wxColour
*arg2
= 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char * kwnames
[] = {
26932 (char *) "self",(char *) "colText", NULL
26935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_Py_Void();
26958 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
= 0;
26960 wxListItem
*arg1
= (wxListItem
*) 0 ;
26961 wxColour
*arg2
= 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 char * kwnames
[] = {
26968 (char *) "self",(char *) "colBack", NULL
26971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26979 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 char * kwnames
[] = {
27005 (char *) "self",(char *) "font", NULL
27008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27010 if (!SWIG_IsOK(res1
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27013 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27015 if (!SWIG_IsOK(res2
)) {
27016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27021 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->SetFont((wxFont
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= SWIG_Py_Void();
27035 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27036 PyObject
*resultobj
= 0;
27037 wxListItem
*arg1
= (wxListItem
*) 0 ;
27041 PyObject
*swig_obj
[1] ;
27043 if (!args
) SWIG_fail
;
27044 swig_obj
[0] = args
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27049 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (long)(arg1
)->GetMask();
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= SWIG_From_long(static_cast< long >(result
));
27063 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 PyObject
*resultobj
= 0;
27065 wxListItem
*arg1
= (wxListItem
*) 0 ;
27069 PyObject
*swig_obj
[1] ;
27071 if (!args
) SWIG_fail
;
27072 swig_obj
[0] = args
;
27073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27074 if (!SWIG_IsOK(res1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27077 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (long)(arg1
)->GetId();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_From_long(static_cast< long >(result
));
27091 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 PyObject
*resultobj
= 0;
27093 wxListItem
*arg1
= (wxListItem
*) 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27105 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (int)(arg1
)->GetColumn();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_From_int(static_cast< int >(result
));
27119 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27120 PyObject
*resultobj
= 0;
27121 wxListItem
*arg1
= (wxListItem
*) 0 ;
27125 PyObject
*swig_obj
[1] ;
27127 if (!args
) SWIG_fail
;
27128 swig_obj
[0] = args
;
27129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27130 if (!SWIG_IsOK(res1
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27133 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (long)(arg1
)->GetState();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= SWIG_From_long(static_cast< long >(result
));
27147 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27148 PyObject
*resultobj
= 0;
27149 wxListItem
*arg1
= (wxListItem
*) 0 ;
27150 wxString
*result
= 0 ;
27153 PyObject
*swig_obj
[1] ;
27155 if (!args
) SWIG_fail
;
27156 swig_obj
[0] = args
;
27157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 wxString
const &_result_ref
= (arg1
)->GetText();
27166 result
= (wxString
*) &_result_ref
;
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27184 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27186 wxListItem
*arg1
= (wxListItem
*) 0 ;
27190 PyObject
*swig_obj
[1] ;
27192 if (!args
) SWIG_fail
;
27193 swig_obj
[0] = args
;
27194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27198 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (int)(arg1
)->GetImage();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_From_int(static_cast< int >(result
));
27212 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxListItem
*arg1
= (wxListItem
*) 0 ;
27218 PyObject
*swig_obj
[1] ;
27220 if (!args
) SWIG_fail
;
27221 swig_obj
[0] = args
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27226 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (long)(arg1
)->GetData();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_From_long(static_cast< long >(result
));
27240 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 PyObject
*resultobj
= 0;
27242 wxListItem
*arg1
= (wxListItem
*) 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27254 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (int)(arg1
)->GetWidth();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= SWIG_From_int(static_cast< int >(result
));
27268 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27269 PyObject
*resultobj
= 0;
27270 wxListItem
*arg1
= (wxListItem
*) 0 ;
27271 wxListColumnFormat result
;
27274 PyObject
*swig_obj
[1] ;
27276 if (!args
) SWIG_fail
;
27277 swig_obj
[0] = args
;
27278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27279 if (!SWIG_IsOK(res1
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27282 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= SWIG_From_int(static_cast< int >(result
));
27296 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxListItem
*arg1
= (wxListItem
*) 0 ;
27299 wxListItemAttr
*result
= 0 ;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27324 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (bool)(arg1
)->HasAttributes();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27354 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27355 PyObject
*resultobj
= 0;
27356 wxListItem
*arg1
= (wxListItem
*) 0 ;
27360 PyObject
*swig_obj
[1] ;
27362 if (!args
) SWIG_fail
;
27363 swig_obj
[0] = args
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27368 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27382 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27383 PyObject
*resultobj
= 0;
27384 wxListItem
*arg1
= (wxListItem
*) 0 ;
27388 PyObject
*swig_obj
[1] ;
27390 if (!args
) SWIG_fail
;
27391 swig_obj
[0] = args
;
27392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27393 if (!SWIG_IsOK(res1
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27410 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27411 PyObject
*resultobj
= 0;
27412 wxListItem
*arg1
= (wxListItem
*) 0 ;
27416 PyObject
*swig_obj
[1] ;
27418 if (!args
) SWIG_fail
;
27419 swig_obj
[0] = args
;
27420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27421 if (!SWIG_IsOK(res1
)) {
27422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27424 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= ((wxListItem
const *)arg1
)->GetFont();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27438 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxListItem
*arg1
= (wxListItem
*) 0 ;
27446 PyObject
*swig_obj
[2] ;
27448 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27453 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27454 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27455 if (!SWIG_IsOK(ecode2
)) {
27456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27458 arg2
= static_cast< long >(val2
);
27459 if (arg1
) (arg1
)->m_mask
= arg2
;
27461 resultobj
= SWIG_Py_Void();
27468 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27469 PyObject
*resultobj
= 0;
27470 wxListItem
*arg1
= (wxListItem
*) 0 ;
27474 PyObject
*swig_obj
[1] ;
27476 if (!args
) SWIG_fail
;
27477 swig_obj
[0] = args
;
27478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27479 if (!SWIG_IsOK(res1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27482 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 result
= (long) ((arg1
)->m_mask
);
27484 resultobj
= SWIG_From_long(static_cast< long >(result
));
27491 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27492 PyObject
*resultobj
= 0;
27493 wxListItem
*arg1
= (wxListItem
*) 0 ;
27499 PyObject
*swig_obj
[2] ;
27501 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27507 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27508 if (!SWIG_IsOK(ecode2
)) {
27509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27511 arg2
= static_cast< long >(val2
);
27512 if (arg1
) (arg1
)->m_itemId
= arg2
;
27514 resultobj
= SWIG_Py_Void();
27521 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27522 PyObject
*resultobj
= 0;
27523 wxListItem
*arg1
= (wxListItem
*) 0 ;
27527 PyObject
*swig_obj
[1] ;
27529 if (!args
) SWIG_fail
;
27530 swig_obj
[0] = args
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27535 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27536 result
= (long) ((arg1
)->m_itemId
);
27537 resultobj
= SWIG_From_long(static_cast< long >(result
));
27544 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 PyObject
*resultobj
= 0;
27546 wxListItem
*arg1
= (wxListItem
*) 0 ;
27552 PyObject
*swig_obj
[2] ;
27554 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27559 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27560 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27561 if (!SWIG_IsOK(ecode2
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27564 arg2
= static_cast< int >(val2
);
27565 if (arg1
) (arg1
)->m_col
= arg2
;
27567 resultobj
= SWIG_Py_Void();
27574 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[1] ;
27582 if (!args
) SWIG_fail
;
27583 swig_obj
[0] = args
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27588 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27589 result
= (int) ((arg1
)->m_col
);
27590 resultobj
= SWIG_From_int(static_cast< int >(result
));
27597 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27598 PyObject
*resultobj
= 0;
27599 wxListItem
*arg1
= (wxListItem
*) 0 ;
27605 PyObject
*swig_obj
[2] ;
27607 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27612 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27613 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27614 if (!SWIG_IsOK(ecode2
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27617 arg2
= static_cast< long >(val2
);
27618 if (arg1
) (arg1
)->m_state
= arg2
;
27620 resultobj
= SWIG_Py_Void();
27627 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27628 PyObject
*resultobj
= 0;
27629 wxListItem
*arg1
= (wxListItem
*) 0 ;
27633 PyObject
*swig_obj
[1] ;
27635 if (!args
) SWIG_fail
;
27636 swig_obj
[0] = args
;
27637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27638 if (!SWIG_IsOK(res1
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27641 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27642 result
= (long) ((arg1
)->m_state
);
27643 resultobj
= SWIG_From_long(static_cast< long >(result
));
27650 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxListItem
*arg1
= (wxListItem
*) 0 ;
27658 PyObject
*swig_obj
[2] ;
27660 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27665 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27666 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27667 if (!SWIG_IsOK(ecode2
)) {
27668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27670 arg2
= static_cast< long >(val2
);
27671 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27673 resultobj
= SWIG_Py_Void();
27680 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 PyObject
*resultobj
= 0;
27682 wxListItem
*arg1
= (wxListItem
*) 0 ;
27686 PyObject
*swig_obj
[1] ;
27688 if (!args
) SWIG_fail
;
27689 swig_obj
[0] = args
;
27690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27694 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27695 result
= (long) ((arg1
)->m_stateMask
);
27696 resultobj
= SWIG_From_long(static_cast< long >(result
));
27703 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27704 PyObject
*resultobj
= 0;
27705 wxListItem
*arg1
= (wxListItem
*) 0 ;
27706 wxString
*arg2
= (wxString
*) 0 ;
27709 bool temp2
= false ;
27710 PyObject
*swig_obj
[2] ;
27712 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27717 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27719 arg2
= wxString_in_helper(swig_obj
[1]);
27720 if (arg2
== NULL
) SWIG_fail
;
27723 if (arg1
) (arg1
)->m_text
= *arg2
;
27725 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListItem
*arg1
= (wxListItem
*) 0 ;
27743 wxString
*result
= 0 ;
27746 PyObject
*swig_obj
[1] ;
27748 if (!args
) SWIG_fail
;
27749 swig_obj
[0] = args
;
27750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27754 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27755 result
= (wxString
*)& ((arg1
)->m_text
);
27758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27769 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27770 PyObject
*resultobj
= 0;
27771 wxListItem
*arg1
= (wxListItem
*) 0 ;
27777 PyObject
*swig_obj
[2] ;
27779 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27784 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27785 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27786 if (!SWIG_IsOK(ecode2
)) {
27787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27789 arg2
= static_cast< int >(val2
);
27790 if (arg1
) (arg1
)->m_image
= arg2
;
27792 resultobj
= SWIG_Py_Void();
27799 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 PyObject
*resultobj
= 0;
27801 wxListItem
*arg1
= (wxListItem
*) 0 ;
27805 PyObject
*swig_obj
[1] ;
27807 if (!args
) SWIG_fail
;
27808 swig_obj
[0] = args
;
27809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27813 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27814 result
= (int) ((arg1
)->m_image
);
27815 resultobj
= SWIG_From_int(static_cast< int >(result
));
27822 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27823 PyObject
*resultobj
= 0;
27824 wxListItem
*arg1
= (wxListItem
*) 0 ;
27830 PyObject
*swig_obj
[2] ;
27832 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27834 if (!SWIG_IsOK(res1
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27837 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27838 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27839 if (!SWIG_IsOK(ecode2
)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27842 arg2
= static_cast< long >(val2
);
27843 if (arg1
) (arg1
)->m_data
= arg2
;
27845 resultobj
= SWIG_Py_Void();
27852 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27853 PyObject
*resultobj
= 0;
27854 wxListItem
*arg1
= (wxListItem
*) 0 ;
27858 PyObject
*swig_obj
[1] ;
27860 if (!args
) SWIG_fail
;
27861 swig_obj
[0] = args
;
27862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27866 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27867 result
= (long) ((arg1
)->m_data
);
27868 resultobj
= SWIG_From_long(static_cast< long >(result
));
27875 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27876 PyObject
*resultobj
= 0;
27877 wxListItem
*arg1
= (wxListItem
*) 0 ;
27883 PyObject
*swig_obj
[2] ;
27885 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27890 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27891 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27892 if (!SWIG_IsOK(ecode2
)) {
27893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27895 arg2
= static_cast< int >(val2
);
27896 if (arg1
) (arg1
)->m_format
= arg2
;
27898 resultobj
= SWIG_Py_Void();
27905 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListItem
*arg1
= (wxListItem
*) 0 ;
27911 PyObject
*swig_obj
[1] ;
27913 if (!args
) SWIG_fail
;
27914 swig_obj
[0] = args
;
27915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27916 if (!SWIG_IsOK(res1
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27920 result
= (int) ((arg1
)->m_format
);
27921 resultobj
= SWIG_From_int(static_cast< int >(result
));
27928 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27929 PyObject
*resultobj
= 0;
27930 wxListItem
*arg1
= (wxListItem
*) 0 ;
27936 PyObject
*swig_obj
[2] ;
27938 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27944 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27945 if (!SWIG_IsOK(ecode2
)) {
27946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27948 arg2
= static_cast< int >(val2
);
27949 if (arg1
) (arg1
)->m_width
= arg2
;
27951 resultobj
= SWIG_Py_Void();
27958 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListItem
*arg1
= (wxListItem
*) 0 ;
27964 PyObject
*swig_obj
[1] ;
27966 if (!args
) SWIG_fail
;
27967 swig_obj
[0] = args
;
27968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27972 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27973 result
= (int) ((arg1
)->m_width
);
27974 resultobj
= SWIG_From_int(static_cast< int >(result
));
27981 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27984 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27985 return SWIG_Py_Void();
27988 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 return SWIG_Python_InitShadowInstance(args
);
27992 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
= 0;
27994 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27995 int arg2
= (int) 0 ;
27996 wxListEvent
*result
= 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char * kwnames
[] = {
28004 (char *) "commandType",(char *) "id", NULL
28007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28010 if (!SWIG_IsOK(ecode1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28013 arg1
= static_cast< wxEventType
>(val1
);
28016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28017 if (!SWIG_IsOK(ecode2
)) {
28018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28020 arg2
= static_cast< int >(val2
);
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28035 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28036 PyObject
*resultobj
= 0;
28037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28043 PyObject
*swig_obj
[2] ;
28045 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28050 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28051 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28052 if (!SWIG_IsOK(ecode2
)) {
28053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28055 arg2
= static_cast< int >(val2
);
28056 if (arg1
) (arg1
)->m_code
= arg2
;
28058 resultobj
= SWIG_Py_Void();
28065 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28066 PyObject
*resultobj
= 0;
28067 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28071 PyObject
*swig_obj
[1] ;
28073 if (!args
) SWIG_fail
;
28074 swig_obj
[0] = args
;
28075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28076 if (!SWIG_IsOK(res1
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28079 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28080 result
= (int) ((arg1
)->m_code
);
28081 resultobj
= SWIG_From_int(static_cast< int >(result
));
28088 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28089 PyObject
*resultobj
= 0;
28090 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28096 PyObject
*swig_obj
[2] ;
28098 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28100 if (!SWIG_IsOK(res1
)) {
28101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28103 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28104 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28105 if (!SWIG_IsOK(ecode2
)) {
28106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28108 arg2
= static_cast< long >(val2
);
28109 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28111 resultobj
= SWIG_Py_Void();
28118 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 PyObject
*resultobj
= 0;
28120 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28124 PyObject
*swig_obj
[1] ;
28126 if (!args
) SWIG_fail
;
28127 swig_obj
[0] = args
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28132 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28133 result
= (long) ((arg1
)->m_oldItemIndex
);
28134 resultobj
= SWIG_From_long(static_cast< long >(result
));
28141 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28142 PyObject
*resultobj
= 0;
28143 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28149 PyObject
*swig_obj
[2] ;
28151 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28156 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28157 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28158 if (!SWIG_IsOK(ecode2
)) {
28159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28161 arg2
= static_cast< long >(val2
);
28162 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28164 resultobj
= SWIG_Py_Void();
28171 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28172 PyObject
*resultobj
= 0;
28173 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28177 PyObject
*swig_obj
[1] ;
28179 if (!args
) SWIG_fail
;
28180 swig_obj
[0] = args
;
28181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28182 if (!SWIG_IsOK(res1
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28185 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28186 result
= (long) ((arg1
)->m_itemIndex
);
28187 resultobj
= SWIG_From_long(static_cast< long >(result
));
28194 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28195 PyObject
*resultobj
= 0;
28196 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28202 PyObject
*swig_obj
[2] ;
28204 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28209 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28210 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28211 if (!SWIG_IsOK(ecode2
)) {
28212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28214 arg2
= static_cast< int >(val2
);
28215 if (arg1
) (arg1
)->m_col
= arg2
;
28217 resultobj
= SWIG_Py_Void();
28224 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28225 PyObject
*resultobj
= 0;
28226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28230 PyObject
*swig_obj
[1] ;
28232 if (!args
) SWIG_fail
;
28233 swig_obj
[0] = args
;
28234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28239 result
= (int) ((arg1
)->m_col
);
28240 resultobj
= SWIG_From_int(static_cast< int >(result
));
28247 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28248 PyObject
*resultobj
= 0;
28249 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28250 wxPoint
*arg2
= (wxPoint
*) 0 ;
28255 PyObject
*swig_obj
[2] ;
28257 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28262 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28263 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28264 if (!SWIG_IsOK(res2
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28267 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28268 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28270 resultobj
= SWIG_Py_Void();
28277 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 PyObject
*resultobj
= 0;
28279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28280 wxPoint
*result
= 0 ;
28283 PyObject
*swig_obj
[1] ;
28285 if (!args
) SWIG_fail
;
28286 swig_obj
[0] = args
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28292 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28300 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28301 PyObject
*resultobj
= 0;
28302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28303 wxListItem
*result
= 0 ;
28306 PyObject
*swig_obj
[1] ;
28308 if (!args
) SWIG_fail
;
28309 swig_obj
[0] = args
;
28310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28314 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28315 result
= (wxListItem
*)& ((arg1
)->m_item
);
28317 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28325 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 PyObject
*resultobj
= 0;
28327 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28331 PyObject
*swig_obj
[1] ;
28333 if (!args
) SWIG_fail
;
28334 swig_obj
[0] = args
;
28335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28339 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (int)(arg1
)->GetKeyCode();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_From_int(static_cast< int >(result
));
28353 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 PyObject
*resultobj
= 0;
28355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28359 PyObject
*swig_obj
[1] ;
28361 if (!args
) SWIG_fail
;
28362 swig_obj
[0] = args
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28367 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= (long)(arg1
)->GetIndex();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_From_long(static_cast< long >(result
));
28381 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28383 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28395 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (int)(arg1
)->GetColumn();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_int(static_cast< int >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (arg1
)->GetPoint();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28437 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28440 wxString
*result
= 0 ;
28443 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28451 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 wxString
const &_result_ref
= (arg1
)->GetLabel();
28456 result
= (wxString
*) &_result_ref
;
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28474 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28475 PyObject
*resultobj
= 0;
28476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28477 wxString
*result
= 0 ;
28480 PyObject
*swig_obj
[1] ;
28482 if (!args
) SWIG_fail
;
28483 swig_obj
[0] = args
;
28484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28488 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 wxString
const &_result_ref
= (arg1
)->GetText();
28493 result
= (wxString
*) &_result_ref
;
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28502 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28511 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28512 PyObject
*resultobj
= 0;
28513 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28517 PyObject
*swig_obj
[1] ;
28519 if (!args
) SWIG_fail
;
28520 swig_obj
[0] = args
;
28521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28522 if (!SWIG_IsOK(res1
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28525 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 result
= (int)(arg1
)->GetImage();
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_From_int(static_cast< int >(result
));
28539 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 PyObject
*resultobj
= 0;
28541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28545 PyObject
*swig_obj
[1] ;
28547 if (!args
) SWIG_fail
;
28548 swig_obj
[0] = args
;
28549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28550 if (!SWIG_IsOK(res1
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28553 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 result
= (long)(arg1
)->GetData();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_From_long(static_cast< long >(result
));
28567 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 PyObject
*resultobj
= 0;
28569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28573 PyObject
*swig_obj
[1] ;
28575 if (!args
) SWIG_fail
;
28576 swig_obj
[0] = args
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28581 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28584 result
= (long)(arg1
)->GetMask();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_From_long(static_cast< long >(result
));
28595 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28596 PyObject
*resultobj
= 0;
28597 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28598 wxListItem
*result
= 0 ;
28601 PyObject
*swig_obj
[1] ;
28603 if (!args
) SWIG_fail
;
28604 swig_obj
[0] = args
;
28605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28609 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28614 result
= (wxListItem
*) &_result_ref
;
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28626 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 PyObject
*resultobj
= 0;
28628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28632 PyObject
*swig_obj
[1] ;
28634 if (!args
) SWIG_fail
;
28635 swig_obj
[0] = args
;
28636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28640 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= (long)(arg1
)->GetCacheFrom();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_From_long(static_cast< long >(result
));
28654 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28655 PyObject
*resultobj
= 0;
28656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28660 PyObject
*swig_obj
[1] ;
28662 if (!args
) SWIG_fail
;
28663 swig_obj
[0] = args
;
28664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28665 if (!SWIG_IsOK(res1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28668 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= (long)(arg1
)->GetCacheTo();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_From_long(static_cast< long >(result
));
28682 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28684 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28688 PyObject
*swig_obj
[1] ;
28690 if (!args
) SWIG_fail
;
28691 swig_obj
[0] = args
;
28692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28696 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28712 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
= 0;
28714 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 char * kwnames
[] = {
28723 (char *) "self",(char *) "editCancelled", NULL
28726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28731 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28733 if (!SWIG_IsOK(ecode2
)) {
28734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28736 arg2
= static_cast< bool >(val2
);
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 (arg1
)->SetEditCanceled(arg2
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_Py_Void();
28750 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28753 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28754 return SWIG_Py_Void();
28757 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28758 return SWIG_Python_InitShadowInstance(args
);
28761 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
= 0;
28763 wxWindow
*arg1
= (wxWindow
*) 0 ;
28764 int arg2
= (int) -1 ;
28765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28769 long arg5
= (long) wxLC_ICON
;
28770 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28771 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28772 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28774 wxPyListCtrl
*result
= 0 ;
28785 bool temp7
= false ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 PyObject
* obj2
= 0 ;
28789 PyObject
* obj3
= 0 ;
28790 PyObject
* obj4
= 0 ;
28791 PyObject
* obj5
= 0 ;
28792 PyObject
* obj6
= 0 ;
28793 char * kwnames
[] = {
28794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28805 if (!SWIG_IsOK(ecode2
)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28808 arg2
= static_cast< int >(val2
);
28813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28823 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28824 if (!SWIG_IsOK(ecode5
)) {
28825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28827 arg5
= static_cast< long >(val5
);
28830 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28831 if (!SWIG_IsOK(res6
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28837 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28841 arg7
= wxString_in_helper(obj6
);
28842 if (arg7
== NULL
) SWIG_fail
;
28847 if (!wxPyCheckForApp()) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28868 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28869 PyObject
*resultobj
= 0;
28870 wxPyListCtrl
*result
= 0 ;
28872 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28874 if (!wxPyCheckForApp()) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28887 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
= 0;
28889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28890 wxWindow
*arg2
= (wxWindow
*) 0 ;
28891 int arg3
= (int) -1 ;
28892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28896 long arg6
= (long) wxLC_ICON
;
28897 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28898 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28899 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28900 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28914 bool temp8
= false ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 PyObject
* obj3
= 0 ;
28919 PyObject
* obj4
= 0 ;
28920 PyObject
* obj5
= 0 ;
28921 PyObject
* obj6
= 0 ;
28922 PyObject
* obj7
= 0 ;
28923 char * kwnames
[] = {
28924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28934 if (!SWIG_IsOK(res2
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28940 if (!SWIG_IsOK(ecode3
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28943 arg3
= static_cast< int >(val3
);
28948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28958 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28959 if (!SWIG_IsOK(ecode6
)) {
28960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28962 arg6
= static_cast< long >(val6
);
28965 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28966 if (!SWIG_IsOK(res7
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28972 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28976 arg8
= wxString_in_helper(obj7
);
28977 if (arg8
== NULL
) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29004 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29007 PyObject
*arg2
= (PyObject
*) 0 ;
29008 PyObject
*arg3
= (PyObject
*) 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "self",(char *) "self",(char *) "_class", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_Py_Void();
29039 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
= 0;
29041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29043 wxListItem
*result
= 0 ;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 char * kwnames
[] = {
29051 (char *) "self",(char *) "col", NULL
29054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29061 if (!SWIG_IsOK(ecode2
)) {
29062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29064 arg2
= static_cast< int >(val2
);
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29080 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
= 0;
29082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29084 wxListItem
*arg3
= 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 char * kwnames
[] = {
29096 (char *) "self",(char *) "col",(char *) "item", NULL
29099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29101 if (!SWIG_IsOK(res1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29106 if (!SWIG_IsOK(ecode2
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29109 arg2
= static_cast< int >(val2
);
29110 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29111 if (!SWIG_IsOK(res3
)) {
29112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29117 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29120 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29133 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
= 0;
29135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 char * kwnames
[] = {
29145 (char *) "self",(char *) "col", NULL
29148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29150 if (!SWIG_IsOK(res1
)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29153 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29155 if (!SWIG_IsOK(ecode2
)) {
29156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29158 arg2
= static_cast< int >(val2
);
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_From_int(static_cast< int >(result
));
29172 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
= 0;
29174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 char * kwnames
[] = {
29188 (char *) "self",(char *) "col",(char *) "width", NULL
29191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29196 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29198 if (!SWIG_IsOK(ecode2
)) {
29199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29201 arg2
= static_cast< int >(val2
);
29202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29203 if (!SWIG_IsOK(ecode3
)) {
29204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29206 arg3
= static_cast< int >(val3
);
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 PyObject
*resultobj
= 0;
29224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29228 PyObject
*swig_obj
[1] ;
29230 if (!args
) SWIG_fail
;
29231 swig_obj
[0] = args
;
29232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29236 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_From_int(static_cast< int >(result
));
29250 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29251 PyObject
*resultobj
= 0;
29252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29256 PyObject
*swig_obj
[1] ;
29258 if (!args
) SWIG_fail
;
29259 swig_obj
[0] = args
;
29260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29264 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29278 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29279 PyObject
*resultobj
= 0;
29280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29281 wxTextCtrl
*result
= 0 ;
29284 PyObject
*swig_obj
[1] ;
29286 if (!args
) SWIG_fail
;
29287 swig_obj
[0] = args
;
29288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= wxPyMake_wxObject(result
, 0);
29308 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= 0;
29310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29312 int arg3
= (int) 0 ;
29313 wxListItem
*result
= 0 ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 PyObject
* obj2
= 0 ;
29323 char * kwnames
[] = {
29324 (char *) "self",(char *) "itemId",(char *) "col", NULL
29327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29332 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29333 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29334 if (!SWIG_IsOK(ecode2
)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29337 arg2
= static_cast< long >(val2
);
29339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29340 if (!SWIG_IsOK(ecode3
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29343 arg3
= static_cast< int >(val3
);
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29360 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
= 0;
29362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29363 wxListItem
*arg2
= 0 ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 char * kwnames
[] = {
29372 (char *) "self",(char *) "info", NULL
29375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29377 if (!SWIG_IsOK(res1
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29380 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29382 if (!SWIG_IsOK(res2
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29388 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 result
= (bool)(arg1
)->SetItem(*arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29404 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
= 0;
29406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29409 wxString
*arg4
= 0 ;
29410 int arg5
= (int) -1 ;
29418 bool temp4
= false ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 PyObject
* obj2
= 0 ;
29424 PyObject
* obj3
= 0 ;
29425 PyObject
* obj4
= 0 ;
29426 char * kwnames
[] = {
29427 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29435 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29436 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29437 if (!SWIG_IsOK(ecode2
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29440 arg2
= static_cast< long >(val2
);
29441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29442 if (!SWIG_IsOK(ecode3
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29445 arg3
= static_cast< int >(val3
);
29447 arg4
= wxString_in_helper(obj3
);
29448 if (arg4
== NULL
) SWIG_fail
;
29452 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29453 if (!SWIG_IsOK(ecode5
)) {
29454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29456 arg5
= static_cast< int >(val5
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_From_long(static_cast< long >(result
));
29479 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
= 0;
29481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29491 PyObject
* obj0
= 0 ;
29492 PyObject
* obj1
= 0 ;
29493 PyObject
* obj2
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29503 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29505 if (!SWIG_IsOK(ecode2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29508 arg2
= static_cast< long >(val2
);
29509 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29510 if (!SWIG_IsOK(ecode3
)) {
29511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29513 arg3
= static_cast< long >(val3
);
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_From_int(static_cast< int >(result
));
29527 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
= 0;
29529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 PyObject
* obj3
= 0 ;
29546 char * kwnames
[] = {
29547 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29557 if (!SWIG_IsOK(ecode2
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29560 arg2
= static_cast< long >(val2
);
29561 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29562 if (!SWIG_IsOK(ecode3
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29565 arg3
= static_cast< long >(val3
);
29566 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29567 if (!SWIG_IsOK(ecode4
)) {
29568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29570 arg4
= static_cast< long >(val4
);
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29586 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29591 int arg4
= (int) -1 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 PyObject
* obj2
= 0 ;
29604 PyObject
* obj3
= 0 ;
29605 char * kwnames
[] = {
29606 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29614 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29616 if (!SWIG_IsOK(ecode2
)) {
29617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29619 arg2
= static_cast< long >(val2
);
29620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29621 if (!SWIG_IsOK(ecode3
)) {
29622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29624 arg3
= static_cast< int >(val3
);
29626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29627 if (!SWIG_IsOK(ecode4
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29630 arg4
= static_cast< int >(val4
);
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29634 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29647 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 PyObject
* obj3
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29675 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29676 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29677 if (!SWIG_IsOK(ecode2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29680 arg2
= static_cast< long >(val2
);
29681 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29682 if (!SWIG_IsOK(ecode3
)) {
29683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29685 arg3
= static_cast< long >(val3
);
29686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29687 if (!SWIG_IsOK(ecode4
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29690 arg4
= static_cast< int >(val4
);
29692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29693 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29706 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29707 PyObject
*resultobj
= 0;
29708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 char * kwnames
[] = {
29718 (char *) "self",(char *) "item", NULL
29721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29723 if (!SWIG_IsOK(res1
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29726 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29727 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29728 if (!SWIG_IsOK(ecode2
)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29731 arg2
= static_cast< long >(val2
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29751 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29755 wxString
*arg3
= 0 ;
29760 bool temp3
= false ;
29761 PyObject
* obj0
= 0 ;
29762 PyObject
* obj1
= 0 ;
29763 PyObject
* obj2
= 0 ;
29764 char * kwnames
[] = {
29765 (char *) "self",(char *) "item",(char *) "str", NULL
29768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29773 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29774 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29775 if (!SWIG_IsOK(ecode2
)) {
29776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29778 arg2
= static_cast< long >(val2
);
29780 arg3
= wxString_in_helper(obj2
);
29781 if (arg3
== NULL
) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_Py_Void();
29805 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
= 0;
29807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 char * kwnames
[] = {
29817 (char *) "self",(char *) "item", NULL
29820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29822 if (!SWIG_IsOK(res1
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29826 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29827 if (!SWIG_IsOK(ecode2
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29830 arg2
= static_cast< long >(val2
);
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_From_long(static_cast< long >(result
));
29844 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 char * kwnames
[] = {
29860 (char *) "self",(char *) "item",(char *) "data", NULL
29863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29865 if (!SWIG_IsOK(res1
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29868 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29870 if (!SWIG_IsOK(ecode2
)) {
29871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29873 arg2
= static_cast< long >(val2
);
29874 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29875 if (!SWIG_IsOK(ecode3
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29878 arg3
= static_cast< long >(val3
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
= 0;
29896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 char * kwnames
[] = {
29906 (char *) "self",(char *) "item", NULL
29909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29911 if (!SWIG_IsOK(res1
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29914 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29916 if (!SWIG_IsOK(ecode2
)) {
29917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29919 arg2
= static_cast< long >(val2
);
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29933 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
= 0;
29935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29937 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 char * kwnames
[] = {
29949 (char *) "self",(char *) "item",(char *) "code", NULL
29952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29957 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29959 if (!SWIG_IsOK(ecode2
)) {
29960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29962 arg2
= static_cast< long >(val2
);
29964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29965 if (!SWIG_IsOK(ecode3
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29968 arg3
= static_cast< int >(val3
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29983 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
= 0;
29985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29987 wxPoint
*arg3
= 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 PyObject
* obj2
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "self",(char *) "item",(char *) "pos", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30007 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30008 if (!SWIG_IsOK(ecode2
)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30011 arg2
= static_cast< long >(val2
);
30014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30031 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30032 PyObject
*resultobj
= 0;
30033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30037 PyObject
*swig_obj
[1] ;
30039 if (!args
) SWIG_fail
;
30040 swig_obj
[0] = args
;
30041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30042 if (!SWIG_IsOK(res1
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30045 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_From_int(static_cast< int >(result
));
30059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30060 PyObject
*resultobj
= 0;
30061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 PyObject
*swig_obj
[1] ;
30067 if (!args
) SWIG_fail
;
30068 swig_obj
[0] = args
;
30069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_From_int(static_cast< int >(result
));
30087 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 PyObject
*resultobj
= 0;
30089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30093 PyObject
*swig_obj
[1] ;
30095 if (!args
) SWIG_fail
;
30096 swig_obj
[0] = args
;
30097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30101 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30115 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
= 0;
30117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30119 bool arg3
= (bool) false ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 char * kwnames
[] = {
30130 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30140 if (!SWIG_IsOK(ecode2
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30143 arg2
= static_cast< int >(val2
);
30145 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30146 if (!SWIG_IsOK(ecode3
)) {
30147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30149 arg3
= static_cast< bool >(val3
);
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetItemSpacing(arg2
,arg3
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_Py_Void();
30164 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 PyObject
*resultobj
= 0;
30166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30170 PyObject
*swig_obj
[1] ;
30172 if (!args
) SWIG_fail
;
30173 swig_obj
[0] = args
;
30174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_From_int(static_cast< int >(result
));
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30198 PyObject
*swig_obj
[1] ;
30200 if (!args
) SWIG_fail
;
30201 swig_obj
[0] = args
;
30202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30220 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= 0;
30222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30223 wxColour
*arg2
= 0 ;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 char * kwnames
[] = {
30230 (char *) "self",(char *) "col", NULL
30233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30235 if (!SWIG_IsOK(res1
)) {
30236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= SWIG_Py_Void();
30256 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30257 PyObject
*resultobj
= 0;
30258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30262 PyObject
*swig_obj
[1] ;
30264 if (!args
) SWIG_fail
;
30265 swig_obj
[0] = args
;
30266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30267 if (!SWIG_IsOK(res1
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30270 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= SWIG_From_long(static_cast< long >(result
));
30284 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
= 0;
30286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30288 bool arg3
= (bool) true ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 PyObject
* obj2
= 0 ;
30298 char * kwnames
[] = {
30299 (char *) "self",(char *) "style",(char *) "add", NULL
30302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30304 if (!SWIG_IsOK(res1
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30307 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30308 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30309 if (!SWIG_IsOK(ecode2
)) {
30310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30312 arg2
= static_cast< long >(val2
);
30314 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30315 if (!SWIG_IsOK(ecode3
)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30318 arg3
= static_cast< bool >(val3
);
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->SetSingleStyle(arg2
,arg3
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30337 int arg3
= (int) wxLIST_NEXT_ALL
;
30338 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 PyObject
* obj2
= 0 ;
30351 PyObject
* obj3
= 0 ;
30352 char * kwnames
[] = {
30353 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30358 if (!SWIG_IsOK(res1
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30361 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30362 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30363 if (!SWIG_IsOK(ecode2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30366 arg2
= static_cast< long >(val2
);
30368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30369 if (!SWIG_IsOK(ecode3
)) {
30370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30372 arg3
= static_cast< int >(val3
);
30375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30376 if (!SWIG_IsOK(ecode4
)) {
30377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30379 arg4
= static_cast< int >(val4
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_From_long(static_cast< long >(result
));
30394 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30398 wxImageList
*result
= 0 ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 char * kwnames
[] = {
30406 (char *) "self",(char *) "which", NULL
30409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30411 if (!SWIG_IsOK(res1
)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30416 if (!SWIG_IsOK(ecode2
)) {
30417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30419 arg2
= static_cast< int >(val2
);
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, 0 | 0 );
30433 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
= 0;
30435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30436 wxImageList
*arg2
= (wxImageList
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 PyObject
* obj2
= 0 ;
30447 char * kwnames
[] = {
30448 (char *) "self",(char *) "imageList",(char *) "which", NULL
30451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30453 if (!SWIG_IsOK(res1
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30456 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30458 if (!SWIG_IsOK(res2
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30461 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30463 if (!SWIG_IsOK(ecode3
)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30466 arg3
= static_cast< int >(val3
);
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 (arg1
)->SetImageList(arg2
,arg3
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_Py_Void();
30480 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30483 wxImageList
*arg2
= (wxImageList
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 PyObject
* obj2
= 0 ;
30493 char * kwnames
[] = {
30494 (char *) "self",(char *) "imageList",(char *) "which", NULL
30497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30502 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30503 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30504 if (!SWIG_IsOK(res2
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30508 if (!SWIG_IsOK(ecode3
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30511 arg3
= static_cast< int >(val3
);
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 (arg1
)->AssignImageList(arg2
,arg3
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= SWIG_Py_Void();
30525 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30526 PyObject
*resultobj
= 0;
30527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30531 PyObject
*swig_obj
[1] ;
30533 if (!args
) SWIG_fail
;
30534 swig_obj
[0] = args
;
30535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30536 if (!SWIG_IsOK(res1
)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30539 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30555 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30585 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
= 0;
30587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 char * kwnames
[] = {
30596 (char *) "self",(char *) "item", NULL
30599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30601 if (!SWIG_IsOK(res1
)) {
30602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30604 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30605 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30606 if (!SWIG_IsOK(ecode2
)) {
30607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30609 arg2
= static_cast< long >(val2
);
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 (arg1
)->RefreshItem(arg2
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_Py_Void();
30623 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30624 PyObject
*resultobj
= 0;
30625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 PyObject
* obj2
= 0 ;
30637 char * kwnames
[] = {
30638 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30646 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30647 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30648 if (!SWIG_IsOK(ecode2
)) {
30649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30651 arg2
= static_cast< long >(val2
);
30652 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30653 if (!SWIG_IsOK(ecode3
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30656 arg3
= static_cast< long >(val3
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 (arg1
)->RefreshItems(arg2
,arg3
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_Py_Void();
30670 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
= 0;
30672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30673 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char * kwnames
[] = {
30682 (char *) "self",(char *) "flag", NULL
30685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30693 if (!SWIG_IsOK(ecode2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30696 arg2
= static_cast< int >(val2
);
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 result
= (bool)(arg1
)->Arrange(arg2
);
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30713 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "item", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30735 if (!SWIG_IsOK(ecode2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30738 arg2
= static_cast< long >(val2
);
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (bool)(arg1
)->DeleteItem(arg2
);
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30754 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30768 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (bool)(arg1
)->DeleteAllItems();
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30784 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= 0;
30786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 char * kwnames
[] = {
30796 (char *) "self",(char *) "col", NULL
30799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30801 if (!SWIG_IsOK(res1
)) {
30802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30806 if (!SWIG_IsOK(ecode2
)) {
30807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30809 arg2
= static_cast< int >(val2
);
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30825 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30826 PyObject
*resultobj
= 0;
30827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30831 PyObject
*swig_obj
[1] ;
30833 if (!args
) SWIG_fail
;
30834 swig_obj
[0] = args
;
30835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30836 if (!SWIG_IsOK(res1
)) {
30837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30839 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (bool)(arg1
)->DeleteAllColumns();
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30860 PyObject
*swig_obj
[1] ;
30862 if (!args
) SWIG_fail
;
30863 swig_obj
[0] = args
;
30864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30865 if (!SWIG_IsOK(res1
)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30868 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 (arg1
)->ClearAll();
30872 wxPyEndAllowThreads(__tstate
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= SWIG_Py_Void();
30882 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
= 0;
30884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "item", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30903 if (!SWIG_IsOK(ecode2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30906 arg2
= static_cast< long >(val2
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 (arg1
)->EditLabel(arg2
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_Py_Void();
30920 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
= 0;
30922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30929 PyObject
* obj0
= 0 ;
30930 PyObject
* obj1
= 0 ;
30931 char * kwnames
[] = {
30932 (char *) "self",(char *) "item", NULL
30935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30937 if (!SWIG_IsOK(res1
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30940 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30942 if (!SWIG_IsOK(ecode2
)) {
30943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30945 arg2
= static_cast< long >(val2
);
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30961 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
= 0;
30963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30965 wxString
*arg3
= 0 ;
30966 bool arg4
= (bool) false ;
30972 bool temp3
= false ;
30975 PyObject
* obj0
= 0 ;
30976 PyObject
* obj1
= 0 ;
30977 PyObject
* obj2
= 0 ;
30978 PyObject
* obj3
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30990 if (!SWIG_IsOK(ecode2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30993 arg2
= static_cast< long >(val2
);
30995 arg3
= wxString_in_helper(obj2
);
30996 if (arg3
== NULL
) SWIG_fail
;
31000 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31001 if (!SWIG_IsOK(ecode4
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31004 arg4
= static_cast< bool >(val4
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_From_long(static_cast< long >(result
));
31027 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
= 0;
31029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31039 PyObject
* obj0
= 0 ;
31040 PyObject
* obj1
= 0 ;
31041 PyObject
* obj2
= 0 ;
31042 char * kwnames
[] = {
31043 (char *) "self",(char *) "start",(char *) "data", NULL
31046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31051 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31052 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31053 if (!SWIG_IsOK(ecode2
)) {
31054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31056 arg2
= static_cast< long >(val2
);
31057 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31058 if (!SWIG_IsOK(ecode3
)) {
31059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31061 arg3
= static_cast< long >(val3
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_From_long(static_cast< long >(result
));
31075 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31079 wxPoint
*arg3
= 0 ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 PyObject
* obj2
= 0 ;
31092 PyObject
* obj3
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31104 if (!SWIG_IsOK(ecode2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31107 arg2
= static_cast< long >(val2
);
31110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31113 if (!SWIG_IsOK(ecode4
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31116 arg4
= static_cast< int >(val4
);
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31123 resultobj
= SWIG_From_long(static_cast< long >(result
));
31130 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
= 0;
31132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31133 wxPoint
*arg2
= 0 ;
31140 int res3
= SWIG_TMPOBJ
;
31141 PyObject
* obj0
= 0 ;
31142 PyObject
* obj1
= 0 ;
31143 char * kwnames
[] = {
31144 (char *) "self",(char *) "point", NULL
31148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31153 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_From_long(static_cast< long >(result
));
31165 if (SWIG_IsTmpObj(res3
)) {
31166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31168 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31177 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
= 0;
31179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31180 wxPoint
*arg2
= 0 ;
31182 long *arg4
= (long *) 0 ;
31188 int res3
= SWIG_TMPOBJ
;
31190 int res4
= SWIG_TMPOBJ
;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 char * kwnames
[] = {
31194 (char *) "self",(char *) "point", NULL
31199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31204 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= SWIG_From_long(static_cast< long >(result
));
31216 if (SWIG_IsTmpObj(res3
)) {
31217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31222 if (SWIG_IsTmpObj(res4
)) {
31223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31225 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31234 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
= 0;
31236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31237 wxListItem
*arg2
= 0 ;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "self",(char *) "info", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31251 if (!SWIG_IsOK(res1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31256 if (!SWIG_IsOK(res2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31262 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 result
= (long)(arg1
)->InsertItem(*arg2
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= SWIG_From_long(static_cast< long >(result
));
31276 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
= 0;
31278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31280 wxString
*arg3
= 0 ;
31281 int arg4
= (int) -1 ;
31287 bool temp3
= false ;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 PyObject
* obj2
= 0 ;
31293 PyObject
* obj3
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31300 if (!SWIG_IsOK(res1
)) {
31301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31304 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31305 if (!SWIG_IsOK(ecode2
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31308 arg2
= static_cast< long >(val2
);
31310 arg3
= wxString_in_helper(obj2
);
31311 if (arg3
== NULL
) SWIG_fail
;
31315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31316 if (!SWIG_IsOK(ecode4
)) {
31317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31319 arg4
= static_cast< int >(val4
);
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_From_long(static_cast< long >(result
));
31342 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
= 0;
31344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 PyObject
* obj2
= 0 ;
31357 char * kwnames
[] = {
31358 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31363 if (!SWIG_IsOK(res1
)) {
31364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31366 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31367 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31368 if (!SWIG_IsOK(ecode2
)) {
31369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31371 arg2
= static_cast< long >(val2
);
31372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31373 if (!SWIG_IsOK(ecode3
)) {
31374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31376 arg3
= static_cast< int >(val3
);
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= SWIG_From_long(static_cast< long >(result
));
31390 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
= 0;
31392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31394 wxString
*arg3
= 0 ;
31401 bool temp3
= false ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 PyObject
* obj2
= 0 ;
31407 PyObject
* obj3
= 0 ;
31408 char * kwnames
[] = {
31409 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31414 if (!SWIG_IsOK(res1
)) {
31415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31417 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31419 if (!SWIG_IsOK(ecode2
)) {
31420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31422 arg2
= static_cast< long >(val2
);
31424 arg3
= wxString_in_helper(obj2
);
31425 if (arg3
== NULL
) SWIG_fail
;
31428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31429 if (!SWIG_IsOK(ecode4
)) {
31430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31432 arg4
= static_cast< int >(val4
);
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= SWIG_From_long(static_cast< long >(result
));
31454 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31458 wxListItem
*arg3
= 0 ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char * kwnames
[] = {
31470 (char *) "self",(char *) "col",(char *) "info", NULL
31473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31478 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31479 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31480 if (!SWIG_IsOK(ecode2
)) {
31481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31483 arg2
= static_cast< long >(val2
);
31484 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31485 if (!SWIG_IsOK(res3
)) {
31486 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31491 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= SWIG_From_long(static_cast< long >(result
));
31505 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
= 0;
31507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31509 wxString
*arg3
= 0 ;
31510 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31511 int arg5
= (int) -1 ;
31517 bool temp3
= false ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 PyObject
* obj3
= 0 ;
31526 PyObject
* obj4
= 0 ;
31527 char * kwnames
[] = {
31528 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31533 if (!SWIG_IsOK(res1
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31536 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31538 if (!SWIG_IsOK(ecode2
)) {
31539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31541 arg2
= static_cast< long >(val2
);
31543 arg3
= wxString_in_helper(obj2
);
31544 if (arg3
== NULL
) SWIG_fail
;
31548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31549 if (!SWIG_IsOK(ecode4
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31552 arg4
= static_cast< int >(val4
);
31555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31556 if (!SWIG_IsOK(ecode5
)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31559 arg5
= static_cast< int >(val5
);
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_From_long(static_cast< long >(result
));
31582 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
= 0;
31584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 char * kwnames
[] = {
31593 (char *) "self",(char *) "count", NULL
31596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) 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_SetItemCount" "', 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_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31606 arg2
= static_cast< long >(val2
);
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 (arg1
)->SetItemCount(arg2
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 resultobj
= SWIG_Py_Void();
31620 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
= 0;
31622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 char * kwnames
[] = {
31636 (char *) "self",(char *) "dx",(char *) "dy", NULL
31639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31641 if (!SWIG_IsOK(res1
)) {
31642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31646 if (!SWIG_IsOK(ecode2
)) {
31647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31649 arg2
= static_cast< int >(val2
);
31650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31651 if (!SWIG_IsOK(ecode3
)) {
31652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31654 arg3
= static_cast< int >(val3
);
31656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31657 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31670 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
= 0;
31672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31674 wxColour
*arg3
= 0 ;
31680 PyObject
* obj0
= 0 ;
31681 PyObject
* obj1
= 0 ;
31682 PyObject
* obj2
= 0 ;
31683 char * kwnames
[] = {
31684 (char *) "self",(char *) "item",(char *) "col", NULL
31687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31689 if (!SWIG_IsOK(res1
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31692 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31693 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31694 if (!SWIG_IsOK(ecode2
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31697 arg2
= static_cast< long >(val2
);
31700 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_Py_Void();
31715 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
= 0;
31717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 char * kwnames
[] = {
31727 (char *) "self",(char *) "item", NULL
31730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31732 if (!SWIG_IsOK(res1
)) {
31733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31736 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31737 if (!SWIG_IsOK(ecode2
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31740 arg2
= static_cast< long >(val2
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31754 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31758 wxColour
*arg3
= 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 PyObject
* obj2
= 0 ;
31767 char * kwnames
[] = {
31768 (char *) "self",(char *) "item",(char *) "col", NULL
31771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31773 if (!SWIG_IsOK(res1
)) {
31774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31776 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31777 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31778 if (!SWIG_IsOK(ecode2
)) {
31779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31781 arg2
= static_cast< long >(val2
);
31784 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_Py_Void();
31799 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 char * kwnames
[] = {
31811 (char *) "self",(char *) "item", NULL
31814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31816 if (!SWIG_IsOK(res1
)) {
31817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31819 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31821 if (!SWIG_IsOK(ecode2
)) {
31822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31824 arg2
= static_cast< long >(val2
);
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31838 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
= 0;
31840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 PyObject
* obj1
= 0 ;
31851 PyObject
* obj2
= 0 ;
31852 char * kwnames
[] = {
31853 (char *) "self",(char *) "item",(char *) "f", NULL
31856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31858 if (!SWIG_IsOK(res1
)) {
31859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31862 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31863 if (!SWIG_IsOK(ecode2
)) {
31864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31866 arg2
= static_cast< long >(val2
);
31867 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31868 if (!SWIG_IsOK(res3
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31874 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 resultobj
= SWIG_Py_Void();
31888 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
= 0;
31890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "self",(char *) "item", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31909 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31910 if (!SWIG_IsOK(ecode2
)) {
31911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31913 arg2
= static_cast< long >(val2
);
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31927 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
= 0;
31929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31930 PyObject
*arg2
= (PyObject
*) 0 ;
31934 PyObject
* obj0
= 0 ;
31935 PyObject
* obj1
= 0 ;
31936 char * kwnames
[] = {
31937 (char *) "self",(char *) "func", NULL
31940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31942 if (!SWIG_IsOK(res1
)) {
31943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31945 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31962 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31963 PyObject
*resultobj
= 0;
31964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31965 wxWindow
*result
= 0 ;
31968 PyObject
*swig_obj
[1] ;
31970 if (!args
) SWIG_fail
;
31971 swig_obj
[0] = args
;
31972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31973 if (!SWIG_IsOK(res1
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31976 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= wxPyMake_wxObject(result
, 0);
31992 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31995 SwigValueWrapper
<wxVisualAttributes
> result
;
31998 PyObject
* obj0
= 0 ;
31999 char * kwnames
[] = {
32000 (char *) "variant", NULL
32003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32006 if (!SWIG_IsOK(ecode1
)) {
32007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32009 arg1
= static_cast< wxWindowVariant
>(val1
);
32012 if (!wxPyCheckForApp()) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32025 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32029 return SWIG_Py_Void();
32032 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32033 return SWIG_Python_InitShadowInstance(args
);
32036 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= 0;
32038 wxWindow
*arg1
= (wxWindow
*) 0 ;
32039 int arg2
= (int) -1 ;
32040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32044 long arg5
= (long) wxLC_REPORT
;
32045 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32046 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32047 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32049 wxListView
*result
= 0 ;
32060 bool temp7
= false ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 PyObject
* obj2
= 0 ;
32064 PyObject
* obj3
= 0 ;
32065 PyObject
* obj4
= 0 ;
32066 PyObject
* obj5
= 0 ;
32067 PyObject
* obj6
= 0 ;
32068 char * kwnames
[] = {
32069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32080 if (!SWIG_IsOK(ecode2
)) {
32081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32083 arg2
= static_cast< int >(val2
);
32088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32098 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32099 if (!SWIG_IsOK(ecode5
)) {
32100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32102 arg5
= static_cast< long >(val5
);
32105 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32106 if (!SWIG_IsOK(res6
)) {
32107 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32112 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32116 arg7
= wxString_in_helper(obj6
);
32117 if (arg7
== NULL
) SWIG_fail
;
32122 if (!wxPyCheckForApp()) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32143 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32144 PyObject
*resultobj
= 0;
32145 wxListView
*result
= 0 ;
32147 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32149 if (!wxPyCheckForApp()) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (wxListView
*)new wxListView();
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32162 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32163 PyObject
*resultobj
= 0;
32164 wxListView
*arg1
= (wxListView
*) 0 ;
32165 wxWindow
*arg2
= (wxWindow
*) 0 ;
32166 int arg3
= (int) -1 ;
32167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32171 long arg6
= (long) wxLC_REPORT
;
32172 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32173 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32174 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32175 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32189 bool temp8
= false ;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 PyObject
* obj2
= 0 ;
32193 PyObject
* obj3
= 0 ;
32194 PyObject
* obj4
= 0 ;
32195 PyObject
* obj5
= 0 ;
32196 PyObject
* obj6
= 0 ;
32197 PyObject
* obj7
= 0 ;
32198 char * kwnames
[] = {
32199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32204 if (!SWIG_IsOK(res1
)) {
32205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32207 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32209 if (!SWIG_IsOK(res2
)) {
32210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32215 if (!SWIG_IsOK(ecode3
)) {
32216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32218 arg3
= static_cast< int >(val3
);
32223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32234 if (!SWIG_IsOK(ecode6
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32237 arg6
= static_cast< long >(val6
);
32240 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32241 if (!SWIG_IsOK(res7
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32247 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32251 arg8
= wxString_in_helper(obj7
);
32252 if (arg8
== NULL
) SWIG_fail
;
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32279 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
= 0;
32281 wxListView
*arg1
= (wxListView
*) 0 ;
32283 bool arg3
= (bool) true ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 PyObject
* obj2
= 0 ;
32293 char * kwnames
[] = {
32294 (char *) "self",(char *) "n",(char *) "on", NULL
32297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32299 if (!SWIG_IsOK(res1
)) {
32300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32302 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32303 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32304 if (!SWIG_IsOK(ecode2
)) {
32305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32307 arg2
= static_cast< long >(val2
);
32309 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32310 if (!SWIG_IsOK(ecode3
)) {
32311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32313 arg3
= static_cast< bool >(val3
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 (arg1
)->Select(arg2
,arg3
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_Py_Void();
32328 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxListView
*arg1
= (wxListView
*) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char * kwnames
[] = {
32339 (char *) "self",(char *) "index", NULL
32342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32347 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32348 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32349 if (!SWIG_IsOK(ecode2
)) {
32350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32352 arg2
= static_cast< long >(val2
);
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 (arg1
)->Focus(arg2
);
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_Py_Void();
32366 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32367 PyObject
*resultobj
= 0;
32368 wxListView
*arg1
= (wxListView
*) 0 ;
32372 PyObject
*swig_obj
[1] ;
32374 if (!args
) SWIG_fail
;
32375 swig_obj
[0] = args
;
32376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32377 if (!SWIG_IsOK(res1
)) {
32378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32380 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_From_long(static_cast< long >(result
));
32394 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
= 0;
32396 wxListView
*arg1
= (wxListView
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 char * kwnames
[] = {
32406 (char *) "self",(char *) "item", NULL
32409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32411 if (!SWIG_IsOK(res1
)) {
32412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32414 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32415 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32416 if (!SWIG_IsOK(ecode2
)) {
32417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32419 arg2
= static_cast< long >(val2
);
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= SWIG_From_long(static_cast< long >(result
));
32433 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32434 PyObject
*resultobj
= 0;
32435 wxListView
*arg1
= (wxListView
*) 0 ;
32439 PyObject
*swig_obj
[1] ;
32441 if (!args
) SWIG_fail
;
32442 swig_obj
[0] = args
;
32443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32444 if (!SWIG_IsOK(res1
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32447 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= SWIG_From_long(static_cast< long >(result
));
32461 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
= 0;
32463 wxListView
*arg1
= (wxListView
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "index", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32481 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32482 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32483 if (!SWIG_IsOK(ecode2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32486 arg2
= static_cast< long >(val2
);
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= (bool)(arg1
)->IsSelected(arg2
);
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32502 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxListView
*arg1
= (wxListView
*) 0 ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 PyObject
* obj2
= 0 ;
32516 char * kwnames
[] = {
32517 (char *) "self",(char *) "col",(char *) "image", NULL
32520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32522 if (!SWIG_IsOK(res1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32525 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32527 if (!SWIG_IsOK(ecode2
)) {
32528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32530 arg2
= static_cast< int >(val2
);
32531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32532 if (!SWIG_IsOK(ecode3
)) {
32533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32535 arg3
= static_cast< int >(val3
);
32537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32538 (arg1
)->SetColumnImage(arg2
,arg3
);
32539 wxPyEndAllowThreads(__tstate
);
32540 if (PyErr_Occurred()) SWIG_fail
;
32542 resultobj
= SWIG_Py_Void();
32549 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
= 0;
32551 wxListView
*arg1
= (wxListView
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char * kwnames
[] = {
32560 (char *) "self",(char *) "col", NULL
32563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32568 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32570 if (!SWIG_IsOK(ecode2
)) {
32571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32573 arg2
= static_cast< int >(val2
);
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 (arg1
)->ClearColumnImage(arg2
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= SWIG_Py_Void();
32587 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32590 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32591 return SWIG_Py_Void();
32594 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32595 return SWIG_Python_InitShadowInstance(args
);
32598 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32599 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32604 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32605 PyObject
*pyobj
= 0;
32609 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32611 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32618 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32619 PyObject
*resultobj
= 0;
32620 wxTreeItemId
*result
= 0 ;
32622 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= (wxTreeItemId
*)new wxTreeItemId();
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32636 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32638 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32641 PyObject
*swig_obj
[1] ;
32643 if (!args
) SWIG_fail
;
32644 swig_obj
[0] = args
;
32645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32646 if (!SWIG_IsOK(res1
)) {
32647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32649 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= SWIG_Py_Void();
32664 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32665 PyObject
*resultobj
= 0;
32666 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32670 PyObject
*swig_obj
[1] ;
32672 if (!args
) SWIG_fail
;
32673 swig_obj
[0] = args
;
32674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32675 if (!SWIG_IsOK(res1
)) {
32676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32678 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32694 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32697 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32703 PyObject
* obj0
= 0 ;
32704 PyObject
* obj1
= 0 ;
32705 char * kwnames
[] = {
32706 (char *) "self",(char *) "other", NULL
32709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32711 if (!SWIG_IsOK(res1
)) {
32712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32714 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32716 if (!SWIG_IsOK(res2
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32735 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
= 0;
32737 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32738 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32744 PyObject
* obj0
= 0 ;
32745 PyObject
* obj1
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "other", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32755 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32757 if (!SWIG_IsOK(res2
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32776 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32777 PyObject
*resultobj
= 0;
32778 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32779 void *arg2
= (void *) 0 ;
32783 PyObject
*swig_obj
[2] ;
32785 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32787 if (!SWIG_IsOK(res1
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32790 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32791 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32792 if (!SWIG_IsOK(res2
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32795 if (arg1
) (arg1
)->m_pItem
= arg2
;
32797 resultobj
= SWIG_Py_Void();
32804 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32805 PyObject
*resultobj
= 0;
32806 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32810 PyObject
*swig_obj
[1] ;
32812 if (!args
) SWIG_fail
;
32813 swig_obj
[0] = args
;
32814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32815 if (!SWIG_IsOK(res1
)) {
32816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32818 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32819 result
= (void *) ((arg1
)->m_pItem
);
32820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32827 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32830 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32831 return SWIG_Py_Void();
32834 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 return SWIG_Python_InitShadowInstance(args
);
32838 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
= 0;
32840 PyObject
*arg1
= (PyObject
*) NULL
;
32841 wxPyTreeItemData
*result
= 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char * kwnames
[] = {
32844 (char *) "obj", NULL
32847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32864 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32865 PyObject
*resultobj
= 0;
32866 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32869 PyObject
*swig_obj
[1] ;
32871 if (!args
) SWIG_fail
;
32872 swig_obj
[0] = args
;
32873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32877 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= SWIG_Py_Void();
32892 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32893 PyObject
*resultobj
= 0;
32894 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32895 PyObject
*result
= 0 ;
32898 PyObject
*swig_obj
[1] ;
32900 if (!args
) SWIG_fail
;
32901 swig_obj
[0] = args
;
32902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32903 if (!SWIG_IsOK(res1
)) {
32904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32906 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32909 result
= (PyObject
*)(arg1
)->GetData();
32910 wxPyEndAllowThreads(__tstate
);
32911 if (PyErr_Occurred()) SWIG_fail
;
32913 resultobj
= result
;
32920 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32921 PyObject
*resultobj
= 0;
32922 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32923 PyObject
*arg2
= (PyObject
*) 0 ;
32926 PyObject
* obj0
= 0 ;
32927 PyObject
* obj1
= 0 ;
32928 char * kwnames
[] = {
32929 (char *) "self",(char *) "obj", NULL
32932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32934 if (!SWIG_IsOK(res1
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32937 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32941 (arg1
)->SetData(arg2
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= SWIG_Py_Void();
32952 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32953 PyObject
*resultobj
= 0;
32954 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32955 wxTreeItemId
*result
= 0 ;
32958 PyObject
*swig_obj
[1] ;
32960 if (!args
) SWIG_fail
;
32961 swig_obj
[0] = args
;
32962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32963 if (!SWIG_IsOK(res1
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32966 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32971 result
= (wxTreeItemId
*) &_result_ref
;
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32983 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
= 0;
32985 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32986 wxTreeItemId
*arg2
= 0 ;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char * kwnames
[] = {
32994 (char *) "self",(char *) "id", NULL
32997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",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_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33002 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33004 if (!SWIG_IsOK(res2
)) {
33005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33010 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_Py_Void();
33024 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33025 PyObject
*resultobj
= 0;
33026 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33029 PyObject
*swig_obj
[1] ;
33031 if (!args
) SWIG_fail
;
33032 swig_obj
[0] = args
;
33033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33037 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 wxPyTreeItemData_Destroy(arg1
);
33041 wxPyEndAllowThreads(__tstate
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= SWIG_Py_Void();
33051 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33055 return SWIG_Py_Void();
33058 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 return SWIG_Python_InitShadowInstance(args
);
33062 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33065 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33066 if (!SWIG_IsOK(res
)) {
33067 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33072 wxTreeItemId
* temp
;
33073 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33074 wxNullTreeItemId
= *temp
;
33075 if (SWIG_IsNewObj(res
)) delete temp
;
33084 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33085 PyObject
*pyobj
= 0;
33087 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33092 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33093 PyObject
*resultobj
= 0;
33094 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33095 int arg2
= (int) 0 ;
33096 wxTreeEvent
*result
= 0 ;
33102 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33104 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33105 if (!SWIG_IsOK(ecode1
)) {
33106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33108 arg1
= static_cast< wxEventType
>(val1
);
33111 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33112 if (!SWIG_IsOK(ecode2
)) {
33113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33115 arg2
= static_cast< int >(val2
);
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33130 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33131 PyObject
*resultobj
= 0;
33133 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33134 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33135 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33136 wxTreeEvent
*result
= 0 ;
33144 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33145 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33146 if (!SWIG_IsOK(ecode1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33149 arg1
= static_cast< wxEventType
>(val1
);
33150 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33151 if (!SWIG_IsOK(res2
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33154 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33156 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33157 if (!SWIG_IsOK(res3
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33163 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33178 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33182 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33184 if ((argc
>= 0) && (argc
<= 2)) {
33189 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33190 _v
= SWIG_CheckState(res
);
33193 if (!_v
) goto check_1
;
33195 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33199 if ((argc
>= 2) && (argc
<= 3)) {
33200 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33204 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33209 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33210 PyObject
*resultobj
= 0;
33211 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33212 wxTreeItemId result
;
33215 PyObject
*swig_obj
[1] ;
33217 if (!args
) SWIG_fail
;
33218 swig_obj
[0] = args
;
33219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33220 if (!SWIG_IsOK(res1
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33223 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33237 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
= 0;
33239 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33240 wxTreeItemId
*arg2
= 0 ;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 char * kwnames
[] = {
33248 (char *) "self",(char *) "item", NULL
33251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33253 if (!SWIG_IsOK(res1
)) {
33254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33256 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33258 if (!SWIG_IsOK(res2
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33264 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_Py_Void();
33278 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33281 wxTreeItemId result
;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33292 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33306 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33309 wxTreeItemId
*arg2
= 0 ;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char * kwnames
[] = {
33317 (char *) "self",(char *) "item", NULL
33320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33325 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33327 if (!SWIG_IsOK(res2
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33333 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_Py_Void();
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33353 PyObject
*swig_obj
[1] ;
33355 if (!args
) SWIG_fail
;
33356 swig_obj
[0] = args
;
33357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33358 if (!SWIG_IsOK(res1
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33361 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33368 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33375 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33378 wxPoint
*arg2
= 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "pt", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33393 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= SWIG_Py_Void();
33411 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33412 PyObject
*resultobj
= 0;
33413 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33414 wxKeyEvent
*result
= 0 ;
33417 PyObject
*swig_obj
[1] ;
33419 if (!args
) SWIG_fail
;
33420 swig_obj
[0] = args
;
33421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33422 if (!SWIG_IsOK(res1
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33425 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33430 result
= (wxKeyEvent
*) &_result_ref
;
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33442 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33443 PyObject
*resultobj
= 0;
33444 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33456 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_From_int(static_cast< int >(result
));
33470 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
= 0;
33472 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33473 wxKeyEvent
*arg2
= 0 ;
33478 PyObject
* obj0
= 0 ;
33479 PyObject
* obj1
= 0 ;
33480 char * kwnames
[] = {
33481 (char *) "self",(char *) "evt", NULL
33484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33486 if (!SWIG_IsOK(res1
)) {
33487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33489 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33491 if (!SWIG_IsOK(res2
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33497 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= SWIG_Py_Void();
33511 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33512 PyObject
*resultobj
= 0;
33513 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33514 wxString
*result
= 0 ;
33517 PyObject
*swig_obj
[1] ;
33519 if (!args
) SWIG_fail
;
33520 swig_obj
[0] = args
;
33521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33525 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33530 result
= (wxString
*) &_result_ref
;
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33537 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33539 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33548 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
= 0;
33550 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33551 wxString
*arg2
= 0 ;
33554 bool temp2
= false ;
33555 PyObject
* obj0
= 0 ;
33556 PyObject
* obj1
= 0 ;
33557 char * kwnames
[] = {
33558 (char *) "self",(char *) "label", NULL
33561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33563 if (!SWIG_IsOK(res1
)) {
33564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33566 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33568 arg2
= wxString_in_helper(obj1
);
33569 if (arg2
== NULL
) SWIG_fail
;
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 (arg1
)->SetLabel((wxString
const &)*arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= SWIG_Py_Void();
33593 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33594 PyObject
*resultobj
= 0;
33595 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33599 PyObject
*swig_obj
[1] ;
33601 if (!args
) SWIG_fail
;
33602 swig_obj
[0] = args
;
33603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33607 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33623 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
= 0;
33625 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33631 PyObject
* obj0
= 0 ;
33632 PyObject
* obj1
= 0 ;
33633 char * kwnames
[] = {
33634 (char *) "self",(char *) "editCancelled", NULL
33637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33639 if (!SWIG_IsOK(res1
)) {
33640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33642 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33644 if (!SWIG_IsOK(ecode2
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33647 arg2
= static_cast< bool >(val2
);
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 (arg1
)->SetEditCanceled(arg2
);
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33654 resultobj
= SWIG_Py_Void();
33661 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33662 PyObject
*resultobj
= 0;
33663 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33664 wxString
*arg2
= 0 ;
33667 bool temp2
= false ;
33668 PyObject
* obj0
= 0 ;
33669 PyObject
* obj1
= 0 ;
33670 char * kwnames
[] = {
33671 (char *) "self",(char *) "toolTip", NULL
33674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33679 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33681 arg2
= wxString_in_helper(obj1
);
33682 if (arg2
== NULL
) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 resultobj
= SWIG_Py_Void();
33706 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33707 PyObject
*resultobj
= 0;
33708 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33712 PyObject
*swig_obj
[1] ;
33714 if (!args
) SWIG_fail
;
33715 swig_obj
[0] = args
;
33716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33720 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 result
= (arg1
)->GetToolTip();
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33740 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33743 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33744 return SWIG_Py_Void();
33747 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33748 return SWIG_Python_InitShadowInstance(args
);
33751 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxWindow
*arg1
= (wxWindow
*) 0 ;
33754 int arg2
= (int) -1 ;
33755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33759 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33760 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33761 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33762 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33763 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33764 wxPyTreeCtrl
*result
= 0 ;
33775 bool temp7
= false ;
33776 PyObject
* obj0
= 0 ;
33777 PyObject
* obj1
= 0 ;
33778 PyObject
* obj2
= 0 ;
33779 PyObject
* obj3
= 0 ;
33780 PyObject
* obj4
= 0 ;
33781 PyObject
* obj5
= 0 ;
33782 PyObject
* obj6
= 0 ;
33783 char * kwnames
[] = {
33784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33789 if (!SWIG_IsOK(res1
)) {
33790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33795 if (!SWIG_IsOK(ecode2
)) {
33796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33798 arg2
= static_cast< int >(val2
);
33803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33813 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33814 if (!SWIG_IsOK(ecode5
)) {
33815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33817 arg5
= static_cast< long >(val5
);
33820 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33821 if (!SWIG_IsOK(res6
)) {
33822 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33827 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33831 arg7
= wxString_in_helper(obj6
);
33832 if (arg7
== NULL
) SWIG_fail
;
33837 if (!wxPyCheckForApp()) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33840 wxPyEndAllowThreads(__tstate
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33858 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33859 PyObject
*resultobj
= 0;
33860 wxPyTreeCtrl
*result
= 0 ;
33862 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33864 if (!wxPyCheckForApp()) SWIG_fail
;
33865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33866 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33877 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
= 0;
33879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33880 wxWindow
*arg2
= (wxWindow
*) 0 ;
33881 int arg3
= (int) -1 ;
33882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33886 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33887 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33888 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33889 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33890 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33904 bool temp8
= false ;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 PyObject
* obj2
= 0 ;
33908 PyObject
* obj3
= 0 ;
33909 PyObject
* obj4
= 0 ;
33910 PyObject
* obj5
= 0 ;
33911 PyObject
* obj6
= 0 ;
33912 PyObject
* obj7
= 0 ;
33913 char * kwnames
[] = {
33914 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33919 if (!SWIG_IsOK(res1
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33924 if (!SWIG_IsOK(res2
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33927 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33930 if (!SWIG_IsOK(ecode3
)) {
33931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33933 arg3
= static_cast< int >(val3
);
33938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33948 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33949 if (!SWIG_IsOK(ecode6
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33952 arg6
= static_cast< long >(val6
);
33955 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33956 if (!SWIG_IsOK(res7
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33962 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33966 arg8
= wxString_in_helper(obj7
);
33967 if (arg8
== NULL
) SWIG_fail
;
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33994 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33995 PyObject
*resultobj
= 0;
33996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33997 PyObject
*arg2
= (PyObject
*) 0 ;
33998 PyObject
*arg3
= (PyObject
*) 0 ;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 PyObject
* obj2
= 0 ;
34004 char * kwnames
[] = {
34005 (char *) "self",(char *) "self",(char *) "_class", NULL
34008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34010 if (!SWIG_IsOK(res1
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34030 PyObject
*resultobj
= 0;
34031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34032 unsigned int result
;
34035 PyObject
*swig_obj
[1] ;
34037 if (!args
) SWIG_fail
;
34038 swig_obj
[0] = args
;
34039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34043 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34050 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34057 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 PyObject
*resultobj
= 0;
34059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34060 unsigned int result
;
34063 PyObject
*swig_obj
[1] ;
34065 if (!args
) SWIG_fail
;
34066 swig_obj
[0] = args
;
34067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34085 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34086 PyObject
*resultobj
= 0;
34087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34088 unsigned int arg2
;
34091 unsigned int val2
;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 char * kwnames
[] = {
34096 (char *) "self",(char *) "indent", NULL
34099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34101 if (!SWIG_IsOK(res1
)) {
34102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34104 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34105 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34106 if (!SWIG_IsOK(ecode2
)) {
34107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34109 arg2
= static_cast< unsigned int >(val2
);
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 (arg1
)->SetIndent(arg2
);
34113 wxPyEndAllowThreads(__tstate
);
34114 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= SWIG_Py_Void();
34123 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34124 PyObject
*resultobj
= 0;
34125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34126 unsigned int result
;
34129 PyObject
*swig_obj
[1] ;
34131 if (!args
) SWIG_fail
;
34132 swig_obj
[0] = args
;
34133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34134 if (!SWIG_IsOK(res1
)) {
34135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34137 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34141 wxPyEndAllowThreads(__tstate
);
34142 if (PyErr_Occurred()) SWIG_fail
;
34144 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34151 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
= 0;
34153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34154 unsigned int arg2
;
34157 unsigned int val2
;
34159 PyObject
* obj0
= 0 ;
34160 PyObject
* obj1
= 0 ;
34161 char * kwnames
[] = {
34162 (char *) "self",(char *) "spacing", NULL
34165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34167 if (!SWIG_IsOK(res1
)) {
34168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34171 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34172 if (!SWIG_IsOK(ecode2
)) {
34173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34175 arg2
= static_cast< unsigned int >(val2
);
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->SetSpacing(arg2
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= SWIG_Py_Void();
34189 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34190 PyObject
*resultobj
= 0;
34191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34192 wxImageList
*result
= 0 ;
34195 PyObject
*swig_obj
[1] ;
34197 if (!args
) SWIG_fail
;
34198 swig_obj
[0] = args
;
34199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34200 if (!SWIG_IsOK(res1
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34207 wxPyEndAllowThreads(__tstate
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, 0 | 0 );
34217 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34218 PyObject
*resultobj
= 0;
34219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34220 wxImageList
*result
= 0 ;
34223 PyObject
*swig_obj
[1] ;
34225 if (!args
) SWIG_fail
;
34226 swig_obj
[0] = args
;
34227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34228 if (!SWIG_IsOK(res1
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, 0 | 0 );
34245 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
= 0;
34247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34248 wxImageList
*arg2
= (wxImageList
*) 0 ;
34253 PyObject
* obj0
= 0 ;
34254 PyObject
* obj1
= 0 ;
34255 char * kwnames
[] = {
34256 (char *) "self",(char *) "imageList", NULL
34259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34261 if (!SWIG_IsOK(res1
)) {
34262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34266 if (!SWIG_IsOK(res2
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34269 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 (arg1
)->SetImageList(arg2
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= SWIG_Py_Void();
34283 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34284 PyObject
*resultobj
= 0;
34285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34286 wxImageList
*arg2
= (wxImageList
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 PyObject
* obj1
= 0 ;
34293 char * kwnames
[] = {
34294 (char *) "self",(char *) "imageList", NULL
34297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34304 if (!SWIG_IsOK(res2
)) {
34305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34307 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34310 (arg1
)->SetStateImageList(arg2
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34314 resultobj
= SWIG_Py_Void();
34321 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34322 PyObject
*resultobj
= 0;
34323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34324 wxImageList
*arg2
= (wxImageList
*) 0 ;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 char * kwnames
[] = {
34331 (char *) "self",(char *) "imageList", NULL
34334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34336 if (!SWIG_IsOK(res1
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34340 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34341 if (!SWIG_IsOK(res2
)) {
34342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34346 (arg1
)->AssignImageList(arg2
);
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34350 resultobj
= SWIG_Py_Void();
34357 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
= 0;
34359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34360 wxImageList
*arg2
= (wxImageList
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 char * kwnames
[] = {
34367 (char *) "self",(char *) "imageList", NULL
34370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34372 if (!SWIG_IsOK(res1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34376 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34377 if (!SWIG_IsOK(res2
)) {
34378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 (arg1
)->AssignStateImageList(arg2
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= SWIG_Py_Void();
34393 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
= 0;
34395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34396 wxTreeItemId
*arg2
= 0 ;
34402 PyObject
* obj0
= 0 ;
34403 PyObject
* obj1
= 0 ;
34404 char * kwnames
[] = {
34405 (char *) "self",(char *) "item", NULL
34408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34410 if (!SWIG_IsOK(res1
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34413 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34415 if (!SWIG_IsOK(res2
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34421 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34425 wxPyEndAllowThreads(__tstate
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34441 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
= 0;
34443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34444 wxTreeItemId
*arg2
= 0 ;
34445 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 PyObject
* obj2
= 0 ;
34456 char * kwnames
[] = {
34457 (char *) "self",(char *) "item",(char *) "which", NULL
34460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34462 if (!SWIG_IsOK(res1
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34465 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34467 if (!SWIG_IsOK(res2
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34473 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34476 if (!SWIG_IsOK(ecode3
)) {
34477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34479 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34487 resultobj
= SWIG_From_int(static_cast< int >(result
));
34494 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34495 PyObject
*resultobj
= 0;
34496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34497 wxTreeItemId
*arg2
= 0 ;
34498 wxPyTreeItemData
*result
= 0 ;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj1
= 0 ;
34505 char * kwnames
[] = {
34506 (char *) "self",(char *) "item", NULL
34509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34511 if (!SWIG_IsOK(res1
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34516 if (!SWIG_IsOK(res2
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34536 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34537 PyObject
*resultobj
= 0;
34538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34539 wxTreeItemId
*arg2
= 0 ;
34540 PyObject
*result
= 0 ;
34545 PyObject
* obj0
= 0 ;
34546 PyObject
* obj1
= 0 ;
34547 char * kwnames
[] = {
34548 (char *) "self",(char *) "item", NULL
34551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34553 if (!SWIG_IsOK(res1
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34558 if (!SWIG_IsOK(res2
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34564 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34567 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= result
;
34578 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
= 0;
34580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34581 wxTreeItemId
*arg2
= 0 ;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 char * kwnames
[] = {
34590 (char *) "self",(char *) "item", NULL
34593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34595 if (!SWIG_IsOK(res1
)) {
34596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34598 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34600 if (!SWIG_IsOK(res2
)) {
34601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34606 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34620 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
= 0;
34622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34623 wxTreeItemId
*arg2
= 0 ;
34629 PyObject
* obj0
= 0 ;
34630 PyObject
* obj1
= 0 ;
34631 char * kwnames
[] = {
34632 (char *) "self",(char *) "item", NULL
34635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34637 if (!SWIG_IsOK(res1
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34640 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34642 if (!SWIG_IsOK(res2
)) {
34643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34648 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34662 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
= 0;
34664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34665 wxTreeItemId
*arg2
= 0 ;
34671 PyObject
* obj0
= 0 ;
34672 PyObject
* obj1
= 0 ;
34673 char * kwnames
[] = {
34674 (char *) "self",(char *) "item", NULL
34677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34679 if (!SWIG_IsOK(res1
)) {
34680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34684 if (!SWIG_IsOK(res2
)) {
34685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34690 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34697 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34704 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
= 0;
34706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34707 wxTreeItemId
*arg2
= 0 ;
34708 wxString
*arg3
= 0 ;
34713 bool temp3
= false ;
34714 PyObject
* obj0
= 0 ;
34715 PyObject
* obj1
= 0 ;
34716 PyObject
* obj2
= 0 ;
34717 char * kwnames
[] = {
34718 (char *) "self",(char *) "item",(char *) "text", NULL
34721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34728 if (!SWIG_IsOK(res2
)) {
34729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34736 arg3
= wxString_in_helper(obj2
);
34737 if (arg3
== NULL
) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= SWIG_Py_Void();
34761 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34764 wxTreeItemId
*arg2
= 0 ;
34766 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34775 PyObject
* obj0
= 0 ;
34776 PyObject
* obj1
= 0 ;
34777 PyObject
* obj2
= 0 ;
34778 PyObject
* obj3
= 0 ;
34779 char * kwnames
[] = {
34780 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34785 if (!SWIG_IsOK(res1
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34788 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34790 if (!SWIG_IsOK(res2
)) {
34791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34796 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34798 if (!SWIG_IsOK(ecode3
)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34801 arg3
= static_cast< int >(val3
);
34803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34804 if (!SWIG_IsOK(ecode4
)) {
34805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34807 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= SWIG_Py_Void();
34822 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
= 0;
34824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34825 wxTreeItemId
*arg2
= 0 ;
34826 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 char * kwnames
[] = {
34836 (char *) "self",(char *) "item",(char *) "data", NULL
34839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34841 if (!SWIG_IsOK(res1
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34844 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34846 if (!SWIG_IsOK(res2
)) {
34847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34853 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34854 if (!SWIG_IsOK(res3
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= SWIG_Py_Void();
34870 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
= 0;
34872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34873 wxTreeItemId
*arg2
= 0 ;
34874 PyObject
*arg3
= (PyObject
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 PyObject
* obj1
= 0 ;
34881 PyObject
* obj2
= 0 ;
34882 char * kwnames
[] = {
34883 (char *) "self",(char *) "item",(char *) "obj", NULL
34886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34888 if (!SWIG_IsOK(res1
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34891 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34893 if (!SWIG_IsOK(res2
)) {
34894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34899 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 resultobj
= SWIG_Py_Void();
34914 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
= 0;
34916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34917 wxTreeItemId
*arg2
= 0 ;
34918 bool arg3
= (bool) true ;
34925 PyObject
* obj0
= 0 ;
34926 PyObject
* obj1
= 0 ;
34927 PyObject
* obj2
= 0 ;
34928 char * kwnames
[] = {
34929 (char *) "self",(char *) "item",(char *) "has", NULL
34932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34934 if (!SWIG_IsOK(res1
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34937 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34939 if (!SWIG_IsOK(res2
)) {
34940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34945 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34947 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34948 if (!SWIG_IsOK(ecode3
)) {
34949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34951 arg3
= static_cast< bool >(val3
);
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34956 wxPyEndAllowThreads(__tstate
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34959 resultobj
= SWIG_Py_Void();
34966 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34967 PyObject
*resultobj
= 0;
34968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34969 wxTreeItemId
*arg2
= 0 ;
34970 bool arg3
= (bool) true ;
34977 PyObject
* obj0
= 0 ;
34978 PyObject
* obj1
= 0 ;
34979 PyObject
* obj2
= 0 ;
34980 char * kwnames
[] = {
34981 (char *) "self",(char *) "item",(char *) "bold", NULL
34984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34989 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34991 if (!SWIG_IsOK(res2
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34997 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34999 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35000 if (!SWIG_IsOK(ecode3
)) {
35001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35003 arg3
= static_cast< bool >(val3
);
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_Py_Void();
35018 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
= 0;
35020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35021 wxTreeItemId
*arg2
= 0 ;
35022 bool arg3
= (bool) true ;
35029 PyObject
* obj0
= 0 ;
35030 PyObject
* obj1
= 0 ;
35031 PyObject
* obj2
= 0 ;
35032 char * kwnames
[] = {
35033 (char *) "self",(char *) "item",(char *) "highlight", NULL
35036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35038 if (!SWIG_IsOK(res1
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35041 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35043 if (!SWIG_IsOK(res2
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35049 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35051 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35052 if (!SWIG_IsOK(ecode3
)) {
35053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35055 arg3
= static_cast< bool >(val3
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_Py_Void();
35070 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
= 0;
35072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35073 wxTreeItemId
*arg2
= 0 ;
35074 wxColour
*arg3
= 0 ;
35080 PyObject
* obj0
= 0 ;
35081 PyObject
* obj1
= 0 ;
35082 PyObject
* obj2
= 0 ;
35083 char * kwnames
[] = {
35084 (char *) "self",(char *) "item",(char *) "col", NULL
35087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35094 if (!SWIG_IsOK(res2
)) {
35095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35100 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35103 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35107 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35108 wxPyEndAllowThreads(__tstate
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35111 resultobj
= SWIG_Py_Void();
35118 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35119 PyObject
*resultobj
= 0;
35120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35121 wxTreeItemId
*arg2
= 0 ;
35122 wxColour
*arg3
= 0 ;
35128 PyObject
* obj0
= 0 ;
35129 PyObject
* obj1
= 0 ;
35130 PyObject
* obj2
= 0 ;
35131 char * kwnames
[] = {
35132 (char *) "self",(char *) "item",(char *) "col", NULL
35135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35137 if (!SWIG_IsOK(res1
)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35142 if (!SWIG_IsOK(res2
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35148 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35151 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35155 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= SWIG_Py_Void();
35166 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
= 0;
35168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35169 wxTreeItemId
*arg2
= 0 ;
35177 PyObject
* obj0
= 0 ;
35178 PyObject
* obj1
= 0 ;
35179 PyObject
* obj2
= 0 ;
35180 char * kwnames
[] = {
35181 (char *) "self",(char *) "item",(char *) "font", NULL
35184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35186 if (!SWIG_IsOK(res1
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35191 if (!SWIG_IsOK(res2
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35197 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35198 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35199 if (!SWIG_IsOK(res3
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35205 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
= 0;
35221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35222 wxTreeItemId
*arg2
= 0 ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 char * kwnames
[] = {
35231 (char *) "self",(char *) "item", NULL
35234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35236 if (!SWIG_IsOK(res1
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35241 if (!SWIG_IsOK(res2
)) {
35242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35263 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
= 0;
35265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35266 wxTreeItemId
*arg2
= 0 ;
35272 PyObject
* obj0
= 0 ;
35273 PyObject
* obj1
= 0 ;
35274 char * kwnames
[] = {
35275 (char *) "self",(char *) "item", NULL
35278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35280 if (!SWIG_IsOK(res1
)) {
35281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35283 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35285 if (!SWIG_IsOK(res2
)) {
35286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35291 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35307 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35310 wxTreeItemId
*arg2
= 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char * kwnames
[] = {
35319 (char *) "self",(char *) "item", NULL
35322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35324 if (!SWIG_IsOK(res1
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35327 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35329 if (!SWIG_IsOK(res2
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35335 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35351 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 wxTreeItemId
*arg2
= 0 ;
35360 PyObject
* obj0
= 0 ;
35361 PyObject
* obj1
= 0 ;
35362 char * kwnames
[] = {
35363 (char *) "self",(char *) "item", NULL
35366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35373 if (!SWIG_IsOK(res2
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35395 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
= 0;
35397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35398 wxTreeItemId
*arg2
= 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "item", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35439 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
= 0;
35441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35442 wxTreeItemId
*arg2
= 0 ;
35443 bool arg3
= (bool) true ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 PyObject
* obj2
= 0 ;
35454 char * kwnames
[] = {
35455 (char *) "self",(char *) "item",(char *) "recursively", NULL
35458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35465 if (!SWIG_IsOK(res2
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35473 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35474 if (!SWIG_IsOK(ecode3
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35477 arg3
= static_cast< bool >(val3
);
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35492 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35493 PyObject
*resultobj
= 0;
35494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35495 wxTreeItemId result
;
35498 PyObject
*swig_obj
[1] ;
35500 if (!args
) SWIG_fail
;
35501 swig_obj
[0] = args
;
35502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35503 if (!SWIG_IsOK(res1
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35506 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35509 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35520 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35521 PyObject
*resultobj
= 0;
35522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35523 wxTreeItemId result
;
35526 PyObject
*swig_obj
[1] ;
35528 if (!args
) SWIG_fail
;
35529 swig_obj
[0] = args
;
35530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35531 if (!SWIG_IsOK(res1
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35534 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35538 wxPyEndAllowThreads(__tstate
);
35539 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35548 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35549 PyObject
*resultobj
= 0;
35550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35551 PyObject
*result
= 0 ;
35554 PyObject
*swig_obj
[1] ;
35556 if (!args
) SWIG_fail
;
35557 swig_obj
[0] = args
;
35558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35559 if (!SWIG_IsOK(res1
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= result
;
35576 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
= 0;
35578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35579 wxTreeItemId
*arg2
= 0 ;
35580 wxTreeItemId result
;
35585 PyObject
* obj0
= 0 ;
35586 PyObject
* obj1
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "item", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35598 if (!SWIG_IsOK(res2
)) {
35599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35604 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35608 wxPyEndAllowThreads(__tstate
);
35609 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35618 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35619 PyObject
*resultobj
= 0;
35620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35621 wxTreeItemId
*arg2
= 0 ;
35622 PyObject
*result
= 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 char * kwnames
[] = {
35630 (char *) "self",(char *) "item", NULL
35633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35635 if (!SWIG_IsOK(res1
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35640 if (!SWIG_IsOK(res2
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= result
;
35660 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
= 0;
35662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35663 wxTreeItemId
*arg2
= 0 ;
35664 void *arg3
= (void *) 0 ;
35665 PyObject
*result
= 0 ;
35671 PyObject
* obj0
= 0 ;
35672 PyObject
* obj1
= 0 ;
35673 PyObject
* obj2
= 0 ;
35674 char * kwnames
[] = {
35675 (char *) "self",(char *) "item",(char *) "cookie", NULL
35678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35680 if (!SWIG_IsOK(res1
)) {
35681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35683 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35685 if (!SWIG_IsOK(res2
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35691 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35692 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35693 if (!SWIG_IsOK(res3
)) {
35694 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= result
;
35709 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
= 0;
35711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35712 wxTreeItemId
*arg2
= 0 ;
35713 wxTreeItemId result
;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "item", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35731 if (!SWIG_IsOK(res2
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35751 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35754 wxTreeItemId
*arg2
= 0 ;
35755 wxTreeItemId result
;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 char * kwnames
[] = {
35763 (char *) "self",(char *) "item", NULL
35766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35768 if (!SWIG_IsOK(res1
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35773 if (!SWIG_IsOK(res2
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35779 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35793 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35796 wxTreeItemId
*arg2
= 0 ;
35797 wxTreeItemId result
;
35802 PyObject
* obj0
= 0 ;
35803 PyObject
* obj1
= 0 ;
35804 char * kwnames
[] = {
35805 (char *) "self",(char *) "item", NULL
35808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35810 if (!SWIG_IsOK(res1
)) {
35811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35815 if (!SWIG_IsOK(res2
)) {
35816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35821 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35828 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35835 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35836 PyObject
*resultobj
= 0;
35837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35838 wxTreeItemId result
;
35841 PyObject
*swig_obj
[1] ;
35843 if (!args
) SWIG_fail
;
35844 swig_obj
[0] = args
;
35845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35846 if (!SWIG_IsOK(res1
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35849 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35852 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35863 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
= 0;
35865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35866 wxTreeItemId
*arg2
= 0 ;
35867 wxTreeItemId result
;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 char * kwnames
[] = {
35875 (char *) "self",(char *) "item", NULL
35878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35885 if (!SWIG_IsOK(res2
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35905 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35906 PyObject
*resultobj
= 0;
35907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35908 wxTreeItemId
*arg2
= 0 ;
35909 wxTreeItemId result
;
35914 PyObject
* obj0
= 0 ;
35915 PyObject
* obj1
= 0 ;
35916 char * kwnames
[] = {
35917 (char *) "self",(char *) "item", NULL
35920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35922 if (!SWIG_IsOK(res1
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35925 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35927 if (!SWIG_IsOK(res2
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35933 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35947 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35950 wxString
*arg2
= 0 ;
35951 int arg3
= (int) -1 ;
35952 int arg4
= (int) -1 ;
35953 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35954 wxTreeItemId result
;
35957 bool temp2
= false ;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 PyObject
* obj2
= 0 ;
35966 PyObject
* obj3
= 0 ;
35967 PyObject
* obj4
= 0 ;
35968 char * kwnames
[] = {
35969 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35974 if (!SWIG_IsOK(res1
)) {
35975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35977 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35979 arg2
= wxString_in_helper(obj1
);
35980 if (arg2
== NULL
) SWIG_fail
;
35984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35985 if (!SWIG_IsOK(ecode3
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35988 arg3
= static_cast< int >(val3
);
35991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35992 if (!SWIG_IsOK(ecode4
)) {
35993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35995 arg4
= static_cast< int >(val4
);
35998 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35999 if (!SWIG_IsOK(res5
)) {
36000 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36024 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36025 PyObject
*resultobj
= 0;
36026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36027 wxTreeItemId
*arg2
= 0 ;
36028 wxString
*arg3
= 0 ;
36029 int arg4
= (int) -1 ;
36030 int arg5
= (int) -1 ;
36031 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36032 wxTreeItemId result
;
36037 bool temp3
= false ;
36043 PyObject
* obj0
= 0 ;
36044 PyObject
* obj1
= 0 ;
36045 PyObject
* obj2
= 0 ;
36046 PyObject
* obj3
= 0 ;
36047 PyObject
* obj4
= 0 ;
36048 PyObject
* obj5
= 0 ;
36049 char * kwnames
[] = {
36050 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36055 if (!SWIG_IsOK(res1
)) {
36056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36060 if (!SWIG_IsOK(res2
)) {
36061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36066 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36068 arg3
= wxString_in_helper(obj2
);
36069 if (arg3
== NULL
) SWIG_fail
;
36073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36074 if (!SWIG_IsOK(ecode4
)) {
36075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36077 arg4
= static_cast< int >(val4
);
36080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36081 if (!SWIG_IsOK(ecode5
)) {
36082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36084 arg5
= static_cast< int >(val5
);
36087 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36088 if (!SWIG_IsOK(res6
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36113 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
= 0;
36115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36116 wxTreeItemId
*arg2
= 0 ;
36117 wxTreeItemId
*arg3
= 0 ;
36118 wxString
*arg4
= 0 ;
36119 int arg5
= (int) -1 ;
36120 int arg6
= (int) -1 ;
36121 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36122 wxTreeItemId result
;
36129 bool temp4
= false ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 PyObject
* obj2
= 0 ;
36138 PyObject
* obj3
= 0 ;
36139 PyObject
* obj4
= 0 ;
36140 PyObject
* obj5
= 0 ;
36141 PyObject
* obj6
= 0 ;
36142 char * kwnames
[] = {
36143 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36148 if (!SWIG_IsOK(res1
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36151 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36153 if (!SWIG_IsOK(res2
)) {
36154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36159 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36160 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36161 if (!SWIG_IsOK(res3
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36167 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36169 arg4
= wxString_in_helper(obj3
);
36170 if (arg4
== NULL
) SWIG_fail
;
36174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36175 if (!SWIG_IsOK(ecode5
)) {
36176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36178 arg5
= static_cast< int >(val5
);
36181 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36182 if (!SWIG_IsOK(ecode6
)) {
36183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36185 arg6
= static_cast< int >(val6
);
36188 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36189 if (!SWIG_IsOK(res7
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36214 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36215 PyObject
*resultobj
= 0;
36216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36217 wxTreeItemId
*arg2
= 0 ;
36219 wxString
*arg4
= 0 ;
36220 int arg5
= (int) -1 ;
36221 int arg6
= (int) -1 ;
36222 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36223 wxTreeItemId result
;
36230 bool temp4
= false ;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 PyObject
* obj2
= 0 ;
36239 PyObject
* obj3
= 0 ;
36240 PyObject
* obj4
= 0 ;
36241 PyObject
* obj5
= 0 ;
36242 PyObject
* obj6
= 0 ;
36243 char * kwnames
[] = {
36244 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36249 if (!SWIG_IsOK(res1
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36252 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36254 if (!SWIG_IsOK(res2
)) {
36255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36260 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36261 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36262 if (!SWIG_IsOK(ecode3
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36265 arg3
= static_cast< size_t >(val3
);
36267 arg4
= wxString_in_helper(obj3
);
36268 if (arg4
== NULL
) SWIG_fail
;
36272 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36273 if (!SWIG_IsOK(ecode5
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36276 arg5
= static_cast< int >(val5
);
36279 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36280 if (!SWIG_IsOK(ecode6
)) {
36281 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36283 arg6
= static_cast< int >(val6
);
36286 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36287 if (!SWIG_IsOK(res7
)) {
36288 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36312 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
= 0;
36314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36315 wxTreeItemId
*arg2
= 0 ;
36316 wxString
*arg3
= 0 ;
36317 int arg4
= (int) -1 ;
36318 int arg5
= (int) -1 ;
36319 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36320 wxTreeItemId result
;
36325 bool temp3
= false ;
36331 PyObject
* obj0
= 0 ;
36332 PyObject
* obj1
= 0 ;
36333 PyObject
* obj2
= 0 ;
36334 PyObject
* obj3
= 0 ;
36335 PyObject
* obj4
= 0 ;
36336 PyObject
* obj5
= 0 ;
36337 char * kwnames
[] = {
36338 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36343 if (!SWIG_IsOK(res1
)) {
36344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36346 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36347 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36348 if (!SWIG_IsOK(res2
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36354 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36356 arg3
= wxString_in_helper(obj2
);
36357 if (arg3
== NULL
) SWIG_fail
;
36361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36362 if (!SWIG_IsOK(ecode4
)) {
36363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36365 arg4
= static_cast< int >(val4
);
36368 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36369 if (!SWIG_IsOK(ecode5
)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36372 arg5
= static_cast< int >(val5
);
36375 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36376 if (!SWIG_IsOK(res6
)) {
36377 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36401 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
= 0;
36403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36404 wxTreeItemId
*arg2
= 0 ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char * kwnames
[] = {
36412 (char *) "self",(char *) "item", NULL
36415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36417 if (!SWIG_IsOK(res1
)) {
36418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36420 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36422 if (!SWIG_IsOK(res2
)) {
36423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36428 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_Py_Void();
36442 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
= 0;
36444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36445 wxTreeItemId
*arg2
= 0 ;
36450 PyObject
* obj0
= 0 ;
36451 PyObject
* obj1
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "self",(char *) "item", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36461 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36463 if (!SWIG_IsOK(res2
)) {
36464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36469 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36476 resultobj
= SWIG_Py_Void();
36483 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36484 PyObject
*resultobj
= 0;
36485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36488 PyObject
*swig_obj
[1] ;
36490 if (!args
) SWIG_fail
;
36491 swig_obj
[0] = args
;
36492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36493 if (!SWIG_IsOK(res1
)) {
36494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36496 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36499 (arg1
)->DeleteAllItems();
36500 wxPyEndAllowThreads(__tstate
);
36501 if (PyErr_Occurred()) SWIG_fail
;
36503 resultobj
= SWIG_Py_Void();
36510 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
= 0;
36512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36513 wxTreeItemId
*arg2
= 0 ;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 char * kwnames
[] = {
36521 (char *) "self",(char *) "item", NULL
36524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36526 if (!SWIG_IsOK(res1
)) {
36527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36531 if (!SWIG_IsOK(res2
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_Py_Void();
36551 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36552 PyObject
*resultobj
= 0;
36553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36554 wxTreeItemId
*arg2
= 0 ;
36559 PyObject
* obj0
= 0 ;
36560 PyObject
* obj1
= 0 ;
36561 char * kwnames
[] = {
36562 (char *) "self",(char *) "item", NULL
36565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36567 if (!SWIG_IsOK(res1
)) {
36568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36570 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36572 if (!SWIG_IsOK(res2
)) {
36573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36578 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36581 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36582 wxPyEndAllowThreads(__tstate
);
36583 if (PyErr_Occurred()) SWIG_fail
;
36585 resultobj
= SWIG_Py_Void();
36592 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36593 PyObject
*resultobj
= 0;
36594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36597 PyObject
*swig_obj
[1] ;
36599 if (!args
) SWIG_fail
;
36600 swig_obj
[0] = args
;
36601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36602 if (!SWIG_IsOK(res1
)) {
36603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 (arg1
)->ExpandAll();
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= SWIG_Py_Void();
36619 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
= 0;
36621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36622 wxTreeItemId
*arg2
= 0 ;
36627 PyObject
* obj0
= 0 ;
36628 PyObject
* obj1
= 0 ;
36629 char * kwnames
[] = {
36630 (char *) "self",(char *) "item", NULL
36633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36638 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36640 if (!SWIG_IsOK(res2
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36646 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36649 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_Py_Void();
36660 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
= 0;
36662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36663 wxTreeItemId
*arg2
= 0 ;
36668 PyObject
* obj0
= 0 ;
36669 PyObject
* obj1
= 0 ;
36670 char * kwnames
[] = {
36671 (char *) "self",(char *) "item", NULL
36674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36676 if (!SWIG_IsOK(res1
)) {
36677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36681 if (!SWIG_IsOK(res2
)) {
36682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36687 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36691 wxPyEndAllowThreads(__tstate
);
36692 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= SWIG_Py_Void();
36701 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36702 PyObject
*resultobj
= 0;
36703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36704 wxTreeItemId
*arg2
= 0 ;
36709 PyObject
* obj0
= 0 ;
36710 PyObject
* obj1
= 0 ;
36711 char * kwnames
[] = {
36712 (char *) "self",(char *) "item", NULL
36715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36717 if (!SWIG_IsOK(res1
)) {
36718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36722 if (!SWIG_IsOK(res2
)) {
36723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_Py_Void();
36742 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36743 PyObject
*resultobj
= 0;
36744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36747 PyObject
*swig_obj
[1] ;
36749 if (!args
) SWIG_fail
;
36750 swig_obj
[0] = args
;
36751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36752 if (!SWIG_IsOK(res1
)) {
36753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 (arg1
)->Unselect();
36759 wxPyEndAllowThreads(__tstate
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36762 resultobj
= SWIG_Py_Void();
36769 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36770 PyObject
*resultobj
= 0;
36771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36772 wxTreeItemId
*arg2
= 0 ;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 char * kwnames
[] = {
36780 (char *) "self",(char *) "item", NULL
36783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36785 if (!SWIG_IsOK(res1
)) {
36786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36788 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36790 if (!SWIG_IsOK(res2
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36796 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36799 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36800 wxPyEndAllowThreads(__tstate
);
36801 if (PyErr_Occurred()) SWIG_fail
;
36803 resultobj
= SWIG_Py_Void();
36810 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36811 PyObject
*resultobj
= 0;
36812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36815 PyObject
*swig_obj
[1] ;
36817 if (!args
) SWIG_fail
;
36818 swig_obj
[0] = args
;
36819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36820 if (!SWIG_IsOK(res1
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->UnselectAll();
36827 wxPyEndAllowThreads(__tstate
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 resultobj
= SWIG_Py_Void();
36837 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36838 PyObject
*resultobj
= 0;
36839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36840 wxTreeItemId
*arg2
= 0 ;
36841 bool arg3
= (bool) true ;
36848 PyObject
* obj0
= 0 ;
36849 PyObject
* obj1
= 0 ;
36850 PyObject
* obj2
= 0 ;
36851 char * kwnames
[] = {
36852 (char *) "self",(char *) "item",(char *) "select", NULL
36855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36857 if (!SWIG_IsOK(res1
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36860 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36862 if (!SWIG_IsOK(res2
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36868 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36870 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36871 if (!SWIG_IsOK(ecode3
)) {
36872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36874 arg3
= static_cast< bool >(val3
);
36877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36878 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36879 wxPyEndAllowThreads(__tstate
);
36880 if (PyErr_Occurred()) SWIG_fail
;
36882 resultobj
= SWIG_Py_Void();
36889 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36890 PyObject
*resultobj
= 0;
36891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36892 wxTreeItemId
*arg2
= 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 char * kwnames
[] = {
36900 (char *) "self",(char *) "item", NULL
36903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36905 if (!SWIG_IsOK(res1
)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36908 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36910 if (!SWIG_IsOK(res2
)) {
36911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36916 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36933 wxTreeItemId
*arg2
= 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "item", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36951 if (!SWIG_IsOK(res2
)) {
36952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
= 0;
36973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36974 wxTreeItemId
*arg2
= 0 ;
36979 PyObject
* obj0
= 0 ;
36980 PyObject
* obj1
= 0 ;
36981 char * kwnames
[] = {
36982 (char *) "self",(char *) "item", NULL
36985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36987 if (!SWIG_IsOK(res1
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36992 if (!SWIG_IsOK(res2
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36998 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37001 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= SWIG_Py_Void();
37012 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37013 PyObject
*resultobj
= 0;
37014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37015 wxTreeItemId
*arg2
= 0 ;
37020 PyObject
* obj0
= 0 ;
37021 PyObject
* obj1
= 0 ;
37022 char * kwnames
[] = {
37023 (char *) "self",(char *) "item", NULL
37026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37028 if (!SWIG_IsOK(res1
)) {
37029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37031 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37033 if (!SWIG_IsOK(res2
)) {
37034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37039 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37046 resultobj
= SWIG_Py_Void();
37053 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37054 PyObject
*resultobj
= 0;
37055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37056 wxTextCtrl
*result
= 0 ;
37059 PyObject
*swig_obj
[1] ;
37061 if (!args
) SWIG_fail
;
37062 swig_obj
[0] = args
;
37063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37064 if (!SWIG_IsOK(res1
)) {
37065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37071 wxPyEndAllowThreads(__tstate
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37075 resultobj
= wxPyMake_wxObject(result
, 0);
37083 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37084 PyObject
*resultobj
= 0;
37085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37086 wxTreeItemId
*arg2
= 0 ;
37091 PyObject
* obj0
= 0 ;
37092 PyObject
* obj1
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "item", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37102 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37104 if (!SWIG_IsOK(res2
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37110 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_Py_Void();
37124 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
= 0;
37126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37127 wxPoint
*arg2
= 0 ;
37129 wxTreeItemId result
;
37134 int res3
= SWIG_TMPOBJ
;
37135 PyObject
* obj0
= 0 ;
37136 PyObject
* obj1
= 0 ;
37137 char * kwnames
[] = {
37138 (char *) "self",(char *) "point", NULL
37142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37144 if (!SWIG_IsOK(res1
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37147 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37159 if (SWIG_IsTmpObj(res3
)) {
37160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37162 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37171 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
= 0;
37173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37174 wxTreeItemId
*arg2
= 0 ;
37175 bool arg3
= (bool) false ;
37176 PyObject
*result
= 0 ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 PyObject
* obj2
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37197 if (!SWIG_IsOK(res2
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37206 if (!SWIG_IsOK(ecode3
)) {
37207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37209 arg3
= static_cast< bool >(val3
);
37212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37217 resultobj
= result
;
37224 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
= 0;
37226 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37227 SwigValueWrapper
<wxVisualAttributes
> result
;
37230 PyObject
* obj0
= 0 ;
37231 char * kwnames
[] = {
37232 (char *) "variant", NULL
37235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37238 if (!SWIG_IsOK(ecode1
)) {
37239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37241 arg1
= static_cast< wxWindowVariant
>(val1
);
37244 if (!wxPyCheckForApp()) SWIG_fail
;
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37247 wxPyEndAllowThreads(__tstate
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37257 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37258 PyObject
*resultobj
= 0;
37259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37265 PyObject
* obj0
= 0 ;
37266 PyObject
* obj1
= 0 ;
37267 char * kwnames
[] = {
37268 (char *) "self",(char *) "q", NULL
37271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37273 if (!SWIG_IsOK(res1
)) {
37274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37276 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37277 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37278 if (!SWIG_IsOK(ecode2
)) {
37279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37281 arg2
= static_cast< bool >(val2
);
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->SetQuickBestSize(arg2
);
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37296 PyObject
*resultobj
= 0;
37297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37301 PyObject
*swig_obj
[1] ;
37303 if (!args
) SWIG_fail
;
37304 swig_obj
[0] = args
;
37305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37306 if (!SWIG_IsOK(res1
)) {
37307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37325 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37329 return SWIG_Py_Void();
37332 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37333 return SWIG_Python_InitShadowInstance(args
);
37336 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37337 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37342 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37343 PyObject
*pyobj
= 0;
37347 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37349 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37356 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37357 PyObject
*resultobj
= 0;
37358 wxWindow
*arg1
= (wxWindow
*) 0 ;
37359 int arg2
= (int) (int)-1 ;
37360 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37366 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37367 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37369 int arg8
= (int) 0 ;
37370 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37371 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37372 wxGenericDirCtrl
*result
= 0 ;
37377 bool temp3
= false ;
37382 bool temp7
= false ;
37385 bool temp9
= false ;
37386 PyObject
* obj0
= 0 ;
37387 PyObject
* obj1
= 0 ;
37388 PyObject
* obj2
= 0 ;
37389 PyObject
* obj3
= 0 ;
37390 PyObject
* obj4
= 0 ;
37391 PyObject
* obj5
= 0 ;
37392 PyObject
* obj6
= 0 ;
37393 PyObject
* obj7
= 0 ;
37394 PyObject
* obj8
= 0 ;
37395 char * kwnames
[] = {
37396 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37401 if (!SWIG_IsOK(res1
)) {
37402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37407 if (!SWIG_IsOK(ecode2
)) {
37408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37410 arg2
= static_cast< int >(val2
);
37414 arg3
= wxString_in_helper(obj2
);
37415 if (arg3
== NULL
) SWIG_fail
;
37422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37432 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37433 if (!SWIG_IsOK(ecode6
)) {
37434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37436 arg6
= static_cast< long >(val6
);
37440 arg7
= wxString_in_helper(obj6
);
37441 if (arg7
== NULL
) SWIG_fail
;
37446 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37447 if (!SWIG_IsOK(ecode8
)) {
37448 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37450 arg8
= static_cast< int >(val8
);
37454 arg9
= wxString_in_helper(obj8
);
37455 if (arg9
== NULL
) SWIG_fail
;
37460 if (!wxPyCheckForApp()) SWIG_fail
;
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37463 wxPyEndAllowThreads(__tstate
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37497 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37498 PyObject
*resultobj
= 0;
37499 wxGenericDirCtrl
*result
= 0 ;
37501 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37503 if (!wxPyCheckForApp()) SWIG_fail
;
37504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37505 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37506 wxPyEndAllowThreads(__tstate
);
37507 if (PyErr_Occurred()) SWIG_fail
;
37509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37516 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37517 PyObject
*resultobj
= 0;
37518 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37519 wxWindow
*arg2
= (wxWindow
*) 0 ;
37520 int arg3
= (int) (int)-1 ;
37521 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37527 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37528 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37530 int arg9
= (int) 0 ;
37531 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37532 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37540 bool temp4
= false ;
37545 bool temp8
= false ;
37548 bool temp10
= false ;
37549 PyObject
* obj0
= 0 ;
37550 PyObject
* obj1
= 0 ;
37551 PyObject
* obj2
= 0 ;
37552 PyObject
* obj3
= 0 ;
37553 PyObject
* obj4
= 0 ;
37554 PyObject
* obj5
= 0 ;
37555 PyObject
* obj6
= 0 ;
37556 PyObject
* obj7
= 0 ;
37557 PyObject
* obj8
= 0 ;
37558 PyObject
* obj9
= 0 ;
37559 char * kwnames
[] = {
37560 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37565 if (!SWIG_IsOK(res1
)) {
37566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37568 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37570 if (!SWIG_IsOK(res2
)) {
37571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37576 if (!SWIG_IsOK(ecode3
)) {
37577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37579 arg3
= static_cast< int >(val3
);
37583 arg4
= wxString_in_helper(obj3
);
37584 if (arg4
== NULL
) SWIG_fail
;
37591 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37597 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37601 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37602 if (!SWIG_IsOK(ecode7
)) {
37603 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37605 arg7
= static_cast< long >(val7
);
37609 arg8
= wxString_in_helper(obj7
);
37610 if (arg8
== NULL
) SWIG_fail
;
37615 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37616 if (!SWIG_IsOK(ecode9
)) {
37617 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37619 arg9
= static_cast< int >(val9
);
37623 arg10
= wxString_in_helper(obj9
);
37624 if (arg10
== NULL
) SWIG_fail
;
37629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37630 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37631 wxPyEndAllowThreads(__tstate
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37667 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
= 0;
37669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37670 wxString
*arg2
= 0 ;
37674 bool temp2
= false ;
37675 PyObject
* obj0
= 0 ;
37676 PyObject
* obj1
= 0 ;
37677 char * kwnames
[] = {
37678 (char *) "self",(char *) "path", NULL
37681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37683 if (!SWIG_IsOK(res1
)) {
37684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37686 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37688 arg2
= wxString_in_helper(obj1
);
37689 if (arg2
== NULL
) SWIG_fail
;
37693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37694 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37695 wxPyEndAllowThreads(__tstate
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37715 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37716 PyObject
*resultobj
= 0;
37717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37718 wxString
*arg2
= 0 ;
37722 bool temp2
= false ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 char * kwnames
[] = {
37726 (char *) "self",(char *) "path", NULL
37729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37731 if (!SWIG_IsOK(res1
)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37734 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37736 arg2
= wxString_in_helper(obj1
);
37737 if (arg2
== NULL
) SWIG_fail
;
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37763 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37764 PyObject
*resultobj
= 0;
37765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37769 PyObject
*swig_obj
[1] ;
37771 if (!args
) SWIG_fail
;
37772 swig_obj
[0] = args
;
37773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37774 if (!SWIG_IsOK(res1
)) {
37775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37777 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37780 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37797 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37798 PyObject
*resultobj
= 0;
37799 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37800 wxString
*arg2
= 0 ;
37803 bool temp2
= false ;
37804 PyObject
* obj0
= 0 ;
37805 PyObject
* obj1
= 0 ;
37806 char * kwnames
[] = {
37807 (char *) "self",(char *) "path", NULL
37810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37812 if (!SWIG_IsOK(res1
)) {
37813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37815 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37817 arg2
= wxString_in_helper(obj1
);
37818 if (arg2
== NULL
) SWIG_fail
;
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 resultobj
= SWIG_Py_Void();
37842 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37843 PyObject
*resultobj
= 0;
37844 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37848 PyObject
*swig_obj
[1] ;
37850 if (!args
) SWIG_fail
;
37851 swig_obj
[0] = args
;
37852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37853 if (!SWIG_IsOK(res1
)) {
37854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37856 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37859 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37876 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37877 PyObject
*resultobj
= 0;
37878 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37882 PyObject
*swig_obj
[1] ;
37884 if (!args
) SWIG_fail
;
37885 swig_obj
[0] = args
;
37886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37887 if (!SWIG_IsOK(res1
)) {
37888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37890 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37910 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
= 0;
37912 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37913 wxString
*arg2
= 0 ;
37916 bool temp2
= false ;
37917 PyObject
* obj0
= 0 ;
37918 PyObject
* obj1
= 0 ;
37919 char * kwnames
[] = {
37920 (char *) "self",(char *) "path", NULL
37923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37925 if (!SWIG_IsOK(res1
)) {
37926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37928 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37930 arg2
= wxString_in_helper(obj1
);
37931 if (arg2
== NULL
) SWIG_fail
;
37935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37936 (arg1
)->SetPath((wxString
const &)*arg2
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37940 resultobj
= SWIG_Py_Void();
37955 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
= 0;
37957 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37963 PyObject
* obj0
= 0 ;
37964 PyObject
* obj1
= 0 ;
37965 char * kwnames
[] = {
37966 (char *) "self",(char *) "show", NULL
37969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37971 if (!SWIG_IsOK(res1
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37974 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37975 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37976 if (!SWIG_IsOK(ecode2
)) {
37977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37979 arg2
= static_cast< bool >(val2
);
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->ShowHidden(arg2
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= SWIG_Py_Void();
37993 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37994 PyObject
*resultobj
= 0;
37995 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37999 PyObject
*swig_obj
[1] ;
38001 if (!args
) SWIG_fail
;
38002 swig_obj
[0] = args
;
38003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38004 if (!SWIG_IsOK(res1
)) {
38005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38007 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38010 result
= (bool)(arg1
)->GetShowHidden();
38011 wxPyEndAllowThreads(__tstate
);
38012 if (PyErr_Occurred()) SWIG_fail
;
38015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38023 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38024 PyObject
*resultobj
= 0;
38025 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38029 PyObject
*swig_obj
[1] ;
38031 if (!args
) SWIG_fail
;
38032 swig_obj
[0] = args
;
38033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38034 if (!SWIG_IsOK(res1
)) {
38035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38037 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38040 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38041 wxPyEndAllowThreads(__tstate
);
38042 if (PyErr_Occurred()) SWIG_fail
;
38046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38057 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
= 0;
38059 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38060 wxString
*arg2
= 0 ;
38063 bool temp2
= false ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 char * kwnames
[] = {
38067 (char *) "self",(char *) "filter", NULL
38070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38072 if (!SWIG_IsOK(res1
)) {
38073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38075 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38077 arg2
= wxString_in_helper(obj1
);
38078 if (arg2
== NULL
) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->SetFilter((wxString
const &)*arg2
);
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= SWIG_Py_Void();
38102 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38103 PyObject
*resultobj
= 0;
38104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38108 PyObject
*swig_obj
[1] ;
38110 if (!args
) SWIG_fail
;
38111 swig_obj
[0] = args
;
38112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38113 if (!SWIG_IsOK(res1
)) {
38114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38116 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38119 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38123 resultobj
= SWIG_From_int(static_cast< int >(result
));
38130 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
= 0;
38132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38138 PyObject
* obj0
= 0 ;
38139 PyObject
* obj1
= 0 ;
38140 char * kwnames
[] = {
38141 (char *) "self",(char *) "n", NULL
38144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38146 if (!SWIG_IsOK(res1
)) {
38147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38149 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38151 if (!SWIG_IsOK(ecode2
)) {
38152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38154 arg2
= static_cast< int >(val2
);
38156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38157 (arg1
)->SetFilterIndex(arg2
);
38158 wxPyEndAllowThreads(__tstate
);
38159 if (PyErr_Occurred()) SWIG_fail
;
38161 resultobj
= SWIG_Py_Void();
38168 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38169 PyObject
*resultobj
= 0;
38170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38171 wxTreeItemId result
;
38174 PyObject
*swig_obj
[1] ;
38176 if (!args
) SWIG_fail
;
38177 swig_obj
[0] = args
;
38178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38179 if (!SWIG_IsOK(res1
)) {
38180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38182 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 result
= (arg1
)->GetRootId();
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38196 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38197 PyObject
*resultobj
= 0;
38198 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38199 wxPyTreeCtrl
*result
= 0 ;
38202 PyObject
*swig_obj
[1] ;
38204 if (!args
) SWIG_fail
;
38205 swig_obj
[0] = args
;
38206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38207 if (!SWIG_IsOK(res1
)) {
38208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38210 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38214 wxPyEndAllowThreads(__tstate
);
38215 if (PyErr_Occurred()) SWIG_fail
;
38218 resultobj
= wxPyMake_wxObject(result
, 0);
38226 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38227 PyObject
*resultobj
= 0;
38228 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38229 wxDirFilterListCtrl
*result
= 0 ;
38232 PyObject
*swig_obj
[1] ;
38234 if (!args
) SWIG_fail
;
38235 swig_obj
[0] = args
;
38236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38240 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38244 wxPyEndAllowThreads(__tstate
);
38245 if (PyErr_Occurred()) SWIG_fail
;
38247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38254 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38255 PyObject
*resultobj
= 0;
38256 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38257 wxTreeItemId arg2
;
38258 wxString
*arg3
= 0 ;
38260 wxTreeItemId result
;
38265 bool temp3
= false ;
38267 int res4
= SWIG_TMPOBJ
;
38268 PyObject
* obj0
= 0 ;
38269 PyObject
* obj1
= 0 ;
38270 PyObject
* obj2
= 0 ;
38271 char * kwnames
[] = {
38272 (char *) "self",(char *) "parentId",(char *) "path", NULL
38276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38281 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38284 if (!SWIG_IsOK(res2
)) {
38285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38290 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38292 if (SWIG_IsNewObj(res2
)) delete temp
;
38296 arg3
= wxString_in_helper(obj2
);
38297 if (arg3
== NULL
) SWIG_fail
;
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38302 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38307 if (SWIG_IsTmpObj(res4
)) {
38308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38310 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38327 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38328 PyObject
*resultobj
= 0;
38329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38332 PyObject
*swig_obj
[1] ;
38334 if (!args
) SWIG_fail
;
38335 swig_obj
[0] = args
;
38336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38337 if (!SWIG_IsOK(res1
)) {
38338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38340 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 (arg1
)->DoResize();
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 resultobj
= SWIG_Py_Void();
38354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38355 PyObject
*resultobj
= 0;
38356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38359 PyObject
*swig_obj
[1] ;
38361 if (!args
) SWIG_fail
;
38362 swig_obj
[0] = args
;
38363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38364 if (!SWIG_IsOK(res1
)) {
38365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38367 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38370 (arg1
)->ReCreateTree();
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38374 resultobj
= SWIG_Py_Void();
38381 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38384 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38385 return SWIG_Py_Void();
38388 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38389 return SWIG_Python_InitShadowInstance(args
);
38392 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38393 PyObject
*resultobj
= 0;
38394 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38395 int arg2
= (int) (int)-1 ;
38396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38400 long arg5
= (long) 0 ;
38401 wxDirFilterListCtrl
*result
= 0 ;
38410 PyObject
* obj0
= 0 ;
38411 PyObject
* obj1
= 0 ;
38412 PyObject
* obj2
= 0 ;
38413 PyObject
* obj3
= 0 ;
38414 PyObject
* obj4
= 0 ;
38415 char * kwnames
[] = {
38416 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38424 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38427 if (!SWIG_IsOK(ecode2
)) {
38428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38430 arg2
= static_cast< int >(val2
);
38435 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38441 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38445 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38446 if (!SWIG_IsOK(ecode5
)) {
38447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38449 arg5
= static_cast< long >(val5
);
38452 if (!wxPyCheckForApp()) SWIG_fail
;
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38465 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38466 PyObject
*resultobj
= 0;
38467 wxDirFilterListCtrl
*result
= 0 ;
38469 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38471 if (!wxPyCheckForApp()) SWIG_fail
;
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38484 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38485 PyObject
*resultobj
= 0;
38486 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38487 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38488 int arg3
= (int) (int)-1 ;
38489 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38490 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38491 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38492 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38493 long arg6
= (long) 0 ;
38505 PyObject
* obj0
= 0 ;
38506 PyObject
* obj1
= 0 ;
38507 PyObject
* obj2
= 0 ;
38508 PyObject
* obj3
= 0 ;
38509 PyObject
* obj4
= 0 ;
38510 PyObject
* obj5
= 0 ;
38511 char * kwnames
[] = {
38512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38517 if (!SWIG_IsOK(res1
)) {
38518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38520 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38522 if (!SWIG_IsOK(res2
)) {
38523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38525 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38528 if (!SWIG_IsOK(ecode3
)) {
38529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38531 arg3
= static_cast< int >(val3
);
38536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38546 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38547 if (!SWIG_IsOK(ecode6
)) {
38548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38550 arg6
= static_cast< long >(val6
);
38553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38567 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
= 0;
38569 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38570 wxString
*arg2
= 0 ;
38574 bool temp2
= false ;
38577 PyObject
* obj0
= 0 ;
38578 PyObject
* obj1
= 0 ;
38579 PyObject
* obj2
= 0 ;
38580 char * kwnames
[] = {
38581 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38586 if (!SWIG_IsOK(res1
)) {
38587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38589 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38591 arg2
= wxString_in_helper(obj1
);
38592 if (arg2
== NULL
) SWIG_fail
;
38595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38596 if (!SWIG_IsOK(ecode3
)) {
38597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38599 arg3
= static_cast< int >(val3
);
38601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38602 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38606 resultobj
= SWIG_Py_Void();
38621 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38624 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38625 return SWIG_Py_Void();
38628 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38629 return SWIG_Python_InitShadowInstance(args
);
38632 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
= 0;
38634 wxWindow
*arg1
= (wxWindow
*) 0 ;
38635 int arg2
= (int) (int)-1 ;
38636 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38637 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38638 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38639 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38640 long arg5
= (long) 0 ;
38641 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38642 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38643 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38644 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38645 wxPyControl
*result
= 0 ;
38656 bool temp7
= false ;
38657 PyObject
* obj0
= 0 ;
38658 PyObject
* obj1
= 0 ;
38659 PyObject
* obj2
= 0 ;
38660 PyObject
* obj3
= 0 ;
38661 PyObject
* obj4
= 0 ;
38662 PyObject
* obj5
= 0 ;
38663 PyObject
* obj6
= 0 ;
38664 char * kwnames
[] = {
38665 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38670 if (!SWIG_IsOK(res1
)) {
38671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38676 if (!SWIG_IsOK(ecode2
)) {
38677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38679 arg2
= static_cast< int >(val2
);
38684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38694 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38695 if (!SWIG_IsOK(ecode5
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38698 arg5
= static_cast< long >(val5
);
38701 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38702 if (!SWIG_IsOK(res6
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38708 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38712 arg7
= wxString_in_helper(obj6
);
38713 if (arg7
== NULL
) SWIG_fail
;
38718 if (!wxPyCheckForApp()) SWIG_fail
;
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38720 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38721 wxPyEndAllowThreads(__tstate
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38739 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38740 PyObject
*resultobj
= 0;
38741 wxPyControl
*result
= 0 ;
38743 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38745 if (!wxPyCheckForApp()) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 result
= (wxPyControl
*)new wxPyControl();
38748 wxPyEndAllowThreads(__tstate
);
38749 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38758 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38759 PyObject
*resultobj
= 0;
38760 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38761 PyObject
*arg2
= (PyObject
*) 0 ;
38762 PyObject
*arg3
= (PyObject
*) 0 ;
38765 PyObject
* obj0
= 0 ;
38766 PyObject
* obj1
= 0 ;
38767 PyObject
* obj2
= 0 ;
38768 char * kwnames
[] = {
38769 (char *) "self",(char *) "self",(char *) "_class", NULL
38772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38774 if (!SWIG_IsOK(res1
)) {
38775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38777 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_Py_Void();
38793 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
= 0;
38795 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38800 PyObject
* obj0
= 0 ;
38801 PyObject
* obj1
= 0 ;
38802 char * kwnames
[] = {
38803 (char *) "self",(char *) "size", NULL
38806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38808 if (!SWIG_IsOK(res1
)) {
38809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38811 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38819 wxPyEndAllowThreads(__tstate
);
38820 if (PyErr_Occurred()) SWIG_fail
;
38822 resultobj
= SWIG_Py_Void();
38829 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38830 PyObject
*resultobj
= 0;
38831 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38832 wxDC
*arg2
= (wxDC
*) 0 ;
38838 PyObject
* obj0
= 0 ;
38839 PyObject
* obj1
= 0 ;
38840 char * kwnames
[] = {
38841 (char *) "self",(char *) "dc", NULL
38844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38846 if (!SWIG_IsOK(res1
)) {
38847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38849 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38851 if (!SWIG_IsOK(res2
)) {
38852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38854 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38857 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38858 wxPyEndAllowThreads(__tstate
);
38859 if (PyErr_Occurred()) SWIG_fail
;
38862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38870 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38871 PyObject
*resultobj
= 0;
38872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38887 PyObject
* obj0
= 0 ;
38888 PyObject
* obj1
= 0 ;
38889 PyObject
* obj2
= 0 ;
38890 PyObject
* obj3
= 0 ;
38891 PyObject
* obj4
= 0 ;
38892 char * kwnames
[] = {
38893 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38901 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38903 if (!SWIG_IsOK(ecode2
)) {
38904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38906 arg2
= static_cast< int >(val2
);
38907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38908 if (!SWIG_IsOK(ecode3
)) {
38909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38911 arg3
= static_cast< int >(val3
);
38912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38913 if (!SWIG_IsOK(ecode4
)) {
38914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38916 arg4
= static_cast< int >(val4
);
38917 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38918 if (!SWIG_IsOK(ecode5
)) {
38919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38921 arg5
= static_cast< int >(val5
);
38923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38924 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38925 wxPyEndAllowThreads(__tstate
);
38926 if (PyErr_Occurred()) SWIG_fail
;
38928 resultobj
= SWIG_Py_Void();
38935 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38936 PyObject
*resultobj
= 0;
38937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38942 int arg6
= (int) wxSIZE_AUTO
;
38955 PyObject
* obj0
= 0 ;
38956 PyObject
* obj1
= 0 ;
38957 PyObject
* obj2
= 0 ;
38958 PyObject
* obj3
= 0 ;
38959 PyObject
* obj4
= 0 ;
38960 PyObject
* obj5
= 0 ;
38961 char * kwnames
[] = {
38962 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38967 if (!SWIG_IsOK(res1
)) {
38968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38970 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38972 if (!SWIG_IsOK(ecode2
)) {
38973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38975 arg2
= static_cast< int >(val2
);
38976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38977 if (!SWIG_IsOK(ecode3
)) {
38978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38980 arg3
= static_cast< int >(val3
);
38981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38982 if (!SWIG_IsOK(ecode4
)) {
38983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38985 arg4
= static_cast< int >(val4
);
38986 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38987 if (!SWIG_IsOK(ecode5
)) {
38988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38990 arg5
= static_cast< int >(val5
);
38992 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38993 if (!SWIG_IsOK(ecode6
)) {
38994 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38996 arg6
= static_cast< int >(val6
);
38999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39000 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39004 resultobj
= SWIG_Py_Void();
39011 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39012 PyObject
*resultobj
= 0;
39013 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39024 PyObject
* obj2
= 0 ;
39025 char * kwnames
[] = {
39026 (char *) "self",(char *) "width",(char *) "height", NULL
39029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39031 if (!SWIG_IsOK(res1
)) {
39032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39034 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39036 if (!SWIG_IsOK(ecode2
)) {
39037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39039 arg2
= static_cast< int >(val2
);
39040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39041 if (!SWIG_IsOK(ecode3
)) {
39042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39044 arg3
= static_cast< int >(val3
);
39046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39047 (arg1
)->DoSetClientSize(arg2
,arg3
);
39048 wxPyEndAllowThreads(__tstate
);
39049 if (PyErr_Occurred()) SWIG_fail
;
39051 resultobj
= SWIG_Py_Void();
39058 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39059 PyObject
*resultobj
= 0;
39060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39069 PyObject
* obj0
= 0 ;
39070 PyObject
* obj1
= 0 ;
39071 PyObject
* obj2
= 0 ;
39072 char * kwnames
[] = {
39073 (char *) "self",(char *) "x",(char *) "y", NULL
39076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39078 if (!SWIG_IsOK(res1
)) {
39079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39081 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39083 if (!SWIG_IsOK(ecode2
)) {
39084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39086 arg2
= static_cast< int >(val2
);
39087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39088 if (!SWIG_IsOK(ecode3
)) {
39089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39091 arg3
= static_cast< int >(val3
);
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 resultobj
= SWIG_Py_Void();
39105 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39106 PyObject
*resultobj
= 0;
39107 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39108 int *arg2
= (int *) 0 ;
39109 int *arg3
= (int *) 0 ;
39113 int res2
= SWIG_TMPOBJ
;
39115 int res3
= SWIG_TMPOBJ
;
39116 PyObject
*swig_obj
[1] ;
39120 if (!args
) SWIG_fail
;
39121 swig_obj
[0] = args
;
39122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39123 if (!SWIG_IsOK(res1
)) {
39124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39126 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39130 wxPyEndAllowThreads(__tstate
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39133 resultobj
= SWIG_Py_Void();
39134 if (SWIG_IsTmpObj(res2
)) {
39135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39140 if (SWIG_IsTmpObj(res3
)) {
39141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39152 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39153 PyObject
*resultobj
= 0;
39154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39155 int *arg2
= (int *) 0 ;
39156 int *arg3
= (int *) 0 ;
39160 int res2
= SWIG_TMPOBJ
;
39162 int res3
= SWIG_TMPOBJ
;
39163 PyObject
*swig_obj
[1] ;
39167 if (!args
) SWIG_fail
;
39168 swig_obj
[0] = args
;
39169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39170 if (!SWIG_IsOK(res1
)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39173 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39180 resultobj
= SWIG_Py_Void();
39181 if (SWIG_IsTmpObj(res2
)) {
39182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39184 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39187 if (SWIG_IsTmpObj(res3
)) {
39188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39199 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39200 PyObject
*resultobj
= 0;
39201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39202 int *arg2
= (int *) 0 ;
39203 int *arg3
= (int *) 0 ;
39207 int res2
= SWIG_TMPOBJ
;
39209 int res3
= SWIG_TMPOBJ
;
39210 PyObject
*swig_obj
[1] ;
39214 if (!args
) SWIG_fail
;
39215 swig_obj
[0] = args
;
39216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39217 if (!SWIG_IsOK(res1
)) {
39218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39220 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39223 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39224 wxPyEndAllowThreads(__tstate
);
39225 if (PyErr_Occurred()) SWIG_fail
;
39227 resultobj
= SWIG_Py_Void();
39228 if (SWIG_IsTmpObj(res2
)) {
39229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39231 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39234 if (SWIG_IsTmpObj(res3
)) {
39235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39246 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39247 PyObject
*resultobj
= 0;
39248 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39252 PyObject
*swig_obj
[1] ;
39254 if (!args
) SWIG_fail
;
39255 swig_obj
[0] = args
;
39256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39257 if (!SWIG_IsOK(res1
)) {
39258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39260 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39263 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39264 wxPyEndAllowThreads(__tstate
);
39265 if (PyErr_Occurred()) SWIG_fail
;
39267 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39274 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39275 PyObject
*resultobj
= 0;
39276 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39280 PyObject
*swig_obj
[1] ;
39282 if (!args
) SWIG_fail
;
39283 swig_obj
[0] = args
;
39284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39285 if (!SWIG_IsOK(res1
)) {
39286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39288 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39302 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39303 PyObject
*resultobj
= 0;
39304 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39305 SwigValueWrapper
<wxVisualAttributes
> result
;
39308 PyObject
*swig_obj
[1] ;
39310 if (!args
) SWIG_fail
;
39311 swig_obj
[0] = args
;
39312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39313 if (!SWIG_IsOK(res1
)) {
39314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39316 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39319 result
= (arg1
)->GetDefaultAttributes();
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39323 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39330 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39331 PyObject
*resultobj
= 0;
39332 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39335 PyObject
*swig_obj
[1] ;
39337 if (!args
) SWIG_fail
;
39338 swig_obj
[0] = args
;
39339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39340 if (!SWIG_IsOK(res1
)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39343 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 (arg1
)->OnInternalIdle();
39347 wxPyEndAllowThreads(__tstate
);
39348 if (PyErr_Occurred()) SWIG_fail
;
39350 resultobj
= SWIG_Py_Void();
39357 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39360 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39361 return SWIG_Py_Void();
39364 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39365 return SWIG_Python_InitShadowInstance(args
);
39368 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39369 PyObject
*resultobj
= 0;
39370 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39371 int arg2
= (int) 0 ;
39372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39374 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39375 wxHelpEvent
*result
= 0 ;
39383 PyObject
* obj0
= 0 ;
39384 PyObject
* obj1
= 0 ;
39385 PyObject
* obj2
= 0 ;
39386 PyObject
* obj3
= 0 ;
39387 char * kwnames
[] = {
39388 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39394 if (!SWIG_IsOK(ecode1
)) {
39395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39397 arg1
= static_cast< wxEventType
>(val1
);
39400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39401 if (!SWIG_IsOK(ecode2
)) {
39402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39404 arg2
= static_cast< int >(val2
);
39409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39414 if (!SWIG_IsOK(ecode4
)) {
39415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39417 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39422 wxPyEndAllowThreads(__tstate
);
39423 if (PyErr_Occurred()) SWIG_fail
;
39425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39432 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39433 PyObject
*resultobj
= 0;
39434 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39438 PyObject
*swig_obj
[1] ;
39440 if (!args
) SWIG_fail
;
39441 swig_obj
[0] = args
;
39442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39443 if (!SWIG_IsOK(res1
)) {
39444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39446 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39450 wxPyEndAllowThreads(__tstate
);
39451 if (PyErr_Occurred()) SWIG_fail
;
39453 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39460 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39461 PyObject
*resultobj
= 0;
39462 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39463 wxPoint
*arg2
= 0 ;
39467 PyObject
* obj0
= 0 ;
39468 PyObject
* obj1
= 0 ;
39469 char * kwnames
[] = {
39470 (char *) "self",(char *) "pos", NULL
39473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39475 if (!SWIG_IsOK(res1
)) {
39476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39478 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39485 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39486 wxPyEndAllowThreads(__tstate
);
39487 if (PyErr_Occurred()) SWIG_fail
;
39489 resultobj
= SWIG_Py_Void();
39496 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39497 PyObject
*resultobj
= 0;
39498 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39499 wxString
*result
= 0 ;
39502 PyObject
*swig_obj
[1] ;
39504 if (!args
) SWIG_fail
;
39505 swig_obj
[0] = args
;
39506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39507 if (!SWIG_IsOK(res1
)) {
39508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39510 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39515 result
= (wxString
*) &_result_ref
;
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39522 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39524 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39533 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39534 PyObject
*resultobj
= 0;
39535 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39536 wxString
*arg2
= 0 ;
39539 bool temp2
= false ;
39540 PyObject
* obj0
= 0 ;
39541 PyObject
* obj1
= 0 ;
39542 char * kwnames
[] = {
39543 (char *) "self",(char *) "link", NULL
39546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39548 if (!SWIG_IsOK(res1
)) {
39549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39551 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39553 arg2
= wxString_in_helper(obj1
);
39554 if (arg2
== NULL
) SWIG_fail
;
39558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39559 (arg1
)->SetLink((wxString
const &)*arg2
);
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= SWIG_Py_Void();
39578 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39579 PyObject
*resultobj
= 0;
39580 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39581 wxString
*result
= 0 ;
39584 PyObject
*swig_obj
[1] ;
39586 if (!args
) SWIG_fail
;
39587 swig_obj
[0] = args
;
39588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39589 if (!SWIG_IsOK(res1
)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39592 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39597 result
= (wxString
*) &_result_ref
;
39599 wxPyEndAllowThreads(__tstate
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39615 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39616 PyObject
*resultobj
= 0;
39617 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39618 wxString
*arg2
= 0 ;
39621 bool temp2
= false ;
39622 PyObject
* obj0
= 0 ;
39623 PyObject
* obj1
= 0 ;
39624 char * kwnames
[] = {
39625 (char *) "self",(char *) "target", NULL
39628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39630 if (!SWIG_IsOK(res1
)) {
39631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39633 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39635 arg2
= wxString_in_helper(obj1
);
39636 if (arg2
== NULL
) SWIG_fail
;
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39641 (arg1
)->SetTarget((wxString
const &)*arg2
);
39642 wxPyEndAllowThreads(__tstate
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39645 resultobj
= SWIG_Py_Void();
39660 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39661 PyObject
*resultobj
= 0;
39662 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39663 wxHelpEvent::Origin result
;
39666 PyObject
*swig_obj
[1] ;
39668 if (!args
) SWIG_fail
;
39669 swig_obj
[0] = args
;
39670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39671 if (!SWIG_IsOK(res1
)) {
39672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39674 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39681 resultobj
= SWIG_From_int(static_cast< int >(result
));
39688 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39689 PyObject
*resultobj
= 0;
39690 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39691 wxHelpEvent::Origin arg2
;
39696 PyObject
* obj0
= 0 ;
39697 PyObject
* obj1
= 0 ;
39698 char * kwnames
[] = {
39699 (char *) "self",(char *) "origin", NULL
39702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39704 if (!SWIG_IsOK(res1
)) {
39705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39707 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39709 if (!SWIG_IsOK(ecode2
)) {
39710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39712 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39715 (arg1
)->SetOrigin(arg2
);
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39719 resultobj
= SWIG_Py_Void();
39726 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39729 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39730 return SWIG_Py_Void();
39733 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39734 return SWIG_Python_InitShadowInstance(args
);
39737 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
= 0;
39739 wxWindow
*arg1
= (wxWindow
*) NULL
;
39740 bool arg2
= (bool) true ;
39741 wxContextHelp
*result
= 0 ;
39746 PyObject
* obj0
= 0 ;
39747 PyObject
* obj1
= 0 ;
39748 char * kwnames
[] = {
39749 (char *) "window",(char *) "doNow", NULL
39752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39755 if (!SWIG_IsOK(res1
)) {
39756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39758 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39761 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39762 if (!SWIG_IsOK(ecode2
)) {
39763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39765 arg2
= static_cast< bool >(val2
);
39768 if (!wxPyCheckForApp()) SWIG_fail
;
39769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39770 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39781 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39782 PyObject
*resultobj
= 0;
39783 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39786 PyObject
*swig_obj
[1] ;
39788 if (!args
) SWIG_fail
;
39789 swig_obj
[0] = args
;
39790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39791 if (!SWIG_IsOK(res1
)) {
39792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39794 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39799 wxPyEndAllowThreads(__tstate
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39802 resultobj
= SWIG_Py_Void();
39809 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39810 PyObject
*resultobj
= 0;
39811 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39812 wxWindow
*arg2
= (wxWindow
*) NULL
;
39818 PyObject
* obj0
= 0 ;
39819 PyObject
* obj1
= 0 ;
39820 char * kwnames
[] = {
39821 (char *) "self",(char *) "window", NULL
39824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39826 if (!SWIG_IsOK(res1
)) {
39827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39829 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39832 if (!SWIG_IsOK(res2
)) {
39833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39852 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39853 PyObject
*resultobj
= 0;
39854 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39858 PyObject
*swig_obj
[1] ;
39860 if (!args
) SWIG_fail
;
39861 swig_obj
[0] = args
;
39862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39863 if (!SWIG_IsOK(res1
)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39866 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39869 result
= (bool)(arg1
)->EndContextHelp();
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39882 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39885 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39886 return SWIG_Py_Void();
39889 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39890 return SWIG_Python_InitShadowInstance(args
);
39893 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
= 0;
39895 wxWindow
*arg1
= (wxWindow
*) 0 ;
39896 int arg2
= (int) wxID_CONTEXT_HELP
;
39897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39901 long arg5
= (long) wxBU_AUTODRAW
;
39902 wxContextHelpButton
*result
= 0 ;
39911 PyObject
* obj0
= 0 ;
39912 PyObject
* obj1
= 0 ;
39913 PyObject
* obj2
= 0 ;
39914 PyObject
* obj3
= 0 ;
39915 PyObject
* obj4
= 0 ;
39916 char * kwnames
[] = {
39917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39922 if (!SWIG_IsOK(res1
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39928 if (!SWIG_IsOK(ecode2
)) {
39929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39931 arg2
= static_cast< int >(val2
);
39936 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39942 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39946 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39947 if (!SWIG_IsOK(ecode5
)) {
39948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39950 arg5
= static_cast< long >(val5
);
39953 if (!wxPyCheckForApp()) SWIG_fail
;
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39966 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39969 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39970 return SWIG_Py_Void();
39973 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39974 return SWIG_Python_InitShadowInstance(args
);
39977 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39978 PyObject
*resultobj
= 0;
39979 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39982 PyObject
*swig_obj
[1] ;
39984 if (!args
) SWIG_fail
;
39985 swig_obj
[0] = args
;
39986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39987 if (!SWIG_IsOK(res1
)) {
39988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39990 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39995 wxPyEndAllowThreads(__tstate
);
39996 if (PyErr_Occurred()) SWIG_fail
;
39998 resultobj
= SWIG_Py_Void();
40005 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40006 PyObject
*resultobj
= 0;
40007 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40008 wxHelpProvider
*result
= 0 ;
40010 PyObject
* obj0
= 0 ;
40011 char * kwnames
[] = {
40012 (char *) "helpProvider", NULL
40015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40016 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40017 if (!SWIG_IsOK(res1
)) {
40018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40022 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40023 wxPyEndAllowThreads(__tstate
);
40024 if (PyErr_Occurred()) SWIG_fail
;
40026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40033 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40034 PyObject
*resultobj
= 0;
40035 wxHelpProvider
*result
= 0 ;
40037 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40040 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40051 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40052 PyObject
*resultobj
= 0;
40053 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40054 wxWindow
*arg2
= (wxWindow
*) 0 ;
40060 PyObject
* obj0
= 0 ;
40061 PyObject
* obj1
= 0 ;
40062 char * kwnames
[] = {
40063 (char *) "self",(char *) "window", NULL
40066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40068 if (!SWIG_IsOK(res1
)) {
40069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40071 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40073 if (!SWIG_IsOK(res2
)) {
40074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40080 wxPyEndAllowThreads(__tstate
);
40081 if (PyErr_Occurred()) SWIG_fail
;
40085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40096 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
= 0;
40098 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40099 wxWindow
*arg2
= (wxWindow
*) 0 ;
40105 PyObject
* obj0
= 0 ;
40106 PyObject
* obj1
= 0 ;
40107 char * kwnames
[] = {
40108 (char *) "self",(char *) "window", NULL
40111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40113 if (!SWIG_IsOK(res1
)) {
40114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40116 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40118 if (!SWIG_IsOK(res2
)) {
40119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40124 result
= (bool)(arg1
)->ShowHelp(arg2
);
40125 wxPyEndAllowThreads(__tstate
);
40126 if (PyErr_Occurred()) SWIG_fail
;
40129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40137 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
= 0;
40139 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40140 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40141 wxPoint
*arg3
= 0 ;
40142 wxHelpEvent::Origin arg4
;
40151 PyObject
* obj0
= 0 ;
40152 PyObject
* obj1
= 0 ;
40153 PyObject
* obj2
= 0 ;
40154 PyObject
* obj3
= 0 ;
40155 char * kwnames
[] = {
40156 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40161 if (!SWIG_IsOK(res1
)) {
40162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40164 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40166 if (!SWIG_IsOK(res2
)) {
40167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40169 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40175 if (!SWIG_IsOK(ecode4
)) {
40176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40178 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40181 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40194 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40195 PyObject
*resultobj
= 0;
40196 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40197 wxWindow
*arg2
= (wxWindow
*) 0 ;
40198 wxString
*arg3
= 0 ;
40203 bool temp3
= false ;
40204 PyObject
* obj0
= 0 ;
40205 PyObject
* obj1
= 0 ;
40206 PyObject
* obj2
= 0 ;
40207 char * kwnames
[] = {
40208 (char *) "self",(char *) "window",(char *) "text", NULL
40211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40213 if (!SWIG_IsOK(res1
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40216 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40218 if (!SWIG_IsOK(res2
)) {
40219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40223 arg3
= wxString_in_helper(obj2
);
40224 if (arg3
== NULL
) SWIG_fail
;
40228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40229 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40233 resultobj
= SWIG_Py_Void();
40248 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40249 PyObject
*resultobj
= 0;
40250 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40252 wxString
*arg3
= 0 ;
40257 bool temp3
= false ;
40258 PyObject
* obj0
= 0 ;
40259 PyObject
* obj1
= 0 ;
40260 PyObject
* obj2
= 0 ;
40261 char * kwnames
[] = {
40262 (char *) "self",(char *) "id",(char *) "text", NULL
40265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40267 if (!SWIG_IsOK(res1
)) {
40268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40270 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40272 if (!SWIG_IsOK(ecode2
)) {
40273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40275 arg2
= static_cast< int >(val2
);
40277 arg3
= wxString_in_helper(obj2
);
40278 if (arg3
== NULL
) SWIG_fail
;
40282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40287 resultobj
= SWIG_Py_Void();
40302 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40303 PyObject
*resultobj
= 0;
40304 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40305 wxWindow
*arg2
= (wxWindow
*) 0 ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 char * kwnames
[] = {
40313 (char *) "self",(char *) "window", NULL
40316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40318 if (!SWIG_IsOK(res1
)) {
40319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40321 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40323 if (!SWIG_IsOK(res2
)) {
40324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40329 (arg1
)->RemoveHelp(arg2
);
40330 wxPyEndAllowThreads(__tstate
);
40331 if (PyErr_Occurred()) SWIG_fail
;
40333 resultobj
= SWIG_Py_Void();
40340 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40341 PyObject
*resultobj
= 0;
40342 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40345 PyObject
*swig_obj
[1] ;
40347 if (!args
) SWIG_fail
;
40348 swig_obj
[0] = args
;
40349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40350 if (!SWIG_IsOK(res1
)) {
40351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40353 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40356 wxHelpProvider_Destroy(arg1
);
40357 wxPyEndAllowThreads(__tstate
);
40358 if (PyErr_Occurred()) SWIG_fail
;
40360 resultobj
= SWIG_Py_Void();
40367 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40370 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40371 return SWIG_Py_Void();
40374 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40375 PyObject
*resultobj
= 0;
40376 wxSimpleHelpProvider
*result
= 0 ;
40378 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40381 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40392 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40395 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40396 return SWIG_Py_Void();
40399 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40400 return SWIG_Python_InitShadowInstance(args
);
40403 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
= 0;
40405 wxBitmap
*arg1
= 0 ;
40406 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40407 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40408 wxGenericDragImage
*result
= 0 ;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 char * kwnames
[] = {
40416 (char *) "image",(char *) "cursor", NULL
40419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40420 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40421 if (!SWIG_IsOK(res1
)) {
40422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40427 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40430 if (!SWIG_IsOK(res2
)) {
40431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40436 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40439 if (!wxPyCheckForApp()) SWIG_fail
;
40440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40441 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40442 wxPyEndAllowThreads(__tstate
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40452 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
= 0;
40455 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40456 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40457 wxGenericDragImage
*result
= 0 ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 char * kwnames
[] = {
40465 (char *) "image",(char *) "cursor", NULL
40468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40469 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40470 if (!SWIG_IsOK(res1
)) {
40471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40476 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40479 if (!SWIG_IsOK(res2
)) {
40480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40485 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40488 if (!wxPyCheckForApp()) SWIG_fail
;
40489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40490 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40491 wxPyEndAllowThreads(__tstate
);
40492 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40501 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40502 PyObject
*resultobj
= 0;
40503 wxString
*arg1
= 0 ;
40504 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40505 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40506 wxGenericDragImage
*result
= 0 ;
40507 bool temp1
= false ;
40510 PyObject
* obj0
= 0 ;
40511 PyObject
* obj1
= 0 ;
40512 char * kwnames
[] = {
40513 (char *) "str",(char *) "cursor", NULL
40516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40518 arg1
= wxString_in_helper(obj0
);
40519 if (arg1
== NULL
) SWIG_fail
;
40523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40524 if (!SWIG_IsOK(res2
)) {
40525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40530 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40533 if (!wxPyCheckForApp()) SWIG_fail
;
40534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40535 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40536 wxPyEndAllowThreads(__tstate
);
40537 if (PyErr_Occurred()) SWIG_fail
;
40539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40554 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40555 PyObject
*resultobj
= 0;
40556 wxPyTreeCtrl
*arg1
= 0 ;
40557 wxTreeItemId
*arg2
= 0 ;
40558 wxGenericDragImage
*result
= 0 ;
40563 PyObject
* obj0
= 0 ;
40564 PyObject
* obj1
= 0 ;
40565 char * kwnames
[] = {
40566 (char *) "treeCtrl",(char *) "id", NULL
40569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40570 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40571 if (!SWIG_IsOK(res1
)) {
40572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40579 if (!SWIG_IsOK(res2
)) {
40580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40585 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40587 if (!wxPyCheckForApp()) SWIG_fail
;
40588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40589 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40590 wxPyEndAllowThreads(__tstate
);
40591 if (PyErr_Occurred()) SWIG_fail
;
40593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40600 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
= 0;
40602 wxPyListCtrl
*arg1
= 0 ;
40604 wxGenericDragImage
*result
= 0 ;
40609 PyObject
* obj0
= 0 ;
40610 PyObject
* obj1
= 0 ;
40611 char * kwnames
[] = {
40612 (char *) "listCtrl",(char *) "id", NULL
40615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40617 if (!SWIG_IsOK(res1
)) {
40618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40625 if (!SWIG_IsOK(ecode2
)) {
40626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40628 arg2
= static_cast< long >(val2
);
40630 if (!wxPyCheckForApp()) SWIG_fail
;
40631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40632 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40643 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40644 PyObject
*resultobj
= 0;
40645 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40648 PyObject
*swig_obj
[1] ;
40650 if (!args
) SWIG_fail
;
40651 swig_obj
[0] = args
;
40652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40653 if (!SWIG_IsOK(res1
)) {
40654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40656 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 wxPyEndAllowThreads(__tstate
);
40662 if (PyErr_Occurred()) SWIG_fail
;
40664 resultobj
= SWIG_Py_Void();
40671 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40672 PyObject
*resultobj
= 0;
40673 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40674 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40679 PyObject
* obj0
= 0 ;
40680 PyObject
* obj1
= 0 ;
40681 char * kwnames
[] = {
40682 (char *) "self",(char *) "bitmap", NULL
40685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40687 if (!SWIG_IsOK(res1
)) {
40688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40690 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40692 if (!SWIG_IsOK(res2
)) {
40693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40695 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40698 (arg1
)->SetBackingBitmap(arg2
);
40699 wxPyEndAllowThreads(__tstate
);
40700 if (PyErr_Occurred()) SWIG_fail
;
40702 resultobj
= SWIG_Py_Void();
40709 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40710 PyObject
*resultobj
= 0;
40711 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40712 wxPoint
*arg2
= 0 ;
40713 wxWindow
*arg3
= (wxWindow
*) 0 ;
40714 bool arg4
= (bool) false ;
40715 wxRect
*arg5
= (wxRect
*) NULL
;
40726 PyObject
* obj0
= 0 ;
40727 PyObject
* obj1
= 0 ;
40728 PyObject
* obj2
= 0 ;
40729 PyObject
* obj3
= 0 ;
40730 PyObject
* obj4
= 0 ;
40731 char * kwnames
[] = {
40732 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40737 if (!SWIG_IsOK(res1
)) {
40738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40740 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40745 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40746 if (!SWIG_IsOK(res3
)) {
40747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40749 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40751 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40752 if (!SWIG_IsOK(ecode4
)) {
40753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40755 arg4
= static_cast< bool >(val4
);
40758 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40759 if (!SWIG_IsOK(res5
)) {
40760 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40762 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40767 wxPyEndAllowThreads(__tstate
);
40768 if (PyErr_Occurred()) SWIG_fail
;
40771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40779 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40780 PyObject
*resultobj
= 0;
40781 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40782 wxPoint
*arg2
= 0 ;
40783 wxWindow
*arg3
= (wxWindow
*) 0 ;
40784 wxWindow
*arg4
= (wxWindow
*) 0 ;
40793 PyObject
* obj0
= 0 ;
40794 PyObject
* obj1
= 0 ;
40795 PyObject
* obj2
= 0 ;
40796 PyObject
* obj3
= 0 ;
40797 char * kwnames
[] = {
40798 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40803 if (!SWIG_IsOK(res1
)) {
40804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40806 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40811 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40812 if (!SWIG_IsOK(res3
)) {
40813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40815 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40816 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40817 if (!SWIG_IsOK(res4
)) {
40818 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40820 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40824 wxPyEndAllowThreads(__tstate
);
40825 if (PyErr_Occurred()) SWIG_fail
;
40828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40836 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40837 PyObject
*resultobj
= 0;
40838 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40842 PyObject
*swig_obj
[1] ;
40844 if (!args
) SWIG_fail
;
40845 swig_obj
[0] = args
;
40846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40847 if (!SWIG_IsOK(res1
)) {
40848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40850 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (bool)(arg1
)->EndDrag();
40854 wxPyEndAllowThreads(__tstate
);
40855 if (PyErr_Occurred()) SWIG_fail
;
40858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40866 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40867 PyObject
*resultobj
= 0;
40868 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40869 wxPoint
*arg2
= 0 ;
40874 PyObject
* obj0
= 0 ;
40875 PyObject
* obj1
= 0 ;
40876 char * kwnames
[] = {
40877 (char *) "self",(char *) "pt", NULL
40880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40882 if (!SWIG_IsOK(res1
)) {
40883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40885 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40892 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40893 wxPyEndAllowThreads(__tstate
);
40894 if (PyErr_Occurred()) SWIG_fail
;
40897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40905 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40906 PyObject
*resultobj
= 0;
40907 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40911 PyObject
*swig_obj
[1] ;
40913 if (!args
) SWIG_fail
;
40914 swig_obj
[0] = args
;
40915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40916 if (!SWIG_IsOK(res1
)) {
40917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40919 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40922 result
= (bool)(arg1
)->Show();
40923 wxPyEndAllowThreads(__tstate
);
40924 if (PyErr_Occurred()) SWIG_fail
;
40927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40935 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40936 PyObject
*resultobj
= 0;
40937 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40941 PyObject
*swig_obj
[1] ;
40943 if (!args
) SWIG_fail
;
40944 swig_obj
[0] = args
;
40945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40946 if (!SWIG_IsOK(res1
)) {
40947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40949 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= (bool)(arg1
)->Hide();
40953 wxPyEndAllowThreads(__tstate
);
40954 if (PyErr_Occurred()) SWIG_fail
;
40957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40965 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40966 PyObject
*resultobj
= 0;
40967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40968 wxPoint
*arg2
= 0 ;
40973 PyObject
* obj0
= 0 ;
40974 PyObject
* obj1
= 0 ;
40975 char * kwnames
[] = {
40976 (char *) "self",(char *) "pos", NULL
40979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40981 if (!SWIG_IsOK(res1
)) {
40982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40984 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40992 wxPyEndAllowThreads(__tstate
);
40993 if (PyErr_Occurred()) SWIG_fail
;
40995 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41002 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41003 PyObject
*resultobj
= 0;
41004 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41006 wxPoint
*arg3
= 0 ;
41013 PyObject
* obj0
= 0 ;
41014 PyObject
* obj1
= 0 ;
41015 PyObject
* obj2
= 0 ;
41016 char * kwnames
[] = {
41017 (char *) "self",(char *) "dc",(char *) "pos", NULL
41020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41022 if (!SWIG_IsOK(res1
)) {
41023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41025 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41027 if (!SWIG_IsOK(res2
)) {
41028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41033 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41040 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41041 wxPyEndAllowThreads(__tstate
);
41042 if (PyErr_Occurred()) SWIG_fail
;
41045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41053 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41054 PyObject
*resultobj
= 0;
41055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41057 wxMemoryDC
*arg3
= 0 ;
41069 PyObject
* obj0
= 0 ;
41070 PyObject
* obj1
= 0 ;
41071 PyObject
* obj2
= 0 ;
41072 PyObject
* obj3
= 0 ;
41073 PyObject
* obj4
= 0 ;
41074 char * kwnames
[] = {
41075 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41080 if (!SWIG_IsOK(res1
)) {
41081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41083 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41085 if (!SWIG_IsOK(res2
)) {
41086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41091 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41092 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41093 if (!SWIG_IsOK(res3
)) {
41094 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41099 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41102 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41106 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41110 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41111 wxPyEndAllowThreads(__tstate
);
41112 if (PyErr_Occurred()) SWIG_fail
;
41115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41123 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41124 PyObject
*resultobj
= 0;
41125 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41126 wxPoint
*arg2
= 0 ;
41127 wxPoint
*arg3
= 0 ;
41139 PyObject
* obj0
= 0 ;
41140 PyObject
* obj1
= 0 ;
41141 PyObject
* obj2
= 0 ;
41142 PyObject
* obj3
= 0 ;
41143 PyObject
* obj4
= 0 ;
41144 char * kwnames
[] = {
41145 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41150 if (!SWIG_IsOK(res1
)) {
41151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41153 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41162 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41163 if (!SWIG_IsOK(ecode4
)) {
41164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41166 arg4
= static_cast< bool >(val4
);
41167 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41168 if (!SWIG_IsOK(ecode5
)) {
41169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41171 arg5
= static_cast< bool >(val5
);
41173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41174 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41175 wxPyEndAllowThreads(__tstate
);
41176 if (PyErr_Occurred()) SWIG_fail
;
41179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41187 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41190 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41191 return SWIG_Py_Void();
41194 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41195 return SWIG_Python_InitShadowInstance(args
);
41198 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41199 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41204 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41205 PyObject
*pyobj
= 0;
41209 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41211 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41218 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41219 PyObject
*resultobj
= 0;
41220 wxWindow
*arg1
= (wxWindow
*) 0 ;
41221 int arg2
= (int) -1 ;
41222 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41223 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41228 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41231 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41233 wxDatePickerCtrl
*result
= 0 ;
41246 bool temp8
= false ;
41247 PyObject
* obj0
= 0 ;
41248 PyObject
* obj1
= 0 ;
41249 PyObject
* obj2
= 0 ;
41250 PyObject
* obj3
= 0 ;
41251 PyObject
* obj4
= 0 ;
41252 PyObject
* obj5
= 0 ;
41253 PyObject
* obj6
= 0 ;
41254 PyObject
* obj7
= 0 ;
41255 char * kwnames
[] = {
41256 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41261 if (!SWIG_IsOK(res1
)) {
41262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41264 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41267 if (!SWIG_IsOK(ecode2
)) {
41268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41270 arg2
= static_cast< int >(val2
);
41273 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41274 if (!SWIG_IsOK(res3
)) {
41275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41280 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41285 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41291 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41295 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41296 if (!SWIG_IsOK(ecode6
)) {
41297 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41299 arg6
= static_cast< long >(val6
);
41302 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41303 if (!SWIG_IsOK(res7
)) {
41304 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41309 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41313 arg8
= wxString_in_helper(obj7
);
41314 if (arg8
== NULL
) SWIG_fail
;
41319 if (!wxPyCheckForApp()) SWIG_fail
;
41320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41321 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41322 wxPyEndAllowThreads(__tstate
);
41323 if (PyErr_Occurred()) SWIG_fail
;
41325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41340 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41341 PyObject
*resultobj
= 0;
41342 wxDatePickerCtrl
*result
= 0 ;
41344 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41346 if (!wxPyCheckForApp()) SWIG_fail
;
41347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41348 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41349 wxPyEndAllowThreads(__tstate
);
41350 if (PyErr_Occurred()) SWIG_fail
;
41352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41359 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41360 PyObject
*resultobj
= 0;
41361 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41362 wxWindow
*arg2
= (wxWindow
*) 0 ;
41363 int arg3
= (int) -1 ;
41364 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41365 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41366 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41367 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41368 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41369 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41370 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41371 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41372 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41373 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41374 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41390 bool temp9
= false ;
41391 PyObject
* obj0
= 0 ;
41392 PyObject
* obj1
= 0 ;
41393 PyObject
* obj2
= 0 ;
41394 PyObject
* obj3
= 0 ;
41395 PyObject
* obj4
= 0 ;
41396 PyObject
* obj5
= 0 ;
41397 PyObject
* obj6
= 0 ;
41398 PyObject
* obj7
= 0 ;
41399 PyObject
* obj8
= 0 ;
41400 char * kwnames
[] = {
41401 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41406 if (!SWIG_IsOK(res1
)) {
41407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41409 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41411 if (!SWIG_IsOK(res2
)) {
41412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41417 if (!SWIG_IsOK(ecode3
)) {
41418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41420 arg3
= static_cast< int >(val3
);
41423 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41424 if (!SWIG_IsOK(res4
)) {
41425 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41430 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41446 if (!SWIG_IsOK(ecode7
)) {
41447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41449 arg7
= static_cast< long >(val7
);
41452 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41453 if (!SWIG_IsOK(res8
)) {
41454 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41459 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41463 arg9
= wxString_in_helper(obj8
);
41464 if (arg9
== NULL
) SWIG_fail
;
41469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41491 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41492 PyObject
*resultobj
= 0;
41493 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41494 wxDateTime
*arg2
= 0 ;
41499 PyObject
* obj0
= 0 ;
41500 PyObject
* obj1
= 0 ;
41501 char * kwnames
[] = {
41502 (char *) "self",(char *) "dt", NULL
41505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41507 if (!SWIG_IsOK(res1
)) {
41508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41510 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41512 if (!SWIG_IsOK(res2
)) {
41513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41518 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41521 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41522 wxPyEndAllowThreads(__tstate
);
41523 if (PyErr_Occurred()) SWIG_fail
;
41525 resultobj
= SWIG_Py_Void();
41532 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41533 PyObject
*resultobj
= 0;
41534 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41538 PyObject
*swig_obj
[1] ;
41540 if (!args
) SWIG_fail
;
41541 swig_obj
[0] = args
;
41542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41543 if (!SWIG_IsOK(res1
)) {
41544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41546 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41549 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41553 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41560 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41561 PyObject
*resultobj
= 0;
41562 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41563 wxDateTime
*arg2
= 0 ;
41564 wxDateTime
*arg3
= 0 ;
41571 PyObject
* obj0
= 0 ;
41572 PyObject
* obj1
= 0 ;
41573 PyObject
* obj2
= 0 ;
41574 char * kwnames
[] = {
41575 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41580 if (!SWIG_IsOK(res1
)) {
41581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41583 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41585 if (!SWIG_IsOK(res2
)) {
41586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41591 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41592 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41593 if (!SWIG_IsOK(res3
)) {
41594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41599 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41602 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41603 wxPyEndAllowThreads(__tstate
);
41604 if (PyErr_Occurred()) SWIG_fail
;
41606 resultobj
= SWIG_Py_Void();
41613 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41614 PyObject
*resultobj
= 0;
41615 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41619 PyObject
*swig_obj
[1] ;
41621 if (!args
) SWIG_fail
;
41622 swig_obj
[0] = args
;
41623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41624 if (!SWIG_IsOK(res1
)) {
41625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41627 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41630 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41631 wxPyEndAllowThreads(__tstate
);
41632 if (PyErr_Occurred()) SWIG_fail
;
41634 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41641 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41642 PyObject
*resultobj
= 0;
41643 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41647 PyObject
*swig_obj
[1] ;
41649 if (!args
) SWIG_fail
;
41650 swig_obj
[0] = args
;
41651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41652 if (!SWIG_IsOK(res1
)) {
41653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41655 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41658 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41659 wxPyEndAllowThreads(__tstate
);
41660 if (PyErr_Occurred()) SWIG_fail
;
41662 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41669 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41672 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41673 return SWIG_Py_Void();
41676 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41677 return SWIG_Python_InitShadowInstance(args
);
41680 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41681 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41686 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41687 PyObject
*pyobj
= 0;
41691 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41693 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41700 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41701 PyObject
*resultobj
= 0;
41702 wxWindow
*arg1
= (wxWindow
*) 0 ;
41704 wxString
*arg3
= 0 ;
41705 wxString
*arg4
= 0 ;
41706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41708 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41709 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41710 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41711 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41712 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41713 wxHyperlinkCtrl
*result
= 0 ;
41718 bool temp3
= false ;
41719 bool temp4
= false ;
41724 bool temp8
= false ;
41725 PyObject
* obj0
= 0 ;
41726 PyObject
* obj1
= 0 ;
41727 PyObject
* obj2
= 0 ;
41728 PyObject
* obj3
= 0 ;
41729 PyObject
* obj4
= 0 ;
41730 PyObject
* obj5
= 0 ;
41731 PyObject
* obj6
= 0 ;
41732 PyObject
* obj7
= 0 ;
41733 char * kwnames
[] = {
41734 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41739 if (!SWIG_IsOK(res1
)) {
41740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41744 if (!SWIG_IsOK(ecode2
)) {
41745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41747 arg2
= static_cast< int >(val2
);
41749 arg3
= wxString_in_helper(obj2
);
41750 if (arg3
== NULL
) SWIG_fail
;
41754 arg4
= wxString_in_helper(obj3
);
41755 if (arg4
== NULL
) SWIG_fail
;
41761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41771 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41772 if (!SWIG_IsOK(ecode7
)) {
41773 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41775 arg7
= static_cast< long >(val7
);
41779 arg8
= wxString_in_helper(obj7
);
41780 if (arg8
== NULL
) SWIG_fail
;
41785 if (!wxPyCheckForApp()) SWIG_fail
;
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41788 wxPyEndAllowThreads(__tstate
);
41789 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41822 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41823 PyObject
*resultobj
= 0;
41824 wxHyperlinkCtrl
*result
= 0 ;
41826 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41828 if (!wxPyCheckForApp()) SWIG_fail
;
41829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41830 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41831 wxPyEndAllowThreads(__tstate
);
41832 if (PyErr_Occurred()) SWIG_fail
;
41834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41841 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41842 PyObject
*resultobj
= 0;
41843 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41844 wxWindow
*arg2
= (wxWindow
*) 0 ;
41846 wxString
*arg4
= 0 ;
41847 wxString
*arg5
= 0 ;
41848 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41849 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41850 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41851 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41852 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41853 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41854 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41862 bool temp4
= false ;
41863 bool temp5
= false ;
41868 bool temp9
= false ;
41869 PyObject
* obj0
= 0 ;
41870 PyObject
* obj1
= 0 ;
41871 PyObject
* obj2
= 0 ;
41872 PyObject
* obj3
= 0 ;
41873 PyObject
* obj4
= 0 ;
41874 PyObject
* obj5
= 0 ;
41875 PyObject
* obj6
= 0 ;
41876 PyObject
* obj7
= 0 ;
41877 PyObject
* obj8
= 0 ;
41878 char * kwnames
[] = {
41879 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41884 if (!SWIG_IsOK(res1
)) {
41885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41887 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41889 if (!SWIG_IsOK(res2
)) {
41890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41894 if (!SWIG_IsOK(ecode3
)) {
41895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41897 arg3
= static_cast< int >(val3
);
41899 arg4
= wxString_in_helper(obj3
);
41900 if (arg4
== NULL
) SWIG_fail
;
41904 arg5
= wxString_in_helper(obj4
);
41905 if (arg5
== NULL
) SWIG_fail
;
41911 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41917 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41921 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41922 if (!SWIG_IsOK(ecode8
)) {
41923 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41925 arg8
= static_cast< long >(val8
);
41929 arg9
= wxString_in_helper(obj8
);
41930 if (arg9
== NULL
) SWIG_fail
;
41935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41937 wxPyEndAllowThreads(__tstate
);
41938 if (PyErr_Occurred()) SWIG_fail
;
41941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41973 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41974 PyObject
*resultobj
= 0;
41975 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41979 PyObject
*swig_obj
[1] ;
41981 if (!args
) SWIG_fail
;
41982 swig_obj
[0] = args
;
41983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41984 if (!SWIG_IsOK(res1
)) {
41985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41987 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41990 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41991 wxPyEndAllowThreads(__tstate
);
41992 if (PyErr_Occurred()) SWIG_fail
;
41994 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42001 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42002 PyObject
*resultobj
= 0;
42003 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42004 wxColour
*arg2
= 0 ;
42008 PyObject
* obj0
= 0 ;
42009 PyObject
* obj1
= 0 ;
42010 char * kwnames
[] = {
42011 (char *) "self",(char *) "colour", NULL
42014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42016 if (!SWIG_IsOK(res1
)) {
42017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42019 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42026 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42027 wxPyEndAllowThreads(__tstate
);
42028 if (PyErr_Occurred()) SWIG_fail
;
42030 resultobj
= SWIG_Py_Void();
42037 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42038 PyObject
*resultobj
= 0;
42039 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42043 PyObject
*swig_obj
[1] ;
42045 if (!args
) SWIG_fail
;
42046 swig_obj
[0] = args
;
42047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42048 if (!SWIG_IsOK(res1
)) {
42049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42051 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42054 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42055 wxPyEndAllowThreads(__tstate
);
42056 if (PyErr_Occurred()) SWIG_fail
;
42058 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42065 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42066 PyObject
*resultobj
= 0;
42067 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42068 wxColour
*arg2
= 0 ;
42072 PyObject
* obj0
= 0 ;
42073 PyObject
* obj1
= 0 ;
42074 char * kwnames
[] = {
42075 (char *) "self",(char *) "colour", NULL
42078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42080 if (!SWIG_IsOK(res1
)) {
42081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42083 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42090 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42091 wxPyEndAllowThreads(__tstate
);
42092 if (PyErr_Occurred()) SWIG_fail
;
42094 resultobj
= SWIG_Py_Void();
42101 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42102 PyObject
*resultobj
= 0;
42103 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42107 PyObject
*swig_obj
[1] ;
42109 if (!args
) SWIG_fail
;
42110 swig_obj
[0] = args
;
42111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42112 if (!SWIG_IsOK(res1
)) {
42113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42115 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42118 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42119 wxPyEndAllowThreads(__tstate
);
42120 if (PyErr_Occurred()) SWIG_fail
;
42122 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42129 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42130 PyObject
*resultobj
= 0;
42131 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42132 wxColour
*arg2
= 0 ;
42136 PyObject
* obj0
= 0 ;
42137 PyObject
* obj1
= 0 ;
42138 char * kwnames
[] = {
42139 (char *) "self",(char *) "colour", NULL
42142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42144 if (!SWIG_IsOK(res1
)) {
42145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42147 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42154 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42155 wxPyEndAllowThreads(__tstate
);
42156 if (PyErr_Occurred()) SWIG_fail
;
42158 resultobj
= SWIG_Py_Void();
42165 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42166 PyObject
*resultobj
= 0;
42167 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42171 PyObject
*swig_obj
[1] ;
42173 if (!args
) SWIG_fail
;
42174 swig_obj
[0] = args
;
42175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42176 if (!SWIG_IsOK(res1
)) {
42177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42179 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42182 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42183 wxPyEndAllowThreads(__tstate
);
42184 if (PyErr_Occurred()) SWIG_fail
;
42188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42199 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42200 PyObject
*resultobj
= 0;
42201 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42202 wxString
*arg2
= 0 ;
42205 bool temp2
= false ;
42206 PyObject
* obj0
= 0 ;
42207 PyObject
* obj1
= 0 ;
42208 char * kwnames
[] = {
42209 (char *) "self",(char *) "url", NULL
42212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42214 if (!SWIG_IsOK(res1
)) {
42215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42217 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42219 arg2
= wxString_in_helper(obj1
);
42220 if (arg2
== NULL
) SWIG_fail
;
42224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42225 (arg1
)->SetURL((wxString
const &)*arg2
);
42226 wxPyEndAllowThreads(__tstate
);
42227 if (PyErr_Occurred()) SWIG_fail
;
42229 resultobj
= SWIG_Py_Void();
42244 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42245 PyObject
*resultobj
= 0;
42246 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42247 bool arg2
= (bool) true ;
42252 PyObject
* obj0
= 0 ;
42253 PyObject
* obj1
= 0 ;
42254 char * kwnames
[] = {
42255 (char *) "self",(char *) "visited", NULL
42258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42260 if (!SWIG_IsOK(res1
)) {
42261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42263 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42266 if (!SWIG_IsOK(ecode2
)) {
42267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42269 arg2
= static_cast< bool >(val2
);
42272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42273 (arg1
)->SetVisited(arg2
);
42274 wxPyEndAllowThreads(__tstate
);
42275 if (PyErr_Occurred()) SWIG_fail
;
42277 resultobj
= SWIG_Py_Void();
42284 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42285 PyObject
*resultobj
= 0;
42286 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42290 PyObject
*swig_obj
[1] ;
42292 if (!args
) SWIG_fail
;
42293 swig_obj
[0] = args
;
42294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42295 if (!SWIG_IsOK(res1
)) {
42296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42298 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42301 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42302 wxPyEndAllowThreads(__tstate
);
42303 if (PyErr_Occurred()) SWIG_fail
;
42306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42314 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42317 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42318 return SWIG_Py_Void();
42321 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42322 return SWIG_Python_InitShadowInstance(args
);
42325 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42326 PyObject
*resultobj
= 0;
42327 wxObject
*arg1
= (wxObject
*) 0 ;
42329 wxString
*arg3
= 0 ;
42330 wxHyperlinkEvent
*result
= 0 ;
42335 bool temp3
= false ;
42336 PyObject
* obj0
= 0 ;
42337 PyObject
* obj1
= 0 ;
42338 PyObject
* obj2
= 0 ;
42339 char * kwnames
[] = {
42340 (char *) "generator",(char *) "id",(char *) "url", NULL
42343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42345 if (!SWIG_IsOK(res1
)) {
42346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42348 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42350 if (!SWIG_IsOK(ecode2
)) {
42351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42353 arg2
= static_cast< int >(val2
);
42355 arg3
= wxString_in_helper(obj2
);
42356 if (arg3
== NULL
) SWIG_fail
;
42360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42361 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42362 wxPyEndAllowThreads(__tstate
);
42363 if (PyErr_Occurred()) SWIG_fail
;
42365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42380 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42381 PyObject
*resultobj
= 0;
42382 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42386 PyObject
*swig_obj
[1] ;
42388 if (!args
) SWIG_fail
;
42389 swig_obj
[0] = args
;
42390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42391 if (!SWIG_IsOK(res1
)) {
42392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42394 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42397 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42398 wxPyEndAllowThreads(__tstate
);
42399 if (PyErr_Occurred()) SWIG_fail
;
42403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42414 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42415 PyObject
*resultobj
= 0;
42416 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42417 wxString
*arg2
= 0 ;
42420 bool temp2
= false ;
42421 PyObject
* obj0
= 0 ;
42422 PyObject
* obj1
= 0 ;
42423 char * kwnames
[] = {
42424 (char *) "self",(char *) "url", NULL
42427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42429 if (!SWIG_IsOK(res1
)) {
42430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42432 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42434 arg2
= wxString_in_helper(obj1
);
42435 if (arg2
== NULL
) SWIG_fail
;
42439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42440 (arg1
)->SetURL((wxString
const &)*arg2
);
42441 wxPyEndAllowThreads(__tstate
);
42442 if (PyErr_Occurred()) SWIG_fail
;
42444 resultobj
= SWIG_Py_Void();
42459 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42462 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42463 return SWIG_Py_Void();
42466 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42467 return SWIG_Python_InitShadowInstance(args
);
42470 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42471 PyObject
*resultobj
= 0;
42472 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42473 wxWindow
*arg2
= (wxWindow
*) 0 ;
42475 wxString
const &arg4_defvalue
= wxEmptyString
;
42476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42481 long arg7
= (long) 0 ;
42482 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42483 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42484 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42485 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42493 bool temp4
= false ;
42500 bool temp9
= false ;
42501 PyObject
* obj0
= 0 ;
42502 PyObject
* obj1
= 0 ;
42503 PyObject
* obj2
= 0 ;
42504 PyObject
* obj3
= 0 ;
42505 PyObject
* obj4
= 0 ;
42506 PyObject
* obj5
= 0 ;
42507 PyObject
* obj6
= 0 ;
42508 PyObject
* obj7
= 0 ;
42509 PyObject
* obj8
= 0 ;
42510 char * kwnames
[] = {
42511 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42516 if (!SWIG_IsOK(res1
)) {
42517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42519 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42521 if (!SWIG_IsOK(res2
)) {
42522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42526 if (!SWIG_IsOK(ecode3
)) {
42527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42529 arg3
= static_cast< int >(val3
);
42532 arg4
= wxString_in_helper(obj3
);
42533 if (arg4
== NULL
) SWIG_fail
;
42540 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42546 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42550 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42551 if (!SWIG_IsOK(ecode7
)) {
42552 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42554 arg7
= static_cast< long >(val7
);
42557 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42558 if (!SWIG_IsOK(res8
)) {
42559 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42564 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42568 arg9
= wxString_in_helper(obj8
);
42569 if (arg9
== NULL
) SWIG_fail
;
42574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42575 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42576 wxPyEndAllowThreads(__tstate
);
42577 if (PyErr_Occurred()) SWIG_fail
;
42580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42604 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42605 PyObject
*resultobj
= 0;
42606 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42612 PyObject
* obj0
= 0 ;
42613 PyObject
* obj1
= 0 ;
42614 char * kwnames
[] = {
42615 (char *) "self",(char *) "newmargin", NULL
42618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42620 if (!SWIG_IsOK(res1
)) {
42621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42623 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42625 if (!SWIG_IsOK(ecode2
)) {
42626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42628 arg2
= static_cast< int >(val2
);
42630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42631 (arg1
)->SetInternalMargin(arg2
);
42632 wxPyEndAllowThreads(__tstate
);
42633 if (PyErr_Occurred()) SWIG_fail
;
42635 resultobj
= SWIG_Py_Void();
42642 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42643 PyObject
*resultobj
= 0;
42644 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42648 PyObject
*swig_obj
[1] ;
42650 if (!args
) SWIG_fail
;
42651 swig_obj
[0] = args
;
42652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42653 if (!SWIG_IsOK(res1
)) {
42654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42656 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42659 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42660 wxPyEndAllowThreads(__tstate
);
42661 if (PyErr_Occurred()) SWIG_fail
;
42663 resultobj
= SWIG_From_int(static_cast< int >(result
));
42670 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42671 PyObject
*resultobj
= 0;
42672 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42678 PyObject
* obj0
= 0 ;
42679 PyObject
* obj1
= 0 ;
42680 char * kwnames
[] = {
42681 (char *) "self",(char *) "prop", NULL
42684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42686 if (!SWIG_IsOK(res1
)) {
42687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42689 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42691 if (!SWIG_IsOK(ecode2
)) {
42692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42694 arg2
= static_cast< int >(val2
);
42696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42697 (arg1
)->SetTextCtrlProportion(arg2
);
42698 wxPyEndAllowThreads(__tstate
);
42699 if (PyErr_Occurred()) SWIG_fail
;
42701 resultobj
= SWIG_Py_Void();
42708 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42709 PyObject
*resultobj
= 0;
42710 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42714 PyObject
*swig_obj
[1] ;
42716 if (!args
) SWIG_fail
;
42717 swig_obj
[0] = args
;
42718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42719 if (!SWIG_IsOK(res1
)) {
42720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42722 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42725 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42726 wxPyEndAllowThreads(__tstate
);
42727 if (PyErr_Occurred()) SWIG_fail
;
42729 resultobj
= SWIG_From_int(static_cast< int >(result
));
42736 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42737 PyObject
*resultobj
= 0;
42738 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42744 PyObject
* obj0
= 0 ;
42745 PyObject
* obj1
= 0 ;
42746 char * kwnames
[] = {
42747 (char *) "self",(char *) "prop", NULL
42750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42752 if (!SWIG_IsOK(res1
)) {
42753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42755 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42757 if (!SWIG_IsOK(ecode2
)) {
42758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42760 arg2
= static_cast< int >(val2
);
42762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42763 (arg1
)->SetPickerCtrlProportion(arg2
);
42764 wxPyEndAllowThreads(__tstate
);
42765 if (PyErr_Occurred()) SWIG_fail
;
42767 resultobj
= SWIG_Py_Void();
42774 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42775 PyObject
*resultobj
= 0;
42776 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42780 PyObject
*swig_obj
[1] ;
42782 if (!args
) SWIG_fail
;
42783 swig_obj
[0] = args
;
42784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42785 if (!SWIG_IsOK(res1
)) {
42786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42788 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42791 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42792 wxPyEndAllowThreads(__tstate
);
42793 if (PyErr_Occurred()) SWIG_fail
;
42795 resultobj
= SWIG_From_int(static_cast< int >(result
));
42802 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42803 PyObject
*resultobj
= 0;
42804 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42808 PyObject
*swig_obj
[1] ;
42810 if (!args
) SWIG_fail
;
42811 swig_obj
[0] = args
;
42812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42813 if (!SWIG_IsOK(res1
)) {
42814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42816 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42819 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42820 wxPyEndAllowThreads(__tstate
);
42821 if (PyErr_Occurred()) SWIG_fail
;
42824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42832 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42833 PyObject
*resultobj
= 0;
42834 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42835 bool arg2
= (bool) true ;
42840 PyObject
* obj0
= 0 ;
42841 PyObject
* obj1
= 0 ;
42842 char * kwnames
[] = {
42843 (char *) "self",(char *) "grow", NULL
42846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42848 if (!SWIG_IsOK(res1
)) {
42849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42851 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42853 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42854 if (!SWIG_IsOK(ecode2
)) {
42855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42857 arg2
= static_cast< bool >(val2
);
42860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42861 (arg1
)->SetTextCtrlGrowable(arg2
);
42862 wxPyEndAllowThreads(__tstate
);
42863 if (PyErr_Occurred()) SWIG_fail
;
42865 resultobj
= SWIG_Py_Void();
42872 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42873 PyObject
*resultobj
= 0;
42874 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42878 PyObject
*swig_obj
[1] ;
42880 if (!args
) SWIG_fail
;
42881 swig_obj
[0] = args
;
42882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42883 if (!SWIG_IsOK(res1
)) {
42884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42886 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42889 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42890 wxPyEndAllowThreads(__tstate
);
42891 if (PyErr_Occurred()) SWIG_fail
;
42894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42902 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42903 PyObject
*resultobj
= 0;
42904 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42905 bool arg2
= (bool) true ;
42910 PyObject
* obj0
= 0 ;
42911 PyObject
* obj1
= 0 ;
42912 char * kwnames
[] = {
42913 (char *) "self",(char *) "grow", NULL
42916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42918 if (!SWIG_IsOK(res1
)) {
42919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42921 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42923 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42924 if (!SWIG_IsOK(ecode2
)) {
42925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42927 arg2
= static_cast< bool >(val2
);
42930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42931 (arg1
)->SetPickerCtrlGrowable(arg2
);
42932 wxPyEndAllowThreads(__tstate
);
42933 if (PyErr_Occurred()) SWIG_fail
;
42935 resultobj
= SWIG_Py_Void();
42942 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42943 PyObject
*resultobj
= 0;
42944 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42948 PyObject
*swig_obj
[1] ;
42950 if (!args
) SWIG_fail
;
42951 swig_obj
[0] = args
;
42952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42953 if (!SWIG_IsOK(res1
)) {
42954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42956 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42959 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42960 wxPyEndAllowThreads(__tstate
);
42961 if (PyErr_Occurred()) SWIG_fail
;
42964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42972 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42973 PyObject
*resultobj
= 0;
42974 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42975 wxTextCtrl
*result
= 0 ;
42978 PyObject
*swig_obj
[1] ;
42980 if (!args
) SWIG_fail
;
42981 swig_obj
[0] = args
;
42982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42983 if (!SWIG_IsOK(res1
)) {
42984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42986 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42989 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42994 resultobj
= wxPyMake_wxObject(result
, 0);
43002 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43003 PyObject
*resultobj
= 0;
43004 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43005 wxControl
*result
= 0 ;
43008 PyObject
*swig_obj
[1] ;
43010 if (!args
) SWIG_fail
;
43011 swig_obj
[0] = args
;
43012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43013 if (!SWIG_IsOK(res1
)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43016 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43019 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43020 wxPyEndAllowThreads(__tstate
);
43021 if (PyErr_Occurred()) SWIG_fail
;
43024 resultobj
= wxPyMake_wxObject(result
, 0);
43032 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43036 return SWIG_Py_Void();
43039 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43040 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43045 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43046 PyObject
*pyobj
= 0;
43050 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43052 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43059 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43060 PyObject
*resultobj
= 0;
43061 wxWindow
*arg1
= (wxWindow
*) 0 ;
43062 int arg2
= (int) -1 ;
43063 wxColour
const &arg3_defvalue
= *wxBLACK
;
43064 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43069 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43070 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43071 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43072 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43074 wxColourPickerCtrl
*result
= 0 ;
43086 bool temp8
= false ;
43087 PyObject
* obj0
= 0 ;
43088 PyObject
* obj1
= 0 ;
43089 PyObject
* obj2
= 0 ;
43090 PyObject
* obj3
= 0 ;
43091 PyObject
* obj4
= 0 ;
43092 PyObject
* obj5
= 0 ;
43093 PyObject
* obj6
= 0 ;
43094 PyObject
* obj7
= 0 ;
43095 char * kwnames
[] = {
43096 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43101 if (!SWIG_IsOK(res1
)) {
43102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43107 if (!SWIG_IsOK(ecode2
)) {
43108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43110 arg2
= static_cast< int >(val2
);
43115 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43131 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43132 if (!SWIG_IsOK(ecode6
)) {
43133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43135 arg6
= static_cast< long >(val6
);
43138 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43139 if (!SWIG_IsOK(res7
)) {
43140 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43145 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43149 arg8
= wxString_in_helper(obj7
);
43150 if (arg8
== NULL
) SWIG_fail
;
43155 if (!wxPyCheckForApp()) SWIG_fail
;
43156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43157 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43158 wxPyEndAllowThreads(__tstate
);
43159 if (PyErr_Occurred()) SWIG_fail
;
43161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43176 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43177 PyObject
*resultobj
= 0;
43178 wxColourPickerCtrl
*result
= 0 ;
43180 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43182 if (!wxPyCheckForApp()) SWIG_fail
;
43183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43184 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43185 wxPyEndAllowThreads(__tstate
);
43186 if (PyErr_Occurred()) SWIG_fail
;
43188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43195 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43196 PyObject
*resultobj
= 0;
43197 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43198 wxWindow
*arg2
= (wxWindow
*) 0 ;
43200 wxColour
const &arg4_defvalue
= *wxBLACK
;
43201 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43206 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43207 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43208 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43209 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43210 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43225 bool temp9
= false ;
43226 PyObject
* obj0
= 0 ;
43227 PyObject
* obj1
= 0 ;
43228 PyObject
* obj2
= 0 ;
43229 PyObject
* obj3
= 0 ;
43230 PyObject
* obj4
= 0 ;
43231 PyObject
* obj5
= 0 ;
43232 PyObject
* obj6
= 0 ;
43233 PyObject
* obj7
= 0 ;
43234 PyObject
* obj8
= 0 ;
43235 char * kwnames
[] = {
43236 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43241 if (!SWIG_IsOK(res1
)) {
43242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43244 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43246 if (!SWIG_IsOK(res2
)) {
43247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43249 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43251 if (!SWIG_IsOK(ecode3
)) {
43252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43254 arg3
= static_cast< int >(val3
);
43258 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43264 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43270 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43274 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43275 if (!SWIG_IsOK(ecode7
)) {
43276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43278 arg7
= static_cast< long >(val7
);
43281 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43282 if (!SWIG_IsOK(res8
)) {
43283 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43288 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43292 arg9
= wxString_in_helper(obj8
);
43293 if (arg9
== NULL
) SWIG_fail
;
43298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43300 wxPyEndAllowThreads(__tstate
);
43301 if (PyErr_Occurred()) SWIG_fail
;
43304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43320 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43321 PyObject
*resultobj
= 0;
43322 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43326 PyObject
*swig_obj
[1] ;
43328 if (!args
) SWIG_fail
;
43329 swig_obj
[0] = args
;
43330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43331 if (!SWIG_IsOK(res1
)) {
43332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43334 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43337 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43338 wxPyEndAllowThreads(__tstate
);
43339 if (PyErr_Occurred()) SWIG_fail
;
43341 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43348 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43349 PyObject
*resultobj
= 0;
43350 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43351 wxColour
*arg2
= 0 ;
43355 PyObject
* obj0
= 0 ;
43356 PyObject
* obj1
= 0 ;
43357 char * kwnames
[] = {
43358 (char *) "self",(char *) "col", NULL
43361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43363 if (!SWIG_IsOK(res1
)) {
43364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43366 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43373 (arg1
)->SetColour((wxColour
const &)*arg2
);
43374 wxPyEndAllowThreads(__tstate
);
43375 if (PyErr_Occurred()) SWIG_fail
;
43377 resultobj
= SWIG_Py_Void();
43384 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43387 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43388 return SWIG_Py_Void();
43391 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43392 return SWIG_Python_InitShadowInstance(args
);
43395 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43396 PyObject
*resultobj
= 0;
43397 wxObject
*arg1
= (wxObject
*) 0 ;
43399 wxColour
*arg3
= 0 ;
43400 wxColourPickerEvent
*result
= 0 ;
43406 PyObject
* obj0
= 0 ;
43407 PyObject
* obj1
= 0 ;
43408 PyObject
* obj2
= 0 ;
43409 char * kwnames
[] = {
43410 (char *) "generator",(char *) "id",(char *) "col", NULL
43413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43415 if (!SWIG_IsOK(res1
)) {
43416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43418 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43420 if (!SWIG_IsOK(ecode2
)) {
43421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43423 arg2
= static_cast< int >(val2
);
43426 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43430 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43431 wxPyEndAllowThreads(__tstate
);
43432 if (PyErr_Occurred()) SWIG_fail
;
43434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43441 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43442 PyObject
*resultobj
= 0;
43443 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43447 PyObject
*swig_obj
[1] ;
43449 if (!args
) SWIG_fail
;
43450 swig_obj
[0] = args
;
43451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43452 if (!SWIG_IsOK(res1
)) {
43453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43455 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43458 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43459 wxPyEndAllowThreads(__tstate
);
43460 if (PyErr_Occurred()) SWIG_fail
;
43462 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43469 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43470 PyObject
*resultobj
= 0;
43471 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43472 wxColour
*arg2
= 0 ;
43476 PyObject
* obj0
= 0 ;
43477 PyObject
* obj1
= 0 ;
43478 char * kwnames
[] = {
43479 (char *) "self",(char *) "c", NULL
43482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43484 if (!SWIG_IsOK(res1
)) {
43485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43487 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43494 (arg1
)->SetColour((wxColour
const &)*arg2
);
43495 wxPyEndAllowThreads(__tstate
);
43496 if (PyErr_Occurred()) SWIG_fail
;
43498 resultobj
= SWIG_Py_Void();
43505 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43508 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43509 return SWIG_Py_Void();
43512 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43513 return SWIG_Python_InitShadowInstance(args
);
43516 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43517 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43522 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43523 PyObject
*pyobj
= 0;
43527 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43529 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43536 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43537 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43542 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43543 PyObject
*pyobj
= 0;
43547 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43549 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43556 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43557 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43562 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43563 PyObject
*pyobj
= 0;
43567 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43569 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43576 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43577 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43582 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43583 PyObject
*pyobj
= 0;
43587 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43589 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43596 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43597 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43602 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43603 PyObject
*pyobj
= 0;
43607 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43609 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43616 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43617 PyObject
*resultobj
= 0;
43618 wxWindow
*arg1
= (wxWindow
*) 0 ;
43619 int arg2
= (int) -1 ;
43620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43622 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43624 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43625 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43626 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43627 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43628 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43629 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43630 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43631 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43632 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43633 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43634 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43635 wxFilePickerCtrl
*result
= 0 ;
43640 bool temp3
= false ;
43641 bool temp4
= false ;
43642 bool temp5
= false ;
43649 bool temp10
= false ;
43650 PyObject
* obj0
= 0 ;
43651 PyObject
* obj1
= 0 ;
43652 PyObject
* obj2
= 0 ;
43653 PyObject
* obj3
= 0 ;
43654 PyObject
* obj4
= 0 ;
43655 PyObject
* obj5
= 0 ;
43656 PyObject
* obj6
= 0 ;
43657 PyObject
* obj7
= 0 ;
43658 PyObject
* obj8
= 0 ;
43659 PyObject
* obj9
= 0 ;
43660 char * kwnames
[] = {
43661 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43666 if (!SWIG_IsOK(res1
)) {
43667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43672 if (!SWIG_IsOK(ecode2
)) {
43673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43675 arg2
= static_cast< int >(val2
);
43679 arg3
= wxString_in_helper(obj2
);
43680 if (arg3
== NULL
) SWIG_fail
;
43686 arg4
= wxString_in_helper(obj3
);
43687 if (arg4
== NULL
) SWIG_fail
;
43693 arg5
= wxString_in_helper(obj4
);
43694 if (arg5
== NULL
) SWIG_fail
;
43701 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43707 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43711 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43712 if (!SWIG_IsOK(ecode8
)) {
43713 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43715 arg8
= static_cast< long >(val8
);
43718 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43719 if (!SWIG_IsOK(res9
)) {
43720 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43725 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43729 arg10
= wxString_in_helper(obj9
);
43730 if (arg10
== NULL
) SWIG_fail
;
43735 if (!wxPyCheckForApp()) SWIG_fail
;
43736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43737 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
);
43738 wxPyEndAllowThreads(__tstate
);
43739 if (PyErr_Occurred()) SWIG_fail
;
43741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43780 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43781 PyObject
*resultobj
= 0;
43782 wxFilePickerCtrl
*result
= 0 ;
43784 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43786 if (!wxPyCheckForApp()) SWIG_fail
;
43787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43788 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43789 wxPyEndAllowThreads(__tstate
);
43790 if (PyErr_Occurred()) SWIG_fail
;
43792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43799 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43800 PyObject
*resultobj
= 0;
43801 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43802 wxWindow
*arg2
= (wxWindow
*) 0 ;
43803 int arg3
= (int) -1 ;
43804 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43805 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43806 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43807 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43808 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43809 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43810 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43811 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43812 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43813 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43814 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43815 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43816 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43817 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43818 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43826 bool temp4
= false ;
43827 bool temp5
= false ;
43828 bool temp6
= false ;
43835 bool temp11
= false ;
43836 PyObject
* obj0
= 0 ;
43837 PyObject
* obj1
= 0 ;
43838 PyObject
* obj2
= 0 ;
43839 PyObject
* obj3
= 0 ;
43840 PyObject
* obj4
= 0 ;
43841 PyObject
* obj5
= 0 ;
43842 PyObject
* obj6
= 0 ;
43843 PyObject
* obj7
= 0 ;
43844 PyObject
* obj8
= 0 ;
43845 PyObject
* obj9
= 0 ;
43846 PyObject
* obj10
= 0 ;
43847 char * kwnames
[] = {
43848 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43853 if (!SWIG_IsOK(res1
)) {
43854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43856 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43858 if (!SWIG_IsOK(res2
)) {
43859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43864 if (!SWIG_IsOK(ecode3
)) {
43865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43867 arg3
= static_cast< int >(val3
);
43871 arg4
= wxString_in_helper(obj3
);
43872 if (arg4
== NULL
) SWIG_fail
;
43878 arg5
= wxString_in_helper(obj4
);
43879 if (arg5
== NULL
) SWIG_fail
;
43885 arg6
= wxString_in_helper(obj5
);
43886 if (arg6
== NULL
) SWIG_fail
;
43893 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43899 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43903 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43904 if (!SWIG_IsOK(ecode9
)) {
43905 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43907 arg9
= static_cast< long >(val9
);
43910 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43911 if (!SWIG_IsOK(res10
)) {
43912 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43917 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43921 arg11
= wxString_in_helper(obj10
);
43922 if (arg11
== NULL
) SWIG_fail
;
43927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43928 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
);
43929 wxPyEndAllowThreads(__tstate
);
43930 if (PyErr_Occurred()) SWIG_fail
;
43933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43973 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43974 PyObject
*resultobj
= 0;
43975 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43979 PyObject
*swig_obj
[1] ;
43981 if (!args
) SWIG_fail
;
43982 swig_obj
[0] = args
;
43983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43984 if (!SWIG_IsOK(res1
)) {
43985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43987 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43990 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43991 wxPyEndAllowThreads(__tstate
);
43992 if (PyErr_Occurred()) SWIG_fail
;
43996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44007 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44008 PyObject
*resultobj
= 0;
44009 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44010 wxString
*arg2
= 0 ;
44013 bool temp2
= false ;
44014 PyObject
* obj0
= 0 ;
44015 PyObject
* obj1
= 0 ;
44016 char * kwnames
[] = {
44017 (char *) "self",(char *) "str", NULL
44020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44022 if (!SWIG_IsOK(res1
)) {
44023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44025 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44027 arg2
= wxString_in_helper(obj1
);
44028 if (arg2
== NULL
) SWIG_fail
;
44032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44033 (arg1
)->SetPath((wxString
const &)*arg2
);
44034 wxPyEndAllowThreads(__tstate
);
44035 if (PyErr_Occurred()) SWIG_fail
;
44037 resultobj
= SWIG_Py_Void();
44052 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44053 PyObject
*resultobj
= 0;
44054 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44055 wxString
*arg2
= 0 ;
44059 bool temp2
= false ;
44060 PyObject
* obj0
= 0 ;
44061 PyObject
* obj1
= 0 ;
44062 char * kwnames
[] = {
44063 (char *) "self",(char *) "path", NULL
44066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44068 if (!SWIG_IsOK(res1
)) {
44069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44071 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44073 arg2
= wxString_in_helper(obj1
);
44074 if (arg2
== NULL
) SWIG_fail
;
44078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44079 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44080 wxPyEndAllowThreads(__tstate
);
44081 if (PyErr_Occurred()) SWIG_fail
;
44084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44100 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44101 PyObject
*resultobj
= 0;
44102 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44106 PyObject
*swig_obj
[1] ;
44108 if (!args
) SWIG_fail
;
44109 swig_obj
[0] = args
;
44110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44111 if (!SWIG_IsOK(res1
)) {
44112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44114 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44117 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44118 wxPyEndAllowThreads(__tstate
);
44119 if (PyErr_Occurred()) SWIG_fail
;
44123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44134 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44137 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44138 return SWIG_Py_Void();
44141 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44142 return SWIG_Python_InitShadowInstance(args
);
44145 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44146 PyObject
*resultobj
= 0;
44147 wxWindow
*arg1
= (wxWindow
*) 0 ;
44148 int arg2
= (int) -1 ;
44149 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44150 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44151 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44157 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44158 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44159 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44160 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44161 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44162 wxDirPickerCtrl
*result
= 0 ;
44167 bool temp3
= false ;
44168 bool temp4
= false ;
44175 bool temp9
= false ;
44176 PyObject
* obj0
= 0 ;
44177 PyObject
* obj1
= 0 ;
44178 PyObject
* obj2
= 0 ;
44179 PyObject
* obj3
= 0 ;
44180 PyObject
* obj4
= 0 ;
44181 PyObject
* obj5
= 0 ;
44182 PyObject
* obj6
= 0 ;
44183 PyObject
* obj7
= 0 ;
44184 PyObject
* obj8
= 0 ;
44185 char * kwnames
[] = {
44186 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44191 if (!SWIG_IsOK(res1
)) {
44192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44197 if (!SWIG_IsOK(ecode2
)) {
44198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44200 arg2
= static_cast< int >(val2
);
44204 arg3
= wxString_in_helper(obj2
);
44205 if (arg3
== NULL
) SWIG_fail
;
44211 arg4
= wxString_in_helper(obj3
);
44212 if (arg4
== NULL
) SWIG_fail
;
44219 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44225 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44229 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44230 if (!SWIG_IsOK(ecode7
)) {
44231 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44233 arg7
= static_cast< long >(val7
);
44236 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44237 if (!SWIG_IsOK(res8
)) {
44238 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44243 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44247 arg9
= wxString_in_helper(obj8
);
44248 if (arg9
== NULL
) SWIG_fail
;
44253 if (!wxPyCheckForApp()) SWIG_fail
;
44254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44255 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
);
44256 wxPyEndAllowThreads(__tstate
);
44257 if (PyErr_Occurred()) SWIG_fail
;
44259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44290 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44291 PyObject
*resultobj
= 0;
44292 wxDirPickerCtrl
*result
= 0 ;
44294 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44296 if (!wxPyCheckForApp()) SWIG_fail
;
44297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44298 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44299 wxPyEndAllowThreads(__tstate
);
44300 if (PyErr_Occurred()) SWIG_fail
;
44302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44309 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44310 PyObject
*resultobj
= 0;
44311 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44312 wxWindow
*arg2
= (wxWindow
*) 0 ;
44313 int arg3
= (int) -1 ;
44314 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44315 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44316 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44317 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44318 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44319 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44320 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44321 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44322 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44323 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44324 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44325 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44326 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44334 bool temp4
= false ;
44335 bool temp5
= false ;
44342 bool temp10
= false ;
44343 PyObject
* obj0
= 0 ;
44344 PyObject
* obj1
= 0 ;
44345 PyObject
* obj2
= 0 ;
44346 PyObject
* obj3
= 0 ;
44347 PyObject
* obj4
= 0 ;
44348 PyObject
* obj5
= 0 ;
44349 PyObject
* obj6
= 0 ;
44350 PyObject
* obj7
= 0 ;
44351 PyObject
* obj8
= 0 ;
44352 PyObject
* obj9
= 0 ;
44353 char * kwnames
[] = {
44354 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44359 if (!SWIG_IsOK(res1
)) {
44360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44362 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44364 if (!SWIG_IsOK(res2
)) {
44365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44367 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44370 if (!SWIG_IsOK(ecode3
)) {
44371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44373 arg3
= static_cast< int >(val3
);
44377 arg4
= wxString_in_helper(obj3
);
44378 if (arg4
== NULL
) SWIG_fail
;
44384 arg5
= wxString_in_helper(obj4
);
44385 if (arg5
== NULL
) SWIG_fail
;
44392 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44398 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44402 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44403 if (!SWIG_IsOK(ecode8
)) {
44404 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44406 arg8
= static_cast< long >(val8
);
44409 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44410 if (!SWIG_IsOK(res9
)) {
44411 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44416 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44420 arg10
= wxString_in_helper(obj9
);
44421 if (arg10
== NULL
) SWIG_fail
;
44426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44427 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
);
44428 wxPyEndAllowThreads(__tstate
);
44429 if (PyErr_Occurred()) SWIG_fail
;
44432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44464 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44465 PyObject
*resultobj
= 0;
44466 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44470 PyObject
*swig_obj
[1] ;
44472 if (!args
) SWIG_fail
;
44473 swig_obj
[0] = args
;
44474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44475 if (!SWIG_IsOK(res1
)) {
44476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44478 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44481 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44482 wxPyEndAllowThreads(__tstate
);
44483 if (PyErr_Occurred()) SWIG_fail
;
44487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44498 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44499 PyObject
*resultobj
= 0;
44500 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44501 wxString
*arg2
= 0 ;
44504 bool temp2
= false ;
44505 PyObject
* obj0
= 0 ;
44506 PyObject
* obj1
= 0 ;
44507 char * kwnames
[] = {
44508 (char *) "self",(char *) "str", NULL
44511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44513 if (!SWIG_IsOK(res1
)) {
44514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44516 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44518 arg2
= wxString_in_helper(obj1
);
44519 if (arg2
== NULL
) SWIG_fail
;
44523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44524 (arg1
)->SetPath((wxString
const &)*arg2
);
44525 wxPyEndAllowThreads(__tstate
);
44526 if (PyErr_Occurred()) SWIG_fail
;
44528 resultobj
= SWIG_Py_Void();
44543 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44544 PyObject
*resultobj
= 0;
44545 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44546 wxString
*arg2
= 0 ;
44550 bool temp2
= false ;
44551 PyObject
* obj0
= 0 ;
44552 PyObject
* obj1
= 0 ;
44553 char * kwnames
[] = {
44554 (char *) "self",(char *) "path", NULL
44557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44559 if (!SWIG_IsOK(res1
)) {
44560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44562 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44564 arg2
= wxString_in_helper(obj1
);
44565 if (arg2
== NULL
) SWIG_fail
;
44569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44570 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44571 wxPyEndAllowThreads(__tstate
);
44572 if (PyErr_Occurred()) SWIG_fail
;
44575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44591 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44592 PyObject
*resultobj
= 0;
44593 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44597 PyObject
*swig_obj
[1] ;
44599 if (!args
) SWIG_fail
;
44600 swig_obj
[0] = args
;
44601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44602 if (!SWIG_IsOK(res1
)) {
44603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44605 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44608 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44609 wxPyEndAllowThreads(__tstate
);
44610 if (PyErr_Occurred()) SWIG_fail
;
44614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44625 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44628 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44629 return SWIG_Py_Void();
44632 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44633 return SWIG_Python_InitShadowInstance(args
);
44636 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44637 PyObject
*resultobj
= 0;
44639 wxObject
*arg2
= (wxObject
*) 0 ;
44641 wxString
*arg4
= 0 ;
44642 wxFileDirPickerEvent
*result
= 0 ;
44649 bool temp4
= false ;
44650 PyObject
* obj0
= 0 ;
44651 PyObject
* obj1
= 0 ;
44652 PyObject
* obj2
= 0 ;
44653 PyObject
* obj3
= 0 ;
44654 char * kwnames
[] = {
44655 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44660 if (!SWIG_IsOK(ecode1
)) {
44661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44663 arg1
= static_cast< wxEventType
>(val1
);
44664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44665 if (!SWIG_IsOK(res2
)) {
44666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44668 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44670 if (!SWIG_IsOK(ecode3
)) {
44671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44673 arg3
= static_cast< int >(val3
);
44675 arg4
= wxString_in_helper(obj3
);
44676 if (arg4
== NULL
) SWIG_fail
;
44680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44681 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44682 wxPyEndAllowThreads(__tstate
);
44683 if (PyErr_Occurred()) SWIG_fail
;
44685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44700 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44701 PyObject
*resultobj
= 0;
44702 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44706 PyObject
*swig_obj
[1] ;
44708 if (!args
) SWIG_fail
;
44709 swig_obj
[0] = args
;
44710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44711 if (!SWIG_IsOK(res1
)) {
44712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44714 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44717 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44718 wxPyEndAllowThreads(__tstate
);
44719 if (PyErr_Occurred()) SWIG_fail
;
44723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44734 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44735 PyObject
*resultobj
= 0;
44736 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44737 wxString
*arg2
= 0 ;
44740 bool temp2
= false ;
44741 PyObject
* obj0
= 0 ;
44742 PyObject
* obj1
= 0 ;
44743 char * kwnames
[] = {
44744 (char *) "self",(char *) "p", NULL
44747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44749 if (!SWIG_IsOK(res1
)) {
44750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44752 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44754 arg2
= wxString_in_helper(obj1
);
44755 if (arg2
== NULL
) SWIG_fail
;
44759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44760 (arg1
)->SetPath((wxString
const &)*arg2
);
44761 wxPyEndAllowThreads(__tstate
);
44762 if (PyErr_Occurred()) SWIG_fail
;
44764 resultobj
= SWIG_Py_Void();
44779 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44782 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44783 return SWIG_Py_Void();
44786 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44787 return SWIG_Python_InitShadowInstance(args
);
44790 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44791 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44796 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44797 PyObject
*pyobj
= 0;
44801 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44803 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44810 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44811 PyObject
*resultobj
= 0;
44812 wxWindow
*arg1
= (wxWindow
*) 0 ;
44813 int arg2
= (int) -1 ;
44814 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44815 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44820 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44821 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44822 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44823 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44825 wxFontPickerCtrl
*result
= 0 ;
44838 bool temp8
= false ;
44839 PyObject
* obj0
= 0 ;
44840 PyObject
* obj1
= 0 ;
44841 PyObject
* obj2
= 0 ;
44842 PyObject
* obj3
= 0 ;
44843 PyObject
* obj4
= 0 ;
44844 PyObject
* obj5
= 0 ;
44845 PyObject
* obj6
= 0 ;
44846 PyObject
* obj7
= 0 ;
44847 char * kwnames
[] = {
44848 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44853 if (!SWIG_IsOK(res1
)) {
44854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44859 if (!SWIG_IsOK(ecode2
)) {
44860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44862 arg2
= static_cast< int >(val2
);
44865 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44866 if (!SWIG_IsOK(res3
)) {
44867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44872 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44887 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44888 if (!SWIG_IsOK(ecode6
)) {
44889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44891 arg6
= static_cast< long >(val6
);
44894 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44895 if (!SWIG_IsOK(res7
)) {
44896 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44901 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44905 arg8
= wxString_in_helper(obj7
);
44906 if (arg8
== NULL
) SWIG_fail
;
44911 if (!wxPyCheckForApp()) SWIG_fail
;
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44914 wxPyEndAllowThreads(__tstate
);
44915 if (PyErr_Occurred()) SWIG_fail
;
44917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44932 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44933 PyObject
*resultobj
= 0;
44934 wxFontPickerCtrl
*result
= 0 ;
44936 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44938 if (!wxPyCheckForApp()) SWIG_fail
;
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44941 wxPyEndAllowThreads(__tstate
);
44942 if (PyErr_Occurred()) SWIG_fail
;
44944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44951 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44952 PyObject
*resultobj
= 0;
44953 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44954 wxWindow
*arg2
= (wxWindow
*) 0 ;
44955 int arg3
= (int) -1 ;
44956 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44957 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44958 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44959 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44960 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44961 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44962 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44963 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44964 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44965 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44966 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44982 bool temp9
= false ;
44983 PyObject
* obj0
= 0 ;
44984 PyObject
* obj1
= 0 ;
44985 PyObject
* obj2
= 0 ;
44986 PyObject
* obj3
= 0 ;
44987 PyObject
* obj4
= 0 ;
44988 PyObject
* obj5
= 0 ;
44989 PyObject
* obj6
= 0 ;
44990 PyObject
* obj7
= 0 ;
44991 PyObject
* obj8
= 0 ;
44992 char * kwnames
[] = {
44993 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44998 if (!SWIG_IsOK(res1
)) {
44999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45001 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45003 if (!SWIG_IsOK(res2
)) {
45004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45009 if (!SWIG_IsOK(ecode3
)) {
45010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45012 arg3
= static_cast< int >(val3
);
45015 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45016 if (!SWIG_IsOK(res4
)) {
45017 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45022 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45027 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45033 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45037 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45038 if (!SWIG_IsOK(ecode7
)) {
45039 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45041 arg7
= static_cast< long >(val7
);
45044 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45045 if (!SWIG_IsOK(res8
)) {
45046 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45051 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45055 arg9
= wxString_in_helper(obj8
);
45056 if (arg9
== NULL
) SWIG_fail
;
45061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45063 wxPyEndAllowThreads(__tstate
);
45064 if (PyErr_Occurred()) SWIG_fail
;
45067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45083 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45084 PyObject
*resultobj
= 0;
45085 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45089 PyObject
*swig_obj
[1] ;
45091 if (!args
) SWIG_fail
;
45092 swig_obj
[0] = args
;
45093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45094 if (!SWIG_IsOK(res1
)) {
45095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45097 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45100 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45101 wxPyEndAllowThreads(__tstate
);
45102 if (PyErr_Occurred()) SWIG_fail
;
45104 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45111 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45112 PyObject
*resultobj
= 0;
45113 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45119 PyObject
* obj0
= 0 ;
45120 PyObject
* obj1
= 0 ;
45121 char * kwnames
[] = {
45122 (char *) "self",(char *) "f", NULL
45125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45127 if (!SWIG_IsOK(res1
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45130 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45132 if (!SWIG_IsOK(res2
)) {
45133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45138 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45141 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45142 wxPyEndAllowThreads(__tstate
);
45143 if (PyErr_Occurred()) SWIG_fail
;
45145 resultobj
= SWIG_Py_Void();
45152 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45153 PyObject
*resultobj
= 0;
45154 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45155 unsigned int arg2
;
45158 unsigned int val2
;
45160 PyObject
* obj0
= 0 ;
45161 PyObject
* obj1
= 0 ;
45162 char * kwnames
[] = {
45163 (char *) "self",(char *) "max", NULL
45166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45168 if (!SWIG_IsOK(res1
)) {
45169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45171 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45172 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45173 if (!SWIG_IsOK(ecode2
)) {
45174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45176 arg2
= static_cast< unsigned int >(val2
);
45178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45179 (arg1
)->SetMaxPointSize(arg2
);
45180 wxPyEndAllowThreads(__tstate
);
45181 if (PyErr_Occurred()) SWIG_fail
;
45183 resultobj
= SWIG_Py_Void();
45190 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45191 PyObject
*resultobj
= 0;
45192 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45193 unsigned int result
;
45196 PyObject
*swig_obj
[1] ;
45198 if (!args
) SWIG_fail
;
45199 swig_obj
[0] = args
;
45200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45201 if (!SWIG_IsOK(res1
)) {
45202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45204 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45207 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45208 wxPyEndAllowThreads(__tstate
);
45209 if (PyErr_Occurred()) SWIG_fail
;
45211 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45218 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45221 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45222 return SWIG_Py_Void();
45225 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45226 return SWIG_Python_InitShadowInstance(args
);
45229 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45230 PyObject
*resultobj
= 0;
45231 wxObject
*arg1
= (wxObject
*) 0 ;
45234 wxFontPickerEvent
*result
= 0 ;
45241 PyObject
* obj0
= 0 ;
45242 PyObject
* obj1
= 0 ;
45243 PyObject
* obj2
= 0 ;
45244 char * kwnames
[] = {
45245 (char *) "generator",(char *) "id",(char *) "f", NULL
45248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45250 if (!SWIG_IsOK(res1
)) {
45251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45253 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45255 if (!SWIG_IsOK(ecode2
)) {
45256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45258 arg2
= static_cast< int >(val2
);
45259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45260 if (!SWIG_IsOK(res3
)) {
45261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45266 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45269 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45270 wxPyEndAllowThreads(__tstate
);
45271 if (PyErr_Occurred()) SWIG_fail
;
45273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45280 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45281 PyObject
*resultobj
= 0;
45282 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45286 PyObject
*swig_obj
[1] ;
45288 if (!args
) SWIG_fail
;
45289 swig_obj
[0] = args
;
45290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45291 if (!SWIG_IsOK(res1
)) {
45292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45294 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45297 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45298 wxPyEndAllowThreads(__tstate
);
45299 if (PyErr_Occurred()) SWIG_fail
;
45301 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45308 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45309 PyObject
*resultobj
= 0;
45310 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45316 PyObject
* obj0
= 0 ;
45317 PyObject
* obj1
= 0 ;
45318 char * kwnames
[] = {
45319 (char *) "self",(char *) "c", NULL
45322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45324 if (!SWIG_IsOK(res1
)) {
45325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45327 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45329 if (!SWIG_IsOK(res2
)) {
45330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45335 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45338 (arg1
)->SetFont((wxFont
const &)*arg2
);
45339 wxPyEndAllowThreads(__tstate
);
45340 if (PyErr_Occurred()) SWIG_fail
;
45342 resultobj
= SWIG_Py_Void();
45349 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45352 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45353 return SWIG_Py_Void();
45356 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45357 return SWIG_Python_InitShadowInstance(args
);
45360 static PyMethodDef SwigMethods
[] = {
45361 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45363 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45365 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45366 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45368 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45369 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45371 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45373 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45374 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45375 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45376 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45377 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45384 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45385 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45387 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45389 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45391 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45392 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45394 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45396 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45397 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45399 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45400 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45402 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45404 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45407 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45409 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45411 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45413 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45414 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45415 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45417 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45418 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45421 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45425 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45427 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45428 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45429 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45430 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45431 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45432 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45433 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45434 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45435 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45438 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45440 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45443 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45445 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45446 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45447 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45449 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45451 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45453 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45454 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45456 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45459 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45460 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45462 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45464 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45465 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45467 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45468 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45470 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45475 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45477 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45479 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45484 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45486 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45497 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45502 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45509 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45511 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45515 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45516 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45518 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45519 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45529 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45530 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45531 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45532 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45533 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45534 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45535 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45537 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45538 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45539 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45540 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45541 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45542 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45543 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45544 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45545 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45546 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45548 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45549 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45551 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45553 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
45555 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45560 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45561 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45562 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45563 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45564 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45565 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45566 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45567 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45572 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45573 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45582 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45588 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45589 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45590 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45591 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45592 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45593 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45594 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45595 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45596 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45597 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45599 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45600 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45601 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45603 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
45605 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45609 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45610 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45612 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45613 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45614 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45616 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45618 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45620 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45621 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45622 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45623 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45624 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45627 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45628 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45630 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45632 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45633 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45634 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45639 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45641 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45642 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45644 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45646 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45650 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45651 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45655 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45657 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45660 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45662 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45665 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45666 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45668 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45676 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45677 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45684 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45685 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45687 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45689 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45693 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45695 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45697 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45700 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45701 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45706 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45707 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45709 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45711 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45712 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45714 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45715 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45716 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45719 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45720 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45722 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45725 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45727 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45728 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45729 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45731 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45732 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45737 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45742 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45744 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45746 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45748 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45749 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45752 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45760 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45762 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45764 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45766 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45767 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45769 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45771 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45774 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45778 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45779 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45781 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45782 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45784 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45786 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45787 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45788 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45790 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45791 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45793 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45795 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45796 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45797 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45799 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45800 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45802 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45810 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45811 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45812 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45814 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45815 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45817 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45819 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45820 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45822 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45824 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45825 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45826 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45827 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45828 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45829 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45830 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45831 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45832 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45833 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45834 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45835 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45836 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45837 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45838 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45839 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45840 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45841 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45842 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45844 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45851 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45853 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45855 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45863 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45868 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45869 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45886 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45887 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45888 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45889 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45892 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45893 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45895 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45896 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45899 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45900 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45903 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45907 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45909 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45913 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45914 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45915 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45916 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45917 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45918 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45920 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45921 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45922 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45923 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45924 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45925 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45926 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45940 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45941 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45942 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45943 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45944 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45945 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45946 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45947 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45948 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45949 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45950 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45951 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45952 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45953 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45954 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45955 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45956 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45957 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45958 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45959 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45960 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45961 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45962 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45963 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45964 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45965 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45966 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45967 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45968 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45969 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45970 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45971 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45972 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45973 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45974 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45975 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45977 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45978 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45979 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45980 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45981 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45982 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45983 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45984 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45985 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45986 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45987 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45988 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45989 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45990 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45991 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45992 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45993 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45994 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45995 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45996 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45997 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45998 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45999 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46000 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46002 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46003 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46005 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46012 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46013 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46014 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46029 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46030 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46031 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46033 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46034 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46036 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46042 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46043 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46048 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46050 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46051 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46074 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46076 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46077 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46079 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46083 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46085 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46089 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46090 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46091 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46092 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46093 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46096 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46097 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46098 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46099 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46101 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46102 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46104 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46106 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46107 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46108 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46109 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46110 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46112 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46114 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46116 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46117 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46119 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46121 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46124 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46125 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46126 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46128 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46131 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46132 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46134 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46136 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46137 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46165 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46166 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46167 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46174 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46184 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46187 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46191 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46193 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46199 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46205 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46206 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46207 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46209 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46213 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46215 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46216 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46219 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46220 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46222 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46224 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46225 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46226 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46228 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46229 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46230 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46231 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46233 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46236 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46237 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46239 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46247 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46248 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46249 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46250 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46251 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46252 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46253 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46254 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46255 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46257 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46259 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46261 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46263 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46265 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46266 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46268 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46270 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46271 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46272 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46274 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46275 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46276 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46278 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46285 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46286 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46287 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46288 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46289 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46295 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46299 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46301 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46302 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46307 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46308 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46310 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46313 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46315 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46316 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46317 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46318 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46320 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46322 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46324 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46326 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46328 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46331 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46332 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46333 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46335 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46338 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46341 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46343 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46345 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46346 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46348 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46350 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46351 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46352 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46353 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46355 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46357 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46359 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46360 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46362 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46364 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46365 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46367 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46369 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46372 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46374 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46376 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46378 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46381 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46382 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46383 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46385 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46387 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46388 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46390 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46392 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46395 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46396 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46397 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46399 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46401 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46402 { NULL
, NULL
, 0, NULL
}
46406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46408 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46411 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46412 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46414 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46415 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46417 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46418 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46420 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46421 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46423 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46424 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46426 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46427 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46429 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46430 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46432 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46433 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46435 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46438 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46441 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46442 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46444 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46447 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46450 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46453 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46454 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46456 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46457 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46459 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46460 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46462 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46463 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46465 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46466 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46468 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46469 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46471 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46472 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46474 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46475 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46477 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46480 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46481 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46483 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46486 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46487 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46489 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46490 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46492 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46493 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46495 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46496 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46498 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46499 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46501 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46502 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46504 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46507 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46508 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46510 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46511 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46513 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46514 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46516 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46519 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46520 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46522 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46523 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46525 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46526 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46528 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46529 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46531 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46532 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46534 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46535 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46537 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46538 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46540 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46543 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46544 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46546 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46547 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46549 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46552 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46553 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46555 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46556 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46558 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46559 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46561 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46562 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46564 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46565 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46567 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46568 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46570 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46571 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46573 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46574 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46576 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46577 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46579 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46580 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46582 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46583 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46585 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46586 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46588 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46589 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46591 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46592 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46594 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46595 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46597 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46598 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46600 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46601 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46603 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46604 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46606 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46607 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46609 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46610 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46612 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46613 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46615 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46616 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46618 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46619 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46621 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46622 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46624 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46625 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46627 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46628 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46630 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46631 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46633 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46634 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46636 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46637 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46639 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46640 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46642 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46643 return (void *)((wxControl
*) ((wxGauge
*) x
));
46645 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46646 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46648 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46649 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46651 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46652 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46654 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46655 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46657 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46658 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46660 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46661 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46663 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46664 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46666 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46667 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46669 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46670 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46672 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46673 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46675 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46676 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46678 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46679 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46681 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46682 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46684 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46685 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46687 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46688 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46690 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46691 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46693 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46694 return (void *)((wxControl
*) ((wxSlider
*) x
));
46696 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46697 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46699 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46700 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46702 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46703 return (void *)((wxControl
*) ((wxButton
*) x
));
46705 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46706 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46708 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46709 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46711 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46712 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46714 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46715 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46717 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46718 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46720 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46721 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46723 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46724 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46726 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46727 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46729 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46730 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46732 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46733 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46735 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46736 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46738 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46739 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46741 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46742 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46744 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46745 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46747 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46748 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46750 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46751 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46753 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46754 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46756 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46757 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46759 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46760 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46762 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46763 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46765 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46766 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46768 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46769 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46771 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46772 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46774 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46775 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46777 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46778 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46780 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46783 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46784 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46786 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46787 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46789 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46792 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46795 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46796 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46798 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46801 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46804 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46807 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46808 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46810 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46811 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46813 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46816 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46819 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46822 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46825 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46828 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46829 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46831 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46834 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46837 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46840 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46843 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46846 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46849 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46852 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46855 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46858 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46861 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46864 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46867 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46870 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46873 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46876 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46879 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46882 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46885 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46888 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46891 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46894 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46897 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46900 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46903 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46906 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46909 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46912 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46915 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46918 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46921 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46924 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46927 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46928 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46930 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46931 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46933 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46934 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46936 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46937 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46939 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46940 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46942 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46945 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46948 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46951 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46954 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46957 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46960 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46963 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46966 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46969 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) ((wxSizer
*) x
));
46972 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46975 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46978 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46981 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46984 static void *_p_wxEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) ((wxEvent
*) x
));
46987 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46990 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46993 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46996 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46999 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47002 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47005 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47008 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47011 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47014 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47017 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47020 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47023 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47026 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47029 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47032 static void *_p_wxControlTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47035 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47038 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47041 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47044 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47047 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47050 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47053 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47056 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47059 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47062 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47065 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47068 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47071 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47074 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47077 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47080 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47083 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47086 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47089 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47092 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47095 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47098 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47101 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47104 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47107 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47110 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47113 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47114 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47116 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47119 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47120 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47122 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47123 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47125 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47126 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47128 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47129 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47131 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47132 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47134 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47135 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47137 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47140 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47141 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47143 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47146 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47149 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47150 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47152 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47155 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47158 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47159 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47161 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47162 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47164 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47165 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47167 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47168 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47170 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47173 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47176 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47177 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47179 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47182 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47185 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47186 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47188 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47189 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47191 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47194 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47197 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47200 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47203 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47206 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47209 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47212 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47213 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47215 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47216 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47218 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47221 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47224 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47227 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47230 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47231 return (void *)((wxObject
*) ((wxListItem
*) x
));
47233 static void *_p_wxImageTo_p_wxObject(void *x
) {
47234 return (void *)((wxObject
*) ((wxImage
*) x
));
47236 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47237 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47239 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47242 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47243 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47245 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47248 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47251 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47254 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47257 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47260 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47263 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47266 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47267 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47269 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47270 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47272 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47273 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47275 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47278 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47281 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47282 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47284 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47287 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47288 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47290 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47293 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47294 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47296 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47297 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47299 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47300 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47302 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47305 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47308 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47311 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47312 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47314 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47317 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47318 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47320 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47321 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47323 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47326 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47329 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47332 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47335 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47338 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47341 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47344 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47347 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47348 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47350 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47353 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47356 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47357 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47359 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47360 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47362 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47363 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47365 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47366 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47368 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47369 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47371 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47372 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47374 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47375 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47377 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47378 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47380 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47381 return (void *)((wxWindow
*) ((wxControl
*) x
));
47383 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47384 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47386 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47387 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47389 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47390 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47392 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47393 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47395 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47396 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47398 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47399 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47401 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47402 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47404 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47405 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47407 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47408 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47410 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47411 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47413 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47414 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47416 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47417 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47419 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47420 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47422 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47423 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47425 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47426 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47428 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47429 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47431 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47432 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47434 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47435 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47437 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47438 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47440 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47441 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47443 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47444 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47446 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47447 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47449 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47450 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47452 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47453 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47455 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47456 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47458 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47459 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47461 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47462 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47464 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47465 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47467 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47468 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47470 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47471 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47473 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47474 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47476 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47477 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47479 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47480 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47482 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47483 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47485 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47486 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47488 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47489 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47491 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47492 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47494 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47495 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47497 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47498 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47500 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47501 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47503 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47504 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47506 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47507 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47509 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47510 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47512 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47513 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47515 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47516 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47518 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47519 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47521 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47522 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47524 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47525 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47527 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47528 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47530 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47531 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47533 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47534 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47536 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47537 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47539 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47540 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47542 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47543 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47545 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47546 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47548 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47549 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47551 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47552 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47554 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47555 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47557 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47558 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47560 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47561 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47563 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47564 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47566 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47567 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47569 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47570 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47572 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47573 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47575 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47576 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47578 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47579 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47581 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47582 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47584 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47585 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47587 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47588 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47590 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47591 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47593 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47594 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47596 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47597 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47599 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47600 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47601 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};
47602 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47603 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47604 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47605 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47606 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47607 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47608 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47609 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47610 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47611 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47612 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47613 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47614 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47615 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47616 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47617 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47618 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47619 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47620 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47621 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47622 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47623 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47624 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47625 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47626 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47627 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47628 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47629 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47630 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47631 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47632 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47633 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47634 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47635 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47636 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47637 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47638 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47639 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47640 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47641 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47642 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47643 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47644 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47645 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47646 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47647 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47648 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47649 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47650 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47651 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47652 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47653 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47654 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47655 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47656 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47657 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47658 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47659 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47660 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47661 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47662 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47663 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47664 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47665 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47666 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47667 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47668 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47669 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47670 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47671 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47672 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47673 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47674 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47675 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47676 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47677 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47678 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47679 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47680 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47681 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47682 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47683 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47684 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47685 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47686 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47687 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47688 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47689 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47690 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47692 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47693 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47694 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47695 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47702 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47703 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47704 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47705 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47706 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47707 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47708 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47709 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47710 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47711 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47712 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47713 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47714 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47715 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47716 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47717 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47718 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47719 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47720 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47721 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47722 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47723 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47724 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47725 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47726 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47727 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47728 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47729 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47730 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47731 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47732 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47733 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47734 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47735 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47736 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47737 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47738 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47739 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47740 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47741 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47742 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47743 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47744 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47745 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47746 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47747 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47748 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47749 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47750 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47751 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47752 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47753 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47754 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47755 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47756 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47757 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47758 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47759 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47760 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47761 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47762 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47763 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47764 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47765 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47766 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47767 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47768 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47769 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47770 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47771 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47772 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47773 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47775 static swig_type_info
*swig_type_initial
[] = {
47778 &_swigt__p_form_ops_t
,
47781 &_swigt__p_unsigned_char
,
47782 &_swigt__p_unsigned_int
,
47783 &_swigt__p_unsigned_long
,
47785 &_swigt__p_wxANIHandler
,
47786 &_swigt__p_wxAcceleratorTable
,
47787 &_swigt__p_wxActivateEvent
,
47788 &_swigt__p_wxArrayInt
,
47789 &_swigt__p_wxArrayString
,
47790 &_swigt__p_wxBMPHandler
,
47791 &_swigt__p_wxBitmap
,
47792 &_swigt__p_wxBitmapButton
,
47793 &_swigt__p_wxBookCtrlBase
,
47794 &_swigt__p_wxBookCtrlBaseEvent
,
47795 &_swigt__p_wxBoxSizer
,
47796 &_swigt__p_wxButton
,
47797 &_swigt__p_wxCURHandler
,
47798 &_swigt__p_wxCheckBox
,
47799 &_swigt__p_wxCheckListBox
,
47800 &_swigt__p_wxChildFocusEvent
,
47801 &_swigt__p_wxChoice
,
47802 &_swigt__p_wxChoicebook
,
47803 &_swigt__p_wxChoicebookEvent
,
47804 &_swigt__p_wxClipboardTextEvent
,
47805 &_swigt__p_wxCloseEvent
,
47806 &_swigt__p_wxColour
,
47807 &_swigt__p_wxColourPickerCtrl
,
47808 &_swigt__p_wxColourPickerEvent
,
47809 &_swigt__p_wxComboBox
,
47810 &_swigt__p_wxCommandEvent
,
47811 &_swigt__p_wxContextHelp
,
47812 &_swigt__p_wxContextHelpButton
,
47813 &_swigt__p_wxContextMenuEvent
,
47814 &_swigt__p_wxControl
,
47815 &_swigt__p_wxControlWithItems
,
47816 &_swigt__p_wxCursor
,
47818 &_swigt__p_wxDateEvent
,
47819 &_swigt__p_wxDatePickerCtrl
,
47820 &_swigt__p_wxDateTime
,
47821 &_swigt__p_wxDirFilterListCtrl
,
47822 &_swigt__p_wxDirPickerCtrl
,
47823 &_swigt__p_wxDisplayChangedEvent
,
47824 &_swigt__p_wxDropFilesEvent
,
47825 &_swigt__p_wxDuplexMode
,
47826 &_swigt__p_wxEraseEvent
,
47827 &_swigt__p_wxEvent
,
47828 &_swigt__p_wxEvtHandler
,
47829 &_swigt__p_wxFSFile
,
47830 &_swigt__p_wxFileDirPickerEvent
,
47831 &_swigt__p_wxFilePickerCtrl
,
47832 &_swigt__p_wxFileSystem
,
47833 &_swigt__p_wxFlexGridSizer
,
47834 &_swigt__p_wxFocusEvent
,
47836 &_swigt__p_wxFontPickerCtrl
,
47837 &_swigt__p_wxFontPickerEvent
,
47838 &_swigt__p_wxGBSizerItem
,
47839 &_swigt__p_wxGIFHandler
,
47840 &_swigt__p_wxGauge
,
47841 &_swigt__p_wxGenericDirCtrl
,
47842 &_swigt__p_wxGenericDragImage
,
47843 &_swigt__p_wxGridBagSizer
,
47844 &_swigt__p_wxGridSizer
,
47845 &_swigt__p_wxHelpEvent
,
47846 &_swigt__p_wxHelpProvider
,
47847 &_swigt__p_wxHyperlinkCtrl
,
47848 &_swigt__p_wxHyperlinkEvent
,
47849 &_swigt__p_wxICOHandler
,
47851 &_swigt__p_wxIconizeEvent
,
47852 &_swigt__p_wxIdleEvent
,
47853 &_swigt__p_wxImage
,
47854 &_swigt__p_wxImageHandler
,
47855 &_swigt__p_wxImageList
,
47856 &_swigt__p_wxIndividualLayoutConstraint
,
47857 &_swigt__p_wxInitDialogEvent
,
47858 &_swigt__p_wxItemContainer
,
47859 &_swigt__p_wxJPEGHandler
,
47860 &_swigt__p_wxKeyEvent
,
47861 &_swigt__p_wxLayoutConstraints
,
47862 &_swigt__p_wxListBox
,
47863 &_swigt__p_wxListEvent
,
47864 &_swigt__p_wxListItem
,
47865 &_swigt__p_wxListItemAttr
,
47866 &_swigt__p_wxListView
,
47867 &_swigt__p_wxListbook
,
47868 &_swigt__p_wxListbookEvent
,
47869 &_swigt__p_wxMaximizeEvent
,
47870 &_swigt__p_wxMemoryDC
,
47872 &_swigt__p_wxMenuBar
,
47873 &_swigt__p_wxMenuEvent
,
47874 &_swigt__p_wxMenuItem
,
47875 &_swigt__p_wxMouseCaptureChangedEvent
,
47876 &_swigt__p_wxMouseCaptureLostEvent
,
47877 &_swigt__p_wxMouseEvent
,
47878 &_swigt__p_wxMoveEvent
,
47879 &_swigt__p_wxNavigationKeyEvent
,
47880 &_swigt__p_wxNcPaintEvent
,
47881 &_swigt__p_wxNotebook
,
47882 &_swigt__p_wxNotebookEvent
,
47883 &_swigt__p_wxNotifyEvent
,
47884 &_swigt__p_wxObject
,
47885 &_swigt__p_wxPCXHandler
,
47886 &_swigt__p_wxPNGHandler
,
47887 &_swigt__p_wxPNMHandler
,
47888 &_swigt__p_wxPaintEvent
,
47889 &_swigt__p_wxPaletteChangedEvent
,
47890 &_swigt__p_wxPaperSize
,
47891 &_swigt__p_wxPickerBase
,
47892 &_swigt__p_wxPoint
,
47893 &_swigt__p_wxPyApp
,
47894 &_swigt__p_wxPyCommandEvent
,
47895 &_swigt__p_wxPyControl
,
47896 &_swigt__p_wxPyEvent
,
47897 &_swigt__p_wxPyImageHandler
,
47898 &_swigt__p_wxPyListCtrl
,
47899 &_swigt__p_wxPySizer
,
47900 &_swigt__p_wxPyTreeCtrl
,
47901 &_swigt__p_wxPyTreeItemData
,
47902 &_swigt__p_wxPyValidator
,
47903 &_swigt__p_wxQueryNewPaletteEvent
,
47904 &_swigt__p_wxRadioBox
,
47905 &_swigt__p_wxRadioButton
,
47907 &_swigt__p_wxScrollBar
,
47908 &_swigt__p_wxScrollEvent
,
47909 &_swigt__p_wxScrollWinEvent
,
47910 &_swigt__p_wxSetCursorEvent
,
47911 &_swigt__p_wxShowEvent
,
47912 &_swigt__p_wxSimpleHelpProvider
,
47914 &_swigt__p_wxSizeEvent
,
47915 &_swigt__p_wxSizer
,
47916 &_swigt__p_wxSizerItem
,
47917 &_swigt__p_wxSlider
,
47918 &_swigt__p_wxSpinButton
,
47919 &_swigt__p_wxSpinCtrl
,
47920 &_swigt__p_wxSpinEvent
,
47921 &_swigt__p_wxStaticBitmap
,
47922 &_swigt__p_wxStaticBox
,
47923 &_swigt__p_wxStaticBoxSizer
,
47924 &_swigt__p_wxStaticLine
,
47925 &_swigt__p_wxStaticText
,
47926 &_swigt__p_wxStdDialogButtonSizer
,
47927 &_swigt__p_wxString
,
47928 &_swigt__p_wxSysColourChangedEvent
,
47929 &_swigt__p_wxTIFFHandler
,
47930 &_swigt__p_wxTextAttr
,
47931 &_swigt__p_wxTextCtrl
,
47932 &_swigt__p_wxTextUrlEvent
,
47933 &_swigt__p_wxToggleButton
,
47934 &_swigt__p_wxToolBar
,
47935 &_swigt__p_wxToolBarBase
,
47936 &_swigt__p_wxToolBarToolBase
,
47937 &_swigt__p_wxToolbook
,
47938 &_swigt__p_wxToolbookEvent
,
47939 &_swigt__p_wxTreeEvent
,
47940 &_swigt__p_wxTreeItemId
,
47941 &_swigt__p_wxTreebook
,
47942 &_swigt__p_wxTreebookEvent
,
47943 &_swigt__p_wxUpdateUIEvent
,
47944 &_swigt__p_wxValidator
,
47945 &_swigt__p_wxVisualAttributes
,
47946 &_swigt__p_wxWindow
,
47947 &_swigt__p_wxWindowBase
,
47948 &_swigt__p_wxWindowCreateEvent
,
47949 &_swigt__p_wxWindowDestroyEvent
,
47950 &_swigt__p_wxXPMHandler
,
47953 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47954 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47955 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47956 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47957 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47958 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47959 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47960 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47961 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47962 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47963 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47964 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47965 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}};
47966 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}};
47967 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}};
47968 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}};
47969 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47970 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47971 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}};
47972 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47973 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47974 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47975 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47976 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47977 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47978 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47979 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47980 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47981 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47982 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47983 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47984 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47985 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47986 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47987 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_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}};
47988 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47989 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47990 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47991 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}};
47992 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47993 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47994 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47995 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47996 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47997 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47998 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47999 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48000 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48001 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48002 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48003 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48004 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48005 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48006 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48007 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48008 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48009 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48010 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48011 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48012 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48013 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48014 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48015 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48016 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48017 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48018 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48019 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48020 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48021 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48022 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48023 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48024 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_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}};
48025 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48026 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48027 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48028 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48029 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
48030 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48035 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48036 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48038 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48039 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}};
48040 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48041 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48042 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48043 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48044 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}};
48045 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48046 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}};
48047 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48056 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48057 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}};
48058 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48064 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48067 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48069 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48072 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48073 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48075 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48076 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48077 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48079 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48084 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48085 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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_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_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48089 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48090 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}};
48091 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48093 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}};
48094 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48095 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48096 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48099 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48100 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48101 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48102 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48103 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48104 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48105 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48106 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48107 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48108 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48109 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48110 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48111 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48112 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48113 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48114 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48115 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48116 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}};
48117 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48118 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48119 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48120 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48121 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48122 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48123 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48124 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}};
48125 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48126 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48127 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48129 static swig_cast_info
*swig_cast_initial
[] = {
48132 _swigc__p_form_ops_t
,
48135 _swigc__p_unsigned_char
,
48136 _swigc__p_unsigned_int
,
48137 _swigc__p_unsigned_long
,
48139 _swigc__p_wxANIHandler
,
48140 _swigc__p_wxAcceleratorTable
,
48141 _swigc__p_wxActivateEvent
,
48142 _swigc__p_wxArrayInt
,
48143 _swigc__p_wxArrayString
,
48144 _swigc__p_wxBMPHandler
,
48145 _swigc__p_wxBitmap
,
48146 _swigc__p_wxBitmapButton
,
48147 _swigc__p_wxBookCtrlBase
,
48148 _swigc__p_wxBookCtrlBaseEvent
,
48149 _swigc__p_wxBoxSizer
,
48150 _swigc__p_wxButton
,
48151 _swigc__p_wxCURHandler
,
48152 _swigc__p_wxCheckBox
,
48153 _swigc__p_wxCheckListBox
,
48154 _swigc__p_wxChildFocusEvent
,
48155 _swigc__p_wxChoice
,
48156 _swigc__p_wxChoicebook
,
48157 _swigc__p_wxChoicebookEvent
,
48158 _swigc__p_wxClipboardTextEvent
,
48159 _swigc__p_wxCloseEvent
,
48160 _swigc__p_wxColour
,
48161 _swigc__p_wxColourPickerCtrl
,
48162 _swigc__p_wxColourPickerEvent
,
48163 _swigc__p_wxComboBox
,
48164 _swigc__p_wxCommandEvent
,
48165 _swigc__p_wxContextHelp
,
48166 _swigc__p_wxContextHelpButton
,
48167 _swigc__p_wxContextMenuEvent
,
48168 _swigc__p_wxControl
,
48169 _swigc__p_wxControlWithItems
,
48170 _swigc__p_wxCursor
,
48172 _swigc__p_wxDateEvent
,
48173 _swigc__p_wxDatePickerCtrl
,
48174 _swigc__p_wxDateTime
,
48175 _swigc__p_wxDirFilterListCtrl
,
48176 _swigc__p_wxDirPickerCtrl
,
48177 _swigc__p_wxDisplayChangedEvent
,
48178 _swigc__p_wxDropFilesEvent
,
48179 _swigc__p_wxDuplexMode
,
48180 _swigc__p_wxEraseEvent
,
48182 _swigc__p_wxEvtHandler
,
48183 _swigc__p_wxFSFile
,
48184 _swigc__p_wxFileDirPickerEvent
,
48185 _swigc__p_wxFilePickerCtrl
,
48186 _swigc__p_wxFileSystem
,
48187 _swigc__p_wxFlexGridSizer
,
48188 _swigc__p_wxFocusEvent
,
48190 _swigc__p_wxFontPickerCtrl
,
48191 _swigc__p_wxFontPickerEvent
,
48192 _swigc__p_wxGBSizerItem
,
48193 _swigc__p_wxGIFHandler
,
48195 _swigc__p_wxGenericDirCtrl
,
48196 _swigc__p_wxGenericDragImage
,
48197 _swigc__p_wxGridBagSizer
,
48198 _swigc__p_wxGridSizer
,
48199 _swigc__p_wxHelpEvent
,
48200 _swigc__p_wxHelpProvider
,
48201 _swigc__p_wxHyperlinkCtrl
,
48202 _swigc__p_wxHyperlinkEvent
,
48203 _swigc__p_wxICOHandler
,
48205 _swigc__p_wxIconizeEvent
,
48206 _swigc__p_wxIdleEvent
,
48208 _swigc__p_wxImageHandler
,
48209 _swigc__p_wxImageList
,
48210 _swigc__p_wxIndividualLayoutConstraint
,
48211 _swigc__p_wxInitDialogEvent
,
48212 _swigc__p_wxItemContainer
,
48213 _swigc__p_wxJPEGHandler
,
48214 _swigc__p_wxKeyEvent
,
48215 _swigc__p_wxLayoutConstraints
,
48216 _swigc__p_wxListBox
,
48217 _swigc__p_wxListEvent
,
48218 _swigc__p_wxListItem
,
48219 _swigc__p_wxListItemAttr
,
48220 _swigc__p_wxListView
,
48221 _swigc__p_wxListbook
,
48222 _swigc__p_wxListbookEvent
,
48223 _swigc__p_wxMaximizeEvent
,
48224 _swigc__p_wxMemoryDC
,
48226 _swigc__p_wxMenuBar
,
48227 _swigc__p_wxMenuEvent
,
48228 _swigc__p_wxMenuItem
,
48229 _swigc__p_wxMouseCaptureChangedEvent
,
48230 _swigc__p_wxMouseCaptureLostEvent
,
48231 _swigc__p_wxMouseEvent
,
48232 _swigc__p_wxMoveEvent
,
48233 _swigc__p_wxNavigationKeyEvent
,
48234 _swigc__p_wxNcPaintEvent
,
48235 _swigc__p_wxNotebook
,
48236 _swigc__p_wxNotebookEvent
,
48237 _swigc__p_wxNotifyEvent
,
48238 _swigc__p_wxObject
,
48239 _swigc__p_wxPCXHandler
,
48240 _swigc__p_wxPNGHandler
,
48241 _swigc__p_wxPNMHandler
,
48242 _swigc__p_wxPaintEvent
,
48243 _swigc__p_wxPaletteChangedEvent
,
48244 _swigc__p_wxPaperSize
,
48245 _swigc__p_wxPickerBase
,
48248 _swigc__p_wxPyCommandEvent
,
48249 _swigc__p_wxPyControl
,
48250 _swigc__p_wxPyEvent
,
48251 _swigc__p_wxPyImageHandler
,
48252 _swigc__p_wxPyListCtrl
,
48253 _swigc__p_wxPySizer
,
48254 _swigc__p_wxPyTreeCtrl
,
48255 _swigc__p_wxPyTreeItemData
,
48256 _swigc__p_wxPyValidator
,
48257 _swigc__p_wxQueryNewPaletteEvent
,
48258 _swigc__p_wxRadioBox
,
48259 _swigc__p_wxRadioButton
,
48261 _swigc__p_wxScrollBar
,
48262 _swigc__p_wxScrollEvent
,
48263 _swigc__p_wxScrollWinEvent
,
48264 _swigc__p_wxSetCursorEvent
,
48265 _swigc__p_wxShowEvent
,
48266 _swigc__p_wxSimpleHelpProvider
,
48268 _swigc__p_wxSizeEvent
,
48270 _swigc__p_wxSizerItem
,
48271 _swigc__p_wxSlider
,
48272 _swigc__p_wxSpinButton
,
48273 _swigc__p_wxSpinCtrl
,
48274 _swigc__p_wxSpinEvent
,
48275 _swigc__p_wxStaticBitmap
,
48276 _swigc__p_wxStaticBox
,
48277 _swigc__p_wxStaticBoxSizer
,
48278 _swigc__p_wxStaticLine
,
48279 _swigc__p_wxStaticText
,
48280 _swigc__p_wxStdDialogButtonSizer
,
48281 _swigc__p_wxString
,
48282 _swigc__p_wxSysColourChangedEvent
,
48283 _swigc__p_wxTIFFHandler
,
48284 _swigc__p_wxTextAttr
,
48285 _swigc__p_wxTextCtrl
,
48286 _swigc__p_wxTextUrlEvent
,
48287 _swigc__p_wxToggleButton
,
48288 _swigc__p_wxToolBar
,
48289 _swigc__p_wxToolBarBase
,
48290 _swigc__p_wxToolBarToolBase
,
48291 _swigc__p_wxToolbook
,
48292 _swigc__p_wxToolbookEvent
,
48293 _swigc__p_wxTreeEvent
,
48294 _swigc__p_wxTreeItemId
,
48295 _swigc__p_wxTreebook
,
48296 _swigc__p_wxTreebookEvent
,
48297 _swigc__p_wxUpdateUIEvent
,
48298 _swigc__p_wxValidator
,
48299 _swigc__p_wxVisualAttributes
,
48300 _swigc__p_wxWindow
,
48301 _swigc__p_wxWindowBase
,
48302 _swigc__p_wxWindowCreateEvent
,
48303 _swigc__p_wxWindowDestroyEvent
,
48304 _swigc__p_wxXPMHandler
,
48308 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48310 static swig_const_info swig_const_table
[] = {
48311 {0, 0, 0, 0.0, 0, 0}};
48316 /* -----------------------------------------------------------------------------
48317 * Type initialization:
48318 * This problem is tough by the requirement that no dynamic
48319 * memory is used. Also, since swig_type_info structures store pointers to
48320 * swig_cast_info structures and swig_cast_info structures store pointers back
48321 * to swig_type_info structures, we need some lookup code at initialization.
48322 * The idea is that swig generates all the structures that are needed.
48323 * The runtime then collects these partially filled structures.
48324 * The SWIG_InitializeModule function takes these initial arrays out of
48325 * swig_module, and does all the lookup, filling in the swig_module.types
48326 * array with the correct data and linking the correct swig_cast_info
48327 * structures together.
48329 * The generated swig_type_info structures are assigned staticly to an initial
48330 * array. We just loop though that array, and handle each type individually.
48331 * First we lookup if this type has been already loaded, and if so, use the
48332 * loaded structure instead of the generated one. Then we have to fill in the
48333 * cast linked list. The cast data is initially stored in something like a
48334 * two-dimensional array. Each row corresponds to a type (there are the same
48335 * number of rows as there are in the swig_type_initial array). Each entry in
48336 * a column is one of the swig_cast_info structures for that type.
48337 * The cast_initial array is actually an array of arrays, because each row has
48338 * a variable number of columns. So to actually build the cast linked list,
48339 * we find the array of casts associated with the type, and loop through it
48340 * adding the casts to the list. The one last trick we need to do is making
48341 * sure the type pointer in the swig_cast_info struct is correct.
48343 * First off, we lookup the cast->type name to see if it is already loaded.
48344 * There are three cases to handle:
48345 * 1) If the cast->type has already been loaded AND the type we are adding
48346 * casting info to has not been loaded (it is in this module), THEN we
48347 * replace the cast->type pointer with the type pointer that has already
48349 * 2) If BOTH types (the one we are adding casting info to, and the
48350 * cast->type) are loaded, THEN the cast info has already been loaded by
48351 * the previous module so we just ignore it.
48352 * 3) Finally, if cast->type has not already been loaded, then we add that
48353 * swig_cast_info to the linked list (because the cast->type) pointer will
48355 * ----------------------------------------------------------------------------- */
48365 #define SWIGRUNTIME_DEBUG
48369 SWIG_InitializeModule(void *clientdata
) {
48371 swig_module_info
*module_head
;
48372 static int init_run
= 0;
48374 clientdata
= clientdata
;
48376 if (init_run
) return;
48379 /* Initialize the swig_module */
48380 swig_module
.type_initial
= swig_type_initial
;
48381 swig_module
.cast_initial
= swig_cast_initial
;
48383 /* Try and load any already created modules */
48384 module_head
= SWIG_GetModule(clientdata
);
48386 swig_module
.next
= module_head
->next
;
48387 module_head
->next
= &swig_module
;
48389 /* This is the first module loaded */
48390 swig_module
.next
= &swig_module
;
48391 SWIG_SetModule(clientdata
, &swig_module
);
48394 /* Now work on filling in swig_module.types */
48395 #ifdef SWIGRUNTIME_DEBUG
48396 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48398 for (i
= 0; i
< swig_module
.size
; ++i
) {
48399 swig_type_info
*type
= 0;
48400 swig_type_info
*ret
;
48401 swig_cast_info
*cast
;
48403 #ifdef SWIGRUNTIME_DEBUG
48404 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48407 /* if there is another module already loaded */
48408 if (swig_module
.next
!= &swig_module
) {
48409 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48412 /* Overwrite clientdata field */
48413 #ifdef SWIGRUNTIME_DEBUG
48414 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48416 if (swig_module
.type_initial
[i
]->clientdata
) {
48417 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48418 #ifdef SWIGRUNTIME_DEBUG
48419 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48423 type
= swig_module
.type_initial
[i
];
48426 /* Insert casting types */
48427 cast
= swig_module
.cast_initial
[i
];
48428 while (cast
->type
) {
48429 /* Don't need to add information already in the list */
48431 #ifdef SWIGRUNTIME_DEBUG
48432 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48434 if (swig_module
.next
!= &swig_module
) {
48435 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48436 #ifdef SWIGRUNTIME_DEBUG
48437 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48441 if (type
== swig_module
.type_initial
[i
]) {
48442 #ifdef SWIGRUNTIME_DEBUG
48443 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48448 /* Check for casting already in the list */
48449 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48450 #ifdef SWIGRUNTIME_DEBUG
48451 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48453 if (!ocast
) ret
= 0;
48458 #ifdef SWIGRUNTIME_DEBUG
48459 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48462 type
->cast
->prev
= cast
;
48463 cast
->next
= type
->cast
;
48469 /* Set entry in modules->types array equal to the type */
48470 swig_module
.types
[i
] = type
;
48472 swig_module
.types
[i
] = 0;
48474 #ifdef SWIGRUNTIME_DEBUG
48475 printf("**** SWIG_InitializeModule: Cast List ******\n");
48476 for (i
= 0; i
< swig_module
.size
; ++i
) {
48478 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48479 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48480 while (cast
->type
) {
48481 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48485 printf("---- Total casts: %d\n",j
);
48487 printf("**** SWIG_InitializeModule: Cast List ******\n");
48491 /* This function will propagate the clientdata field of type to
48492 * any new swig_type_info structures that have been added into the list
48493 * of equivalent types. It is like calling
48494 * SWIG_TypeClientData(type, clientdata) a second time.
48497 SWIG_PropagateClientData(void) {
48499 swig_cast_info
*equiv
;
48500 static int init_run
= 0;
48502 if (init_run
) return;
48505 for (i
= 0; i
< swig_module
.size
; i
++) {
48506 if (swig_module
.types
[i
]->clientdata
) {
48507 equiv
= swig_module
.types
[i
]->cast
;
48509 if (!equiv
->converter
) {
48510 if (equiv
->type
&& !equiv
->type
->clientdata
)
48511 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48513 equiv
= equiv
->next
;
48533 /* Python-specific SWIG API */
48534 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48535 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48536 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48538 /* -----------------------------------------------------------------------------
48539 * global variable support code.
48540 * ----------------------------------------------------------------------------- */
48542 typedef struct swig_globalvar
{
48543 char *name
; /* Name of global variable */
48544 PyObject
*(*get_attr
)(void); /* Return the current value */
48545 int (*set_attr
)(PyObject
*); /* Set the value */
48546 struct swig_globalvar
*next
;
48549 typedef struct swig_varlinkobject
{
48551 swig_globalvar
*vars
;
48552 } swig_varlinkobject
;
48554 SWIGINTERN PyObject
*
48555 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48556 return PyString_FromString("<Swig global variables>");
48559 SWIGINTERN PyObject
*
48560 swig_varlink_str(swig_varlinkobject
*v
) {
48561 PyObject
*str
= PyString_FromString("(");
48562 swig_globalvar
*var
;
48563 for (var
= v
->vars
; var
; var
=var
->next
) {
48564 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48565 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48567 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48572 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48573 PyObject
*str
= swig_varlink_str(v
);
48574 fprintf(fp
,"Swig global variables ");
48575 fprintf(fp
,"%s\n", PyString_AsString(str
));
48581 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48582 swig_globalvar
*var
= v
->vars
;
48584 swig_globalvar
*n
= var
->next
;
48591 SWIGINTERN PyObject
*
48592 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48593 PyObject
*res
= NULL
;
48594 swig_globalvar
*var
= v
->vars
;
48596 if (strcmp(var
->name
,n
) == 0) {
48597 res
= (*var
->get_attr
)();
48602 if (res
== NULL
&& !PyErr_Occurred()) {
48603 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48609 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48611 swig_globalvar
*var
= v
->vars
;
48613 if (strcmp(var
->name
,n
) == 0) {
48614 res
= (*var
->set_attr
)(p
);
48619 if (res
== 1 && !PyErr_Occurred()) {
48620 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48625 SWIGINTERN PyTypeObject
*
48626 swig_varlink_type(void) {
48627 static char varlink__doc__
[] = "Swig var link object";
48628 static PyTypeObject varlink_type
;
48629 static int type_init
= 0;
48631 const PyTypeObject tmp
48633 PyObject_HEAD_INIT(NULL
)
48634 0, /* Number of items in variable part (ob_size) */
48635 (char *)"swigvarlink", /* Type name (tp_name) */
48636 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48637 0, /* Itemsize (tp_itemsize) */
48638 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48639 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48640 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48641 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48642 0, /* tp_compare */
48643 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48644 0, /* tp_as_number */
48645 0, /* tp_as_sequence */
48646 0, /* tp_as_mapping */
48649 (reprfunc
)swig_varlink_str
, /* tp_str */
48650 0, /* tp_getattro */
48651 0, /* tp_setattro */
48652 0, /* tp_as_buffer */
48654 varlink__doc__
, /* tp_doc */
48655 0, /* tp_traverse */
48657 0, /* tp_richcompare */
48658 0, /* tp_weaklistoffset */
48659 #if PY_VERSION_HEX >= 0x02020000
48660 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48662 #if PY_VERSION_HEX >= 0x02030000
48665 #ifdef COUNT_ALLOCS
48666 0,0,0,0 /* tp_alloc -> tp_next */
48669 varlink_type
= tmp
;
48670 varlink_type
.ob_type
= &PyType_Type
;
48673 return &varlink_type
;
48676 /* Create a variable linking object for use later */
48677 SWIGINTERN PyObject
*
48678 SWIG_Python_newvarlink(void) {
48679 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48683 return ((PyObject
*) result
);
48687 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48688 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48689 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48691 size_t size
= strlen(name
)+1;
48692 gv
->name
= (char *)malloc(size
);
48694 strncpy(gv
->name
,name
,size
);
48695 gv
->get_attr
= get_attr
;
48696 gv
->set_attr
= set_attr
;
48697 gv
->next
= v
->vars
;
48703 SWIGINTERN PyObject
*
48705 static PyObject
*_SWIG_globals
= 0;
48706 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48707 return _SWIG_globals
;
48710 /* -----------------------------------------------------------------------------
48711 * constants/methods manipulation
48712 * ----------------------------------------------------------------------------- */
48714 /* Install Constants */
48716 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48719 for (i
= 0; constants
[i
].type
; ++i
) {
48720 switch(constants
[i
].type
) {
48721 case SWIG_PY_POINTER
:
48722 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48724 case SWIG_PY_BINARY
:
48725 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48732 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48738 /* -----------------------------------------------------------------------------*/
48739 /* Fix SwigMethods to carry the callback ptrs when needed */
48740 /* -----------------------------------------------------------------------------*/
48743 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48744 swig_const_info
*const_table
,
48745 swig_type_info
**types
,
48746 swig_type_info
**types_initial
) {
48748 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48749 const char *c
= methods
[i
].ml_doc
;
48750 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48752 swig_const_info
*ci
= 0;
48753 const char *name
= c
+ 10;
48754 for (j
= 0; const_table
[j
].type
; ++j
) {
48755 if (strncmp(const_table
[j
].name
, name
,
48756 strlen(const_table
[j
].name
)) == 0) {
48757 ci
= &(const_table
[j
]);
48762 size_t shift
= (ci
->ptype
) - types
;
48763 swig_type_info
*ty
= types_initial
[shift
];
48764 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48765 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48766 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48769 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48771 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48773 strncpy(buff
, "swig_ptr: ", 10);
48775 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48776 methods
[i
].ml_doc
= ndoc
;
48788 /* -----------------------------------------------------------------------------*
48789 * Partial Init method
48790 * -----------------------------------------------------------------------------*/
48795 SWIGEXPORT
void SWIG_init(void) {
48798 /* Fix SwigMethods to carry the callback ptrs when needed */
48799 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48801 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48802 d
= PyModule_GetDict(m
);
48804 SWIG_InitializeModule(0);
48805 SWIG_InstallConstants(d
,swig_const_table
);
48808 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48809 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48810 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48811 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48812 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48813 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48814 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48815 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48816 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48817 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48818 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48819 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48820 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48821 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48822 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48823 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48824 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48825 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48826 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48827 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48828 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48829 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48830 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48831 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48832 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48833 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48834 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48835 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48836 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48837 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48838 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48839 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48840 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48841 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48842 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48843 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48844 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48845 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48846 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48847 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48848 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48849 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48850 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48851 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48852 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48853 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48854 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48855 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48856 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48857 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48858 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48859 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48860 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48861 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48862 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48863 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48864 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48865 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48866 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48867 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48868 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48869 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48870 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48871 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48872 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48873 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48874 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48875 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48876 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48877 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48878 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48879 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48880 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
48881 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48882 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48883 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48884 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48885 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48886 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48887 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48888 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48889 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48890 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48891 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48892 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48893 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48894 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48895 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48896 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48897 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48898 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48899 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48900 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48901 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48902 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48903 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48904 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48905 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48906 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48907 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48908 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48909 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48910 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48911 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48912 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48913 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48914 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48915 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48916 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48917 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48918 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48919 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48920 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48921 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48922 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48923 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48924 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48925 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48926 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48927 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48928 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48929 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48930 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48931 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48932 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48933 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48934 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48935 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48936 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48937 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48938 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48939 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48940 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48941 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48942 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48945 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48946 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48947 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48948 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48949 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48950 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48951 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48952 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48959 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48960 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48961 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48962 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48963 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48964 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48965 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48966 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48967 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48968 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48969 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48970 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48971 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48972 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48973 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48974 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
48975 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48976 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48977 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48978 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48979 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48980 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48981 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48982 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48983 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48984 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48985 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48986 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48987 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48988 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48989 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48990 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48991 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48992 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48993 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48994 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48995 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48996 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48997 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48998 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48999 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49000 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49001 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49002 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49003 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49004 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49005 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49006 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49007 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49008 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49009 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49010 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49011 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49012 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49013 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49014 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49015 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49016 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49017 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49018 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49019 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49020 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49021 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49022 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49023 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49024 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49025 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49026 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49027 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49028 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49029 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49030 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49031 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49032 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49033 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49034 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49035 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49036 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49037 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49038 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49039 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49040 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49041 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49042 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49043 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49044 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49051 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49052 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49053 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49054 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49055 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49056 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49057 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49062 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49063 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49064 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49066 // Map renamed classes back to their common name for OOR
49067 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49069 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49070 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49071 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49072 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49073 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49074 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49075 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49076 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49077 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49078 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49079 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49080 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49081 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49082 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49083 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49084 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49085 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49086 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49087 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49088 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49089 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49090 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49091 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49092 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49093 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49094 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49095 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49096 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49097 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49098 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49099 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49100 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49101 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49102 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49114 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49122 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49123 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49124 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49126 // Map renamed classes back to their common name for OOR
49127 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49128 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49130 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49131 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49132 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49133 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49134 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49135 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49136 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49137 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49138 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49139 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49140 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49142 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49144 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49145 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49146 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49147 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49148 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49149 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49150 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49151 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49152 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49153 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49154 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49155 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49156 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49157 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49158 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49159 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49160 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49161 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49162 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49163 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49164 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49165 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49166 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49167 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49168 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49169 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49170 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49171 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49172 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49173 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49174 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49175 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49176 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49177 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49178 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49179 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49180 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49181 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49182 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49183 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49184 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49185 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49186 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));